[mythtv] [PATCH] DVB fixes
augusto at carhil.net
Sat Dec 20 19:45:11 EST 2003
What is your configuration? DVB card? Do you use anything other than mythtvfrontend to play the video?
Can you send me a sample or make it available .nuv file?
Even better, can you get a .nuv and also save some raw TS stream, including all PIDs but NULL packets. You can do this using the test_dvr(linuxtv.org) and using the PID 0x2000.
I'll be glad to look at this and figure what's wrong.
You can try to enable the wait_for_seqstart, however, the code in dvbrecorder.cpp has to be revised in order for the "wait_for_seqstart" to work properly.
The issue with the current code is that it drops the Program Stream Header. The current decoder in mythtv works without the start code, but a number of other applications don't like a PS file without this, because they identify the file as a PES and depending on the application do bad things...
The transform.c should wait for the start code, it works for all the tests I've done using Satellite. DVB-T should be the same.
*********** REPLY SEPARATOR ***********
On 12/21/2003 at 1:23 AM Kenneth Aafl°y wrote:
>> 5) dvbrecorder.cpp
>> -The wait_for_seqstart isn't necessary and if enable
>> will generate broken MPEG2 PS, because it will remove the
>> initial header 00 00 01 BA from the file.
>> -With this patch and the patch in transform.c, the
>> streams are now more compliant with MPEG2. Cinerella can open
>> them now and other tools will work better as well.
>> -Improve the Continuity Counter detection and add the
>> detection of bad TS packets.
>The patch appears to work fine, exept for this. I now get garbled video
>at the start of the stream :(
>mythtv-dev mailing list
>mythtv-dev at mythtv.org
More information about the mythtv-dev