[mythtv] [PATCH] DVB fixes

Augusto Cardoso augusto at carhil.net
Sat Dec 20 19:45:11 EST 2003


Hi!

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.

	Augusto

*********** 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 :(
>
>Kenneth
>
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev






More information about the mythtv-dev mailing list