On Tue, May 30, 2006, Damien Bally wrote: > Some dvb-t channels in France are broadcasted in mpeg-4. The problem is > that I can't extract the video pid of them, hence can't decode anything, > though the last patched version of ffmpeg allows h.264 MBAFF decoding. > > Scan correctly reads the audio pid, but the video pid is read as zero. > I'm using the last mercurial version of dvb-apps. You could try this patch: diff -r b2f67e83cf04 util/scan/scan.c --- a/util/scan/scan.c Mon May 22 21:57:27 2006 +0100 +++ b/util/scan/scan.c Sat Jun 03 00:26:06 2006 +0200 @@ -755,6 +755,7 @@ static void parse_pmt (const unsigned ch switch (buf[0]) { case 0x01: case 0x02: + case 0x10: moreverbose(" VIDEO : PID 0x%04x\n", elementary_pid); if (s->video_pid == 0) s->video_pid = elementary_pid; I'm a bit reluctant to commit this, though, as mpeg2 decoders might have problems when fed with H.264 ;-/. A more complete patch would add a command line parameter to output H.264 video pids. In case 0x10 is not the correct stream type value, the video pid should be listed as OTHER if you run "scan -vv". 0x10 is listed in ISO-13181-1 for "ISO/IEC 14496-2 Visual". Please report which type is actually used for H.264 in France. Johannes _______________________________________________ linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb