Forum
[PROBLEM] Video Stutter - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+--- Thread: [PROBLEM] Video Stutter (/thread-1430.html)

Pages: 1 2 3


Video Stutter - nertskull - 30th Sep, 2013 09:49 PM

So my video stutters on playback. Pretty sure its an audio issue after all the reading I've been doing on the forums.

I think its the dts issue I've seen documented elsewhere. Where if you have the pi try to handle the dts audio its too much for it.

Here's my question though. I tried raspbmc and playback worked fine. Dts audio played just fine. But on Xbian, it stutters. So I'm wondering if that seems normal to others. Everything else on Xbian is faster and smoother, but raspbmc handles playing my files better.

Any ideas on how to go forward troubleshooting this. To get my xbian to work as well in playback?

Software
XBian version: 1.0 Beta 1.1
XBMC version:Whatever comes default on the downloaded image
Overclock settings:"Xbian", but I've tried with High and Moderate with same results

Hardware
Power supply rating: 2.1A
RPi model (model A/B 256mb/512mb): Model B, 512mb
SD card size and make/type:8Gb, Class 10, generic
Network (wireless or LAN): LAN
Connected devices (TV, USB, network storage, etc.): TV, NAS drive, mounted at boot is where the videos are

Problem description:
As stated above. Playback is choppy/stutters/skips/whatever you want to call it when playing videos with DTS or TrueHD audio. But they play fine with raspbmc. So I think my hardware can handle it.

I've tried "adjust display refresh rate to match video" with it On and Off, no change.

I've tried Sync playback to display with Video clock and Audio clock, and nothing works.

I've tried different Overclock settings, with nothing that works.

If I manually edit the config to do the hdmi_edid = 1 issue. I get smooth playback, but no sound (currently only have TV with no dts support).

Thats how I'm pretty sure it is a audio playback issue. But like I said, it works find on raspbmc, so its got to be doable with my Pi. I really want to stick with xbian, but I don't know at this point.


Thanks everyone.


RE: Video Stutter - mk01 - 30th Sep, 2013 10:11 PM

(30th Sep, 2013 09:49 PM)nertskull Wrote:  So my video stutters on playback. Pretty sure its an audio issue after all the reading I've been doing on the forums.

I think its the dts issue I've seen documented elsewhere. Where if you have the pi try to handle the dts audio its too much for it.

Here's my question though. I tried raspbmc and playback worked fine. Dts audio played just fine. But on Xbian, it stutters.

what month's raspbmc release?

with b1.1, what xbian-package-xbmc version? for b1x there are four releases. 2.1 2.2 2.3 and 2.4.

in xbmc/rpi one week of development is like 1:10. go for nightly xbmc frodo or jump to beta2.

simply the code base is changing so fast (and specially) bugs / efficiency problems like those are created and fixed on daily basis. XBMC on RPI is so wide definition like to declare my car is faster than your. there is simply no specific information behind.

you can even be perfect by reporting 1st lines of xbmc.logs Wink


RE: Video Stutter - nertskull - 30th Sep, 2013 11:47 PM

(30th Sep, 2013 10:11 PM)mk01 Wrote:  what month's raspbmc release?

with b1.1, what xbian-package-xbmc version? for b1x there are four releases. 2.1 2.2 2.3 and 2.4.

in xbmc/rpi one week of development is like 1:10. go for nightly xbmc frodo or jump to beta2.

simply the code base is changing so fast (and specially) bugs / efficiency problems like those are created and fixed on daily basis. XBMC on RPI is so wide definition like to declare my car is faster than your. there is simply no specific information behind.

you can even be perfect by reporting 1st lines of xbmc.logs Wink

Well I'm at work now, so I can give more details tonight. But I know I downloaded Xbian on Fri night from the main download page. So I guess it would be from september.

But good to know it develops so quick, I will have to try again with those other builds you mentioned. See if that helps or not.


RE: Video Stutter - IriDium - 1st Oct, 2013 03:59 AM

It could be your NAS drive. SSh into your NAS and watch the wait state when you're playing DTS movies especially 1080p.

I can play a 1080p DTS via SMB on my PC - and the RPi is at around 80% CPU. If I play the same file on the NAS, it stutters or hangs for a bit. Checking top on the NAS shows it to be in a 90% wait state.

If your TV can handle AC3, you can convert the files with "Audio Converter" on Windoze from DTS to AC3


RE: Video Stutter - nertskull - 1st Oct, 2013 09:02 AM

So I tried switching to the nightly builds found here

https://github.com/xbianonpi/xbmc-nightly

Still no luck. Here is the top of logfile from after installing those.

Code:
18:57:27 T:3042078720  NOTICE: -----------------------------------------------------------------------
18:57:27 T:3042078720  NOTICE: Starting XBMC (12.2 Git:20130502-32b1a5e), Platform: Linux (7.1, 3.9.8+ armv6l). Built on May 14 2013
18:57:27 T:3042078720  NOTICE: special://xbmc/ is mapped to: /usr/local/share/xbmc
18:57:27 T:3042078720  NOTICE: special://xbmcbin/ is mapped to: /usr/local/lib/xbmc
18:57:27 T:3042078720  NOTICE: special://masterprofile/ is mapped to: /home/xbian/.xbmc/userdata
18:57:27 T:3042078720  NOTICE: special://home/ is mapped to: /home/xbian/.xbmc
18:57:27 T:3042078720  NOTICE: special://temp/ is mapped to: /home/xbian/.xbmc/temp
18:57:27 T:3042078720  NOTICE: The executable running is: /usr/local/lib/xbmc/xbmc.bin
18:57:27 T:3042078720  NOTICE: Local hostname: xbian
18:57:27 T:3042078720  NOTICE: Log File is located: /home/xbian/.xbmc/temp/xbmc.log

And here is the logfile after starting playback of a movie with DTS-HD (One I know works fine on raspbmc)

Code:
18:57:44 T:2904552512  NOTICE: -->Python Interpreter Initialized<--
18:58:51 T:2912941120  NOTICE: Thread Jobworker start, auto delete: true
18:58:56 T:2904552512  NOTICE: Previous line repeats 1 times.
18:58:56 T:2904552512  NOTICE: Thread Background Loader start, auto delete: false
18:59:00 T:2904552512  NOTICE: Thread Jobworker start, auto delete: true
18:59:13 T:3042078720  NOTICE: COMXPlayer: Opening: /media/Aspartic_Acid/media/video/Movies/ProcessedBD/The_Lord_Of_The_Rings_The_Fellowship_Of_The_Ring_2001_extended_Disc_1.mkv
18:59:13 T:3042078720 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:59:13 T:2941436992  NOTICE: Thread COMXPlayer start, auto delete: false
18:59:13 T:2941436992  NOTICE: Creating InputStream
18:59:13 T:2941436992  NOTICE: Creating Demuxer
18:59:21 T:2941436992  NOTICE: Opening video stream: 0 source: 256
18:59:21 T:2941436992  NOTICE: OMXClock using video as reference
18:59:21 T:2941436992  NOTICE: Creating video thread
18:59:21 T:2762994752  NOTICE: Thread COMXPlayerVideo start, auto delete: false
18:59:21 T:2941436992  NOTICE: Opening audio stream: 1 source: 256
18:59:21 T:2941436992  NOTICE: Creating audio thread
18:59:21 T:2752508992  NOTICE: Thread COMXPlayerAudio start, auto delete: false
18:59:21 T:2941436992  NOTICE: Opening Subtitle stream: 3 source: 256
18:59:22 T:2762994752   ERROR: Output - renderer not started
18:59:22 T:2752508992  NOTICE: OMXClock using audio as reference
18:59:22 T:2762994752   ERROR: Output - renderer not started
18:59:22 T:2762994752   ERROR: Previous line repeats 2 times.
18:59:22 T:2762994752  NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (16)
18:59:23 T:3042078720  NOTICE: Using GL_TEXTURE_2D
18:59:23 T:3042078720  NOTICE: GL: Using BYPASS render method
18:59:23 T:3042078720  NOTICE: GL: NPOT texture support detected
18:59:24 T:2762994752 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
18:59:56 T:2762994752 WARNING: Previous line repeats 1 times.
18:59:56 T:2762994752 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
19:00:00 T:2941436992 WARNING: Previous line repeats 1 times.
19:00:00 T:2941436992  NOTICE: COMXPlayer::OnExit()
19:00:00 T:2941436992  NOTICE: OMXPlayer: closing audio stream
19:00:00 T:2941436992  NOTICE: Closing audio stream
19:00:00 T:2752508992  NOTICE: thread end: OMXPlayerAudio::OnExit()
19:00:00 T:2762994752 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
19:00:00 T:2941436992  NOTICE: OMXClock using video as reference
19:00:00 T:2941436992  NOTICE: OMXPlayer: closing video stream
19:00:00 T:2941436992  NOTICE: Closing video stream
19:00:00 T:2762994752  NOTICE: thread end: video_thread
19:00:00 T:2941436992  NOTICE: OMXClock using video as reference
19:00:00 T:2941436992  NOTICE: OMXPlayer: closing subtitle stream
19:00:00 T:2941436992  NOTICE: Closing subtitle stream
19:00:00 T:2941436992  NOTICE: COMXPlayer::OnExit() deleting demuxer
19:00:00 T:2941436992  NOTICE: COMXPlayer::OnExit() deleting input stream
19:00:01 T:2941436992  NOTICE: Thread Background Loader start, auto delete: false
19:00:03 T:2762994752  NOTICE: Thread Jobworker start, auto delete: true
19:00:04 T:3042078720  NOTICE: OMXClock using video as reference
I can try the AC3 switch. I don't love having to do that for all my videos though. Especially since they ALL play in raspbmc. I may just switch to that and deal with the slightly slower menus.

Anything else to try other than re-encoding my videos?


RE: Video Stutter - mk01 - 1st Oct, 2013 09:13 AM

(1st Oct, 2013 09:02 AM)nertskull Wrote:  So I tried switching to the nightly builds found here

https://github.com/xbianonpi/xbmc-nightly

Still no luck. Here is the top of logfile from after installing those.

[code]18:57:27 T:3042078720 NOTICE: -----------------------------------------------------------------------
18:57:27 T:3042078720 NOTICE: Starting XBMC (12.2 Git:20130502-32b1a5e), Platform: Linux (7.1, 3.9.8+ armv6l). Built on May 14 2013

nertskull, this is still May-2nd. frodo-nighly should read something like Sep-09th.

or just upgrade to Beta2 without this manual back-forth hacking.


RE: Video Stutter - nertskull - 1st Oct, 2013 10:14 AM

(1st Oct, 2013 09:13 AM)mk01 Wrote:  nertskull, this is still May-2nd. frodo-nighly should read something like Sep-09th.

or just upgrade to Beta2 without this manual back-forth hacking.

So what am I missing? You are right, it didn't update. But I've followed the instructions on git-hub three times now and rebooted each time and I don't get the nightly builds updating.

So I guess I don't know how to do it.

Also, by Beta2 I assume you mean Beta1.2??

I tried to install the beta2 package. But I get the following error after updating my package sources.

Code:
The following packages have unmet dependencies:
xbian-package-config-shell : Depends: kpartx but it is not installable
                              Depends: apt-show-versions but it is not installable
xbian-package-initramfs-tools : Breaks: xbian-package-kernel (< 1.3-4.5) but 1.2-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I tried installing kpartx alone, but it wouldn't work.


RE: Video Stutter - mk01 - 1st Oct, 2013 10:24 AM

Hard to guess, but Beta2 is currently on the exact same git Frodo-nighlty (with no mods, just the way as you got it from there).

No for Beta1.2. Beta1.1 was just small rush hot fix to Beta1. Now it is time for Beta2 - properly grown and prepared.

There are still some fine ideas in development but seems to more for Beta3 then and if all will be fine it could be marked as RC or proper 1. But until then we have to make the ideas into real things and this will not happen overnight.

so you just followed this three steps there ?

http://forum.xbian.org/thread-1312-post-14837.html#pid14837

be sure you don't use any other source for xbian packages than the one IVKA57. my sources for beta2 looks like:

Code:
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb http://ivka57.dyndns-ip.com wheezy main



RE: Video Stutter - nertskull - 1st Oct, 2013 12:05 PM

Well that was a bust. I got the beta2 installed following the instructions you posted.

But the skipping/stuttering issue is still there. Plus the audio is much worse overall now. It sounds hollow/mechanic/robotic now on the DTS-HD videos.

The DTS videos sound ok, but still get the stuttering issues.

Other videos (non-DTS) still work though. So it didn't break everything.

Here is the top of the log
Code:
21:59:19 T:3041260160  NOTICE: -----------------------------------------------------------------------
21:59:19 T:3041260160  NOTICE: Starting XBMC (12.2 Git:20130912-68a881d), Platform: Linux (Debian GNU/Linux 7.1 (n/a), 3.10.12+ armv6l). Built on Sep 27 2013

Here is a log after starting playback of a video if it helps

Code:
22:01:49 T:3041260160 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:01:49 T:3041260160  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
22:01:51 T:2933912640  NOTICE: Thread COMXPlayer start, auto delete: false
22:01:53 T:2933912640  NOTICE: Creating InputStream
22:01:54 T:2933912640  NOTICE: Creating Demuxer
22:02:00 T:2933912640  NOTICE: Opening video stream: 0 source: 256
22:02:00 T:2933912640  NOTICE: Creating video thread
22:02:00 T:2743018560  NOTICE: Thread COMXPlayerVideo start, auto delete: false
22:02:00 T:2933912640   ERROR: SetPriority: error Permission denied
22:02:00 T:2933912640  NOTICE: Opening audio stream: 1 source: 256
22:02:00 T:2933912640  NOTICE: Creating audio thread
22:02:00 T:2734629952  NOTICE: Thread COMXPlayerAudio start, auto delete: false
22:02:00 T:2933912640   ERROR: SetPriority: error Permission denied
22:02:00 T:2933912640  NOTICE: Opening Subtitle stream: 3 source: 256
22:02:01 T:2743018560   ERROR: Output - renderer not started
22:02:01 T:2933912640  NOTICE: OMXClock using audio as reference
22:02:01 T:2743018560   ERROR: Output - renderer not started
22:02:01 T:2743018560   ERROR: Previous line repeats 2 times.
22:02:01 T:2743018560  NOTICE: Display resolution ADJUST : 1920x1080 @ 60.00 - Full Screen (16) (weight: 0.001)
22:02:01 T:2743018560  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
22:02:01 T:3041260160  NOTICE: Using GL_TEXTURE_2D
22:02:01 T:3041260160  NOTICE: GL: Using BYPASS render method
22:02:01 T:3041260160  NOTICE: GL: NPOT texture support detected
22:02:30 T:2933912640  NOTICE: Closing audio stream
22:02:30 T:2734629952  NOTICE: thread end: OMXPlayerAudio::OnExit()
22:02:30 T:2971673664   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.audio_mixer - OMX_ErrorPortUnpopulated port 0, cannot parse input stream
22:02:30 T:2933912640  NOTICE: Opening audio stream: 2 source: 256
22:02:30 T:2933912640  NOTICE: Creating audio thread
22:02:30 T:2734629952  NOTICE: Thread COMXPlayerAudio start, auto delete: false
22:02:30 T:2933912640   ERROR: SetPriority: error Permission denied
22:02:30 T:2933912640  NOTICE: FlushBuffers: q:0 pts:2530743000 a:1
22:02:51 T:3041260160  NOTICE: COMXPlayer::CloseFile
22:02:51 T:3041260160  NOTICE: COMXPlayer: waiting for threads to exit
22:02:51 T:2933912640  NOTICE: COMXPlayer::OnExit()
22:02:51 T:2933912640  NOTICE: OMXPlayer: closing audio stream
22:02:51 T:2933912640  NOTICE: Closing audio stream
22:02:51 T:2734629952  NOTICE: thread end: OMXPlayerAudio::OnExit()
22:02:51 T:2971673664   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.audio_mixer - OMX_ErrorPortUnpopulated port 0, cannot parse input stream
22:02:51 T:2933912640  NOTICE: OMXPlayer: closing video stream
22:02:51 T:2933912640  NOTICE: Closing video stream
22:02:51 T:2743018560  NOTICE: thread end: video_thread
22:02:51 T:2933912640  NOTICE: OMXPlayer: closing subtitle stream
22:02:51 T:2933912640  NOTICE: Closing subtitle stream
22:02:51 T:2933912640  NOTICE: COMXPlayer::OnExit() deleting demuxer
22:02:51 T:2933912640  NOTICE: COMXPlayer::OnExit() deleting input stream
22:02:51 T:3041260160  NOTICE: DVDPlayer: finished waiting
22:02:52 T:2933912640  NOTICE: Thread BackgroundLoader start, auto delete: false
22:02:54 T:2743018560  NOTICE: Thread Jobworker start, auto delete: true
22:02:54 T:2933912640  NOTICE: Previous line repeats 1 times.
22:02:54 T:2933912640  NOTICE: Thread BackgroundLoader start, auto delete: false
22:02:55 T:3041260160  NOTICE: COMXPlayer::CloseFile
22:02:55 T:3041260160 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:02:55 T:3041260160  NOTICE: COMXPlayer: waiting for threads to exit



RE: Video Stutter - mk01 - 1st Oct, 2013 10:16 PM

can you make a sample of such video ?
and we are speaking about playing them without passthrough, right ?

(just asking what setup to test)

and I just wanted to get info about the actual connection / source you are using but it seems this info has not been discussed.

so in general protocol and whether it is mounted on system level and XBMC is using "local access" through the mount, or XBMC using own libs to access smb/nfs… via own defined source.

I have just some DTS-ES, will test in hour or two but the bitrate would be max of 1580kbps for the sound so maybe make no sense.

I found in the log you sent earlier, it is USB hdd auto mounted under media, right ?

if you cant do sample, can you sent torrent file or magnet link ?

and please send

mount | grep /media/Aspartic_Acid

when disk is mounted

and also please do
Code:
sudo -i
cd /tmp
wget http://ivka57.dyndns-ip.com/rollback/xbian-package-xbmc_2.9-10.10_armhf.deb
dpkg -i xbian-package-xbmc_2.9-10.10_armhf.deb

maybe the distorted sound is because yesterdays new nightly with some Semptembers back ports.

the 2.9-10.10 is maybe 2 weeks older, with some bugs, but none about audio problem / sound.

one idea more from me, the 10.10 back ports were fit to Sep10 firmware, just remember popcorn was requesting firmware upgrade again for latest patches, but there was no guarranty for 100% correct fw. so I let be at Sep10.

merging latest now, will post link in few minutes for you to try.

and I asked you which raspbmc release it was - august? older? septembers? and was it stable or with special branch xbmc ?

this you didn't answer. then I would be able to take closer look into differences.

http://ivka57.dyndns-ip.com/others/xbian-package-firmware1.4-7.deb

it is dated today. personally just tried whether it boots.


RE: Video Stutter - mk01 - 2nd Oct, 2013 05:37 AM

@nertskull

last 3h I was going through 4 movies randomly selected 1080p, DTS (even ES) and I turned off passthrough. source network (not even local storage).

got no one shutter. even dpkg was updating kernel package in the background. please send file (sample or link).


RE: Video Stutter - nertskull - 2nd Oct, 2013 08:46 AM

(1st Oct, 2013 10:16 PM)mk01 Wrote:  can you make a sample of such video ?
and we are speaking about playing them without passthrough, right ?
(just asking what setup to test)

So I'm happy to post, I'm not sure about legalities though. All I have is my own BD rips. I've tried on a bunch and its the same, mainly I've been testing with Lord of the Rings with DTS-HD. Honestly I'm not great with video so I'd have to figure out how to even cut it down to a minute or two to even share.

Quote:
and I just wanted to get info about the actual connection / source you are using but it seems this info has not been discussed.

so in general protocol and whether it is mounted on system level and XBMC is using "local access" through the mount, or XBMC using own libs to access smb/nfs… via own defined source.

I'm on a router with gigabit speed (wndr 4500). All my cabling is cat5e or cat6. I currently have things mounted system level and xbmc is access my videos through a "local" drive (that is mounted at boot using fstab).

In regards to this, I just found this out. I thought I should maybe try with the xbmc nfs settings. But I actually can't. So maybe that plays into this. But I can find my nfs share with xbmc. I can see the shared drives. But xbmc won't let me actually open those shared drives.

Quote:I have just some DTS-ES, will test in hour or two but the bitrate would be max of 1580kbps for the sound so maybe make no sense.

I found in the log you sent earlier, it is USB hdd auto mounted under media, right ?

if you cant do sample, can you sent torrent file or magnet link ?

I was thinking maybe save the title sequence of a movie that stutters. Probably wouldn't have copyright issues that way. I just need to figure out how to save just the first minute or two and I'll try to post something.

Quote:
and please send

mount | grep /media/Aspartic_Acid
when disk is mounted


That returns nothing.

Quote:and also please do
Code:
sudo -i
cd /tmp
wget http://ivka57.dyndns-ip.com/rollback/xbian-package-xbmc_2.9-10.10_armhf.deb
dpkg -i xbian-package-xbmc_2.9-10.10_armhf.deb

maybe the distorted sound is because yesterdays new nightly with some Semptembers back ports.

the 2.9-10.10 is maybe 2 weeks older, with some bugs, but none about audio problem / sound.

Done. Tried it. No go. Doesn't play the file at all.

Here is the log with it failing
Code:
17:29:42 T:3041452672  NOTICE: COMXPlayer: Opening: /media/Aspartic_Acid/media/video/Movies/ProcessedBD/The_Lord_Of_The_Rings_The_Fellowship_Of_The_Ring_2001_extended_Disc_1.mkv
17:29:42 T:3041452672 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
17:29:42 T:3041452672  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
17:29:42 T:2810508352  NOTICE: Thread COMXPlayer start, auto delete: false
17:29:42 T:2810508352  NOTICE: Creating InputStream
17:29:42 T:2810508352   ERROR: COMXPlayer::OpenInputStream - error opening [/media/Aspartic_Acid/media/video/Movies/ProcessedBD/The_Lord_Of_The_Rings_The_Fellowship_Of_The_Ring_2001_extended_Disc_1.mkv]
17:29:42 T:2810508352  NOTICE: COMXPlayer::OnExit()
17:29:42 T:2810508352  NOTICE: COMXPlayer::OnExit() deleting input stream
17:29:42 T:3041452672   ERROR: Playlist Player: skipping unplayable item: 0, path [stack:///media/Aspartic_Acid/media/video/Movies/ProcessedBD/The_Lord_Of_The_Rings_The_Fellowship_Of_The_Ring_2001_extended_Disc_1.mkv , /media/Aspartic_Acid/media/video/Movies/ProcessedBD/The_Lord_Of_The_Rings_The_Fellowship_Of_The_Ring_2001_extended_Disc_2.mkv]
17:29:42 T:2940826688  NOTICE: Thread BackgroundLoader start, auto delete: false
17:29:43 T:3041452672  NOTICE: COMXPlayer::CloseFile
17:29:43 T:3041452672 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
17:29:43 T:3041452672  NOTICE: COMXPlayer: waiting for threads to exit
17:29:43 T:3041452672  NOTICE: DVDPlayer: finished waiting
~

Quote:
one idea more from me, the 10.10 back ports were fit to Sep10 firmware, just remember popcorn was requesting firmware upgrade again for latest patches, but there was no guarranty for 100% correct fw. so I let be at Sep10. merging latest now, will post link in few minutes for you to try.

and I asked you which raspbmc release it was - august? older? septembers? and was it stable or with special branch xbmc ?
this you didn't answer. then I would be able to take closer look into differences.


Here is from the raspbmc log. It was the stable download.

Code:
8:16:40 T:3041362560  NOTICE: -----------------------------------------------------------------------
18:16:42 T:3041362560  NOTICE: Starting XBMC (12.2 Git:20130502-32b1a5e), Platform: Linux (Debian GNU/Linux 7.1 (n/a), 3.10.13 armv6l). Built on Sep 28 2013

I still have it on another SD and it is working just fine.

Quote:http://ivka57.dyndns-ip.com/others/xbian-package-firmware1.4-7.deb

it is dated today. personally just tried whether it boots.

Yeah it still doesn't work with that. Here is the log file

Code:
17:53:22 T:2898420800  NOTICE: -->Python Interpreter Initialized<--
17:54:55 T:2898420800  NOTICE: Thread Jobworker start, auto delete: true
17:55:11 T:2940154944  NOTICE: Thread BackgroundLoader start, auto delete: false
17:55:34 T:3040805504  NOTICE: Previous line repeats 1 times.
17:55:34 T:3040805504  NOTICE: COMXPlayer: Opening: /media/Aspartic_Acid/media/video/Movies/ProcessedBD/The_Lord_Of_The_Rings_The_Fellowship_Of_The_Ring_2001_extended_Disc_1.mkv
17:55:34 T:3040805504 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
17:55:34 T:3040805504  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
17:55:34 T:2940154944  NOTICE: Thread COMXPlayer start, auto delete: false
17:55:34 T:2940154944  NOTICE: Creating InputStream
17:55:34 T:2940154944  NOTICE: Creating Demuxer
17:55:41 T:2940154944  NOTICE: Opening video stream: 0 source: 256
17:55:41 T:2940154944  NOTICE: Creating video thread
17:55:41 T:2741953600  NOTICE: Thread COMXPlayerVideo start, auto delete: false
17:55:41 T:2940154944   ERROR: SetPriority: error Permission denied
17:55:41 T:2940154944  NOTICE: Opening audio stream: 2 source: 256
17:55:41 T:2940154944  NOTICE: Creating audio thread
17:55:41 T:2733564992  NOTICE: Thread COMXPlayerAudio start, auto delete: false
17:55:41 T:2940154944   ERROR: SetPriority: error Permission denied
17:55:41 T:2940154944  NOTICE: Opening Subtitle stream: 3 source: 256
17:55:42 T:2741953600   ERROR: Output - renderer not started
17:55:43 T:2940154944  NOTICE: OMXClock using audio as reference
17:55:43 T:2741953600   ERROR: Output - renderer not started
17:55:43 T:2741953600   ERROR: Previous line repeats 1 times.
17:55:43 T:2741953600  NOTICE: Display resolution ADJUST : 1920x1080 @ 60.00 - Full Screen (16) (weight: 0.001)
17:55:43 T:2741953600  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
17:55:43 T:3040805504  NOTICE: Using GL_TEXTURE_2D
17:55:43 T:3040805504  NOTICE: GL: Using BYPASS render method
17:55:43 T:3040805504  NOTICE: GL: NPOT texture support detected
17:56:13 T:3040805504  NOTICE: COMXPlayer::CloseFile
17:56:13 T:3040805504  NOTICE: COMXPlayer: waiting for threads to exit
17:56:13 T:2940154944  NOTICE: COMXPlayer::OnExit()
17:56:13 T:2940154944  NOTICE: OMXPlayer: closing audio stream
17:56:13 T:2940154944  NOTICE: Closing audio stream
17:56:13 T:2733564992  NOTICE: thread end: OMXPlayerAudio::OnExit()
17:56:13 T:2969564224   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.audio_mixer - OMX_ErrorPortUnpopulated port 0, cannot parse input stream
17:56:13 T:2940154944  NOTICE: OMXPlayer: closing video stream
17:56:13 T:2940154944  NOTICE: Closing video stream
17:56:13 T:2741953600  NOTICE: thread end: video_thread
17:56:13 T:2940154944  NOTICE: OMXPlayer: closing subtitle stream
17:56:13 T:2940154944  NOTICE: Closing subtitle stream
17:56:13 T:2940154944  NOTICE: COMXPlayer::OnExit() deleting demuxer
17:56:13 T:2940154944  NOTICE: COMXPlayer::OnExit() deleting input stream
17:56:13 T:3040805504  NOTICE: DVDPlayer: finished waiting
17:56:14 T:2940154944  NOTICE: Thread BackgroundLoader start, auto delete: false
17:56:16 T:2741953600  NOTICE: Thread Jobworker start, auto delete: true
17:56:16 T:2940154944  NOTICE: Previous line repeats 1 times.
17:56:16 T:2940154944  NOTICE: Thread BackgroundLoader start, auto delete: false
17:56:17 T:3040805504  NOTICE: COMXPlayer::CloseFile
17:56:17 T:3040805504 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
17:56:17 T:3040805504  NOTICE: COMXPlayer: waiting for threads to exit



RE: Video Stutter - mk01 - 2nd Oct, 2013 10:19 AM

ok, will just comment without quotes

I was discussing this today with Ricardo (to get insights into all the DTS-x). Until now my perspective was just ok, it works (beside the OMX issues with broke DTS-x before).
RPI can't play DTS-HD. It will open it though and take just the DTS stream out. So the performance impact (bitstream amount to decode) is no different there. But I was following the discussions at RaspBMC around that and remember this as being a fact. OMX wasn't able to open it at all, later it was opening but not for all files. Popcorn was describing some garbage in the -HD part RPI didn't like. I was checking the commits and they are in upstream so XBian has them.

For next steps would be essential to provide the sample. I you said I don't need the movie, I will be fine with opening / closing credits. How to strip just part of this - not any knowledge around this either but people are providing this so I'm sure google will tell.

As for the "The_Lord_Of_The_Rings_The_Fellowship" log output, I remember the Input Stream error from around 4w ago, where DTS-ES was broken as well and unplayable. But this is no more actual. But again, -HD not being in my library.

And because I'm a little lost already, just update to latest available - as it is not breaking anything for you and I have the same versions and just shortly tell me - which DTS are fine, which shutter and which are not able to play at all (I assume all is software decoding without passthrough being on).

When you provide the samples, I will get back this and discuss with popcorn if needed.

Also I'm a bit confused the mount is not returning anything as the files in logs are clearly opened from this location so it has to exists? Anyhow the output would provide some info about NFS2/3/4, buffers set, being tcp/udp or other details.

If you from command line run
Code:
dd if=/media/Aspartic_Acid/media/video/Movies/ProcessedBD/The_Lord_Of_The_Rings_The_Fellowship_Of_The_Ring_2001_extended_Disc_1.mkv of=/dev/null bs=1M count=150

what average speed you get?

According the log from RaspBMC (being Stable and having 3.10.13 kernel) it is the release from yesterday (or some days)? so really fresh.


RE: Video Stutter - nertskull - 2nd Oct, 2013 11:07 AM

(2nd Oct, 2013 10:19 AM)mk01 Wrote:  ok, will just comment without quotes

Also I'm a bit confused the mount is not returning anything as the files in logs are clearly opened from this location so it has to exists? Anyhow the output would provide some info about NFS2/3/4, buffers set, being tcp/udp or other details.

If you from command line run
Code:
dd if=/media/Aspartic_Acid/media/video/Movies/ProcessedBD/The_Lord_Of_The_Rings_The_Fellowship_Of_The_Ring_2001_extended_Disc_1.mkv of=/dev/null bs=1M count=150

what average speed you get?

According the log from RaspBMC (being Stable and having 3.10.13 kernel) it is the release from yesterday (or some days)? so really fresh.

So that is interesting. With raspbmc doing the file transfer over NFS I ran a bunch of times and average about 120 MB/s.

On my main computer (which also pulls from the NFS server) I get average of about 120MB/s (just for comparison)

But, on Xbian. I'm only averaging about 10.5 MB/s.

So I was thinking maybe that could be my problem. Maybe the NFS setup is not working right on my Xbian install.

To test, I moved the file to an external drive and plugged it in through my USB on the Xbian Pi. And now my movie works just fine. No stuttering, no lag, plays DTS audio just fine like raspbmc did.

Therefore, I'm no longer thinking its cpu/processor issues on the pi. But instead streaming/nfs issues on Xbian. NFS works fine on raspbmc. And I know that it works fine on all my other computers. But Xbian definitely is slower.

So I guess the question is. How do I troubleshoot NFS on Xbian? Is that the next step?

Also, I can keep working on getting a sample file if you still think that would be helpful. But I'm assuming that since it is an NFS issue, it probably is not file specific.


RE: Video Stutter - mk01 - 2nd Oct, 2013 11:38 AM

sample would be still useful if you have file NOT WORKING at all. otherwise not anymore.

and to clear my confusion now, with MB/s you mean MegaBits (Mb) per sec, not megabytes (MB/Mbyte), right? as RPI can hardly do over 15MB/s. 120MB would be quite much even for standard PC on 1Gbit network.

So if then recalculate 10.5Mb you report for XBian that's not even 1.5MB/s and with this speed I'm surprised FullHD DTS movie even plays. Can you post your fstab?

There will be something broke as If I try hard (stop XBMC etc) I can get 12.5MB/s from my NFS4 box so even if I admit not everyone running 3com network etc, even on china stuff the difference can not be 1:10. Simply told I would accept to hear 10, 9, maybe even 7. Considering it is only NAS (so not ultra CPU power). But not 1.5. Don't worry, we find it Wink