[mythtv] [PATCH] DVB fixes

Kenneth Aafløy ke-aa at frisurf.no
Sat Dec 20 20:21:47 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.

My setup is a Hauppauge Nexus-S with a Conax CAM.

And my recordings start with a 1e0 start code, which is video,
and probably not the start of a keyframe, since the output is
garbled at the start.

> 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...

Strange tho, since my recording does not start with that header.

What is the startcode of that header (I'll test waiting for that)?

> 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.

Hmm, it didn't do that when I wrote it, did you put that feature in
with your patch (which was the reason for putting in the wait stuff)?

Kenneth



More information about the mythtv-dev mailing list