Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H264 MKV stream problem after 48f8bb0 #115

Closed
fake666 opened this issue Oct 31, 2012 · 16 comments
Closed

H264 MKV stream problem after 48f8bb0 #115

fake666 opened this issue Oct 31, 2012 · 16 comments

Comments

@fake666
Copy link

fake666 commented Oct 31, 2012

hi,

with firmware 48f8bb0 on raspbian i can use omxplayer (both 0.2.1 and 0.2.3) to play back an MKV H264 1080 stream from tvheadend, as soon as i update the firmware to a newer version, these streams do no longer work - playback starts for a second, stops, starts, stutters and freezes. audio continues for a couple more seconds, but eventually stops, too.

in the working firmware version, i see these lines in the log, they are NOT in the broken versions:

DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_fx input port 190 output port 191
...
ERROR: COMXCoreComponent::WaitForEvent OMX.broadcom.video_decode wait event 0x00000003 timeout 300
...
[and several others]

the newer version constantly reports 6/8 channel, where the version that works reports only 2 channels. i am playing to the analog audio, but also tried HDMI + passthrough.

gimli told me this is being worked on, but i've searched far and wide for an answer to these problems and guess having google show this report may save people some time: http://forum.xbmc.org/showthread.php?tid=140518&pid=1227167#pid1227167

@popcornmix
Copy link
Contributor

@fake666
Copy link
Author

fake666 commented Oct 31, 2012

cool!

i guess i'm too old for this web stuff, i've been lurking in that forum for days, trying to find someone with a similar problem.. sorry for the noise.

@popcornmix
Copy link
Contributor

If anyone is interested in testing an experimental fix you can try updating these files:
https://dl.dropbox.com/u/3669512/temp/start.elf
https://dl.dropbox.com/u/3669512/temp/fixup.dat

Let me know what it fixes and what still fails

@clandmeter
Copy link

Playing a recording in xbmc (Openelec) with tvheadend seems to work now, but watching tv still gives a black screen.
Not sure its a xbmc or rpi bug.

@fake666
Copy link
Author

fake666 commented Nov 7, 2012

with my minmal testcase (using omxplayer 0.2.3 on up-to-date wheezy) this fixes the issue, both for live streams and recordings! very cool!

@fake666
Copy link
Author

fake666 commented Nov 7, 2012

also works with raspbmc RC5 - edit: seems only for the first stream started, but seeing that omxplayer works, i guess that's an xbmc bug.

@Toniob
Copy link

Toniob commented Nov 7, 2012

Seems to work for me too. But I've got the same behavior, the first stream is ok but the following ones remain black with no sound.

@popcornmix
Copy link
Contributor

Can you provide a sample file that exhibits the problem?
I was able to play a few files more than once.

@fake666
Copy link
Author

fake666 commented Nov 7, 2012

accessing the h264 1080i mkv recording files created by tvheadend using NFS, i can start them several times, too. when using the streaming http thingy (pvr -> recordings -> ..) i get the same problems as with the tv channels - so i really think this is a problem with how the stream is buffered, not with the firmware.

@popcornmix
Copy link
Contributor

I've pushed this firmware to rpi-update as there's not been any negative reports, and there's been some positive ones.

@clandmeter
Copy link

I can confirm it works on raspxbmc and not on openelec.
I do notice when playing inside raspxbmc de-interlacing is not functioning properly.
Did something change?

@fake666
Copy link
Author

fake666 commented Nov 9, 2012

i think this ticket could be closed - it's fixed to the extent that i stated in the ticket description. maybe you want to open a new one for the de-interlacing problem?

@clandmeter
Copy link

Sure go ahead and close it. I got too less experience with de-interlacing to conclude its faulty.
If its faulty, I will open another one.

@fake666
Copy link
Author

fake666 commented Nov 9, 2012

i can't tell if it's working or not either, i guess i need new glasses ^^

@fake666 fake666 closed this as completed Nov 9, 2012
@clandmeter
Copy link

You should watch a football match, its horrible to watch. Regular tv content looks ok though.

@solidspike
Copy link

Deinterlacing works fine with raspbmc

When playing something go to video settings and put deinterlacing on 'Auto'
Then go down and press save as default for all videos or something.

Then you have to stop the playback totally then start it again . It doesn't change while a video is playing. Only when you restart it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants