[Raspberry Pi] Unable to playback .ts recorded via SageDCT (r13316); ffmpeg issue?
#1
I am using SageDCT with my Ceton tuner to record TV. When I use their .ts dump setting, it simply dumps the recording to a .ts file. I can play the resulting .ts file just fine in windows media player and VLC, but it will not playback on my rpi for some reason (I have the mpg codec installed on my rpi and can playback .mpg files just fine). I'm using rpi build r13316

In looking at the debug logs, it looks like ffmpeg can't seem to decode it properly. Thoughts on this and/or what can be done about it?

Log file: http://pastebin.com/HLeBjn7u
File I try to play back: testfile using sagedct ts dump method.ts

Sample file that I can playback in windows media player and VLC but CANNOT playback in XBMC on my rpi:
https://www.dropbox.com/sh/f03xceuz30a5ky2/QaGIB8Gue2

Here is a subset of the log:
Quote:08:14:47 T:2876724320 ERROR: ffmpeg[AB775460]: [mpeg2video] mpeg_decode_postinit() failure
08:14:49 T:2876724320 ERROR: Previous line repeats 8 times.
08:14:49 T:2876724320 DEBUG: ffmpeg[AB775460]: [mpegts] decoding for stream 0 failed
08:14:49 T:2876724320 DEBUG: ffmpeg[AB775460]: [mpegts] Could not find codec parameters (Unknown: none ([5][0][0][0] / 0x0005))
08:14:49 T:2876724320 DEBUG: ffmpeg[AB775460]: [mpegts] decoding for stream 3 failed
08:14:49 T:2876724320 DEBUG: ffmpeg[AB775460]: [mpegts] Could not find codec parameters (Unknown: none ([5][0][0][0] / 0x0005))
08:14:49 T:2876724320 DEBUG: ffmpeg[AB775460]: [mpegts] decoding for stream 4 failed
08:14:49 T:2876724320 DEBUG: ffmpeg[AB775460]: [mpegts] Could not find codec parameters (Video: mpeg2video ([2][0][0][0] / 0x0002))
08:14:49 T:2876724320 DEBUG: ffmpeg[AB775460]: [mpegts] decoding for stream 5 failed
08:14:49 T:2876724320 DEBUG: ffmpeg[AB775460]: [mpegts] Could not find codec parameters (Audio: ac3 (AC-3 / 0x332D4341), 0 channels, s16)
08:14:49 T:2876724320 DEBUG: ffmpeg[AB775460]: [NULL] start time is not set in estimate_timings_from_pts
Reply
#2
I tried your file on windows xbmc, and it doesn't play.
As the problem is not Pi specific you'll get a better response asking in a general xbmc forum, or submitting a trac ticket.

I have a suspicion that it is fixed in xbmc master branch, but didn't make it into Frodo. See this pull request:
https://github.com/xbmc/xbmc/pull/2118
Reply
#3
I agree it is not an RPi issue but it is not the Sage file issue that was fixed, this is DCT files being captured by RTP by SageDCT and I believe xbmc cannot handle multiple program ts streams when only one program has data. If you take that stream and remux it removing pid 48/49 (program 1084) it will play. I am hoping babgvant will be able to solve this with an update he is working on, but xbmc should be able to play this file.

Martin
Reply
#4
(2013-02-16, 17:41)emveepee Wrote: I agree it is not an RPi issue but it is not the Sage file issue that was fixed, this is DCT files being captured by RTP by SageDCT and I believe xbmc cannot handle multiple program ts streams when only one program has data. If you take that stream and remux it removing pid 48/49 (program 1084) it will play. I am hoping babgvant will be able to solve this with an update he is working on, but xbmc should be able to play this file.

Martin

That's what I figured. And I am working very closely with babgvant on the updated version of SageDCT. Still working through some issues but he has been super helpful. Fingers crossed.
Reply
#5
(2013-02-16, 16:40)popcornmix Wrote: I tried your file on windows xbmc, and it doesn't play.
As the problem is not Pi specific you'll get a better response asking in a general xbmc forum, or submitting a trac ticket.

I have a suspicion that it is fixed in xbmc master branch, but didn't make it into Frodo. See this pull request:
https://github.com/xbmc/xbmc/pull/2118

I tested in windows with the frodo final build and you're right it didn't play back for me either. I then downloaded the windows nightly from Feb 14 and that still didn't play it back, so I don't think that pull above helped. Either way, I'll 1) submit a trac request and include the trac # as a reference in this thread, and 2) continue working with babgvant to see if we can get the new sagedct working.
Reply
#6
FYI... created the trac ticket here: http://trac.xbmc.org/ticket/14113 .

And I cross-posted it in the general forums here: http://forum.xbmc.org/showthread.php?tid=156486
Reply

Logout Mark Read Team Forum Stats Members Help
[Raspberry Pi] Unable to playback .ts recorded via SageDCT (r13316); ffmpeg issue?0