Having trouble playing some mpeg2-ts streams
#1
Hi, I am using openelec + XBMC's mythtv plugin. For the most part it works fine except for when commercials appear. Often times the stream will stall and I get a black screen and I have to stop the feed and reload the channel again. My cable tv provider is Verizon Fios which outputs mpeg2-ts streams. I have purchased and activated the mpeg2 decoder key for the rasp. pi.

I have two examples of the mpeg2-ts files that will stall playback during livetv and also when trying to playback the recordings either through the plugin or through "Videos" menu. Both files work when I try to play them on a regular x86 computer using xbmc using the mythtv plugin as well as "Videos" menu. Therefore I suspect that the problem isn't with the plugin but with something more fundamental in the xbmc raspberry pi build.

Can anyone else confirm the problem? Is there a potential fix for this?

Examples:
http://temp-share.com/show/FHKdR7yU6 (stalls around 15 seconds)
http://temp-share.com/show/HKdPG00CA (stalls around the 1:50min mark)


Thanks

Reply
#2
I haven't downloaded your specific examples but quite likely the file changes resolution at the ad break and confuses the player.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#3
(2013-02-10, 05:10)nickr Wrote: I haven't downloaded your specific examples but quite likely the file changes resolution at the ad break and confuses the player.

Hmm.. Is there a way I can test your theory?

Do you know if there's a fix for this?

Thanks.
Reply
#4
In both cases there is a transition from stereo -> 5.1 sound (or back the other way) at around the point where you are having problems.

RPi uses a different player (omxplayer) than x86 cpu based machines. Maybe Rpi's player can't cope with the transition.

PS you can see the transition by using the O (that is the letter owe not the number zero). It brings up an on screen display of media details, top row has details of audio stream.

It may pay to post a ticket about this for the xbmc devs, but if it is an omxplayer problem they may just kick it for touch.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#5
Thanks a lot for helping me figure out what the problem was. I posted a ticket. Hopefully the problem is easily resolvable.
Reply
#6
(2013-02-10, 03:38)Huuh Wrote: Can anyone else confirm the problem? Is there a potential fix for this?

Examples:
http://temp-share.com/show/FHKdR7yU6 (stalls around 15 seconds)
http://temp-share.com/show/HKdPG00CA (stalls around the 1:50min mark)

Try this build:
http://forum.xbmc.org/showthread.php?tid...pid1339015

and report back.
Reply
#7
(2013-02-19, 19:46)popcornmix Wrote:
(2013-02-10, 03:38)Huuh Wrote: Can anyone else confirm the problem? Is there a potential fix for this?

Examples:
http://temp-share.com/show/FHKdR7yU6 (stalls around 15 seconds)
http://temp-share.com/show/HKdPG00CA (stalls around the 1:50min mark)

Try this build:
http://forum.xbmc.org/showthread.php?tid...pid1339015

and report back.

Tried it, and it's been working perfectly. Do you know what changed? Thanks.
Reply
#8
(2013-02-21, 07:52)Huuh Wrote: Tried it, and it's been working perfectly. Do you know what changed? Thanks.

https://github.com/popcornmix/xbmc/commi...ef30bb54c3
Reply
#9
Awesome! Thanks for your fix. Now the Rasp. Pi can be seen as a valid option as a mythtv frontend.
Reply
#10
popcornmix,
I built from OpenELEC's git HEAD this weekend, and applied your revised pull request as a patch. It cleared up the exact same problem. I was having the problem while watching mythbusters, but it's gone with the patch.

Thanks for the hard work at this!
Reply

Logout Mark Read Team Forum Stats Members Help
Having trouble playing some mpeg2-ts streams0