Chemical 801 schreef:
Hi all,
I've spent quite a bit of time trying to debug a problem I've been
having playing back dbox2 recordings, and I'm now pretty confident
that the problem lies in the code that records the TS stream from the
Dbox. This problem is still present on SVN version 7931.
The problem may be the same as ticket #659. I'm wondering if this
ticket has been closed prematurely. This is a quick run-down of the
problem I'm seeing.
Mythbackend records the stream from the dbox, but when mythfrontend
tries to play it back, the screen goes black. I occasionally hear some
blips of audio, and on a long recording, I occasionally see some
fragments of video. I've pasted the debug output from mythfrontend at
the bottom of this message.
Anyone interested can download the first few seconds of a recording here:
http://s55.yousendit.com/d.aspx?id=12A1ZYM4FQXI23POEY3OLSJILO
The above file was captured by mythbackend-svn-7931. I've simply
truncated it to keep the download small.
MPlayer plays this file flawlessly. I suspect that whatever is wrong
in the first few frames of the stream Mplayer manages to compensate,
whereas mythfrontend can't.
I have also managed to repair the file by running it through either
Project-X and dvb-replex. I've performed TS->TS "conversions"
independently with both tools, and mythfrontend will happily play the
resulting files.
I have used a variety of Linux distros during testing, including FC4,
Gentoo and Ubuntu. I have used two different dboxes, one is a Sagem,
and the other Nokia. I have used several different Sportster images
and on one occasion I also tried Yadi. The results are always the
same.
I'd love to be able to debug this problem myself, but I just don't
have the coding experience or knowledge of Mpeg2 TS to do so. I am
however very willing to test any proposed solutions, and provide
further feedback.
Cheers,
jmce
Debug output from mythfrontend during playback:
2005-11-19 14:45:09.400 Using protocol version 22
2005-11-19 14:45:10.643 New DB connection, total: 2
2005-11-19 14:45:10.687 TV: Attempting to change from None to
WatchingPreRecorded
2005-11-19 14:45:12.794 AFD: Opened codec 0xb35bd80, id(MP3) type(Audio)
2005-11-19 14:45:12.794 AFD: Opened codec 0xb35c150, id(DVB_SUBTITLE)
type(Subtitle)
2005-11-19 14:45:12.816 AFD: Opened codec 0xb35c690, id(MPEG2VIDEO) type(Video)
2005-11-19 14:45:12.816 AFD: Opened codec 0xb36c6f0, id(MP3) type(Audio)
2005-11-19 14:45:12.816 AFD: Opened codec 0xb36c9e0, id(DVB_SUBTITLE)
type(Subtitle)
2005-11-19 14:45:12.818 AFD: Opened codec 0xb36cce0, id(MPEG2VIDEO) type(Video)
2005-11-19 14:45:12.836 AFD: Opened codec 0xb36cfe0, id(MPEG2VIDEO) type(Video)
2005-11-19 14:45:12.836 AFD: Opened codec 0xb36d3b0, id(MP3) type(Audio)
2005-11-19 14:45:12.836 AFD: Opened codec 0xb36d940, id(DVB_SUBTITLE)
type(Subtitle)
2005-11-19 14:45:12.837 AFD: Opened codec 0xb36dc40, id(MP3) type(Audio)
2005-11-19 14:45:12.838 AFD: Opened codec 0xb36df40, id(MPEG2VIDEO) type(Video)
2005-11-19 14:45:12.838 AFD: Opened codec 0xb36e480, id(DVB_SUBTITLE)
type(Subtitle)
(repeats ....)
Hi,
I can tell you that Levent (the original author of the dbox stuff) is
working on an update that will use a different streaming protocol
(udrec, and thus using udp instead of tcp).
This might improve things.
Steven
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev