[mythtvnz] H.264 scan support for dvb-utils and w_scan
Steven Ellis
steven at openmedia.co.nz
Sun Dec 9 04:06:33 GMT 2007
At present the tools scan/dvbscan and w_scan assume that the video has a
stream type of 0x01 or 0x02. This means that they aren't detecting the
vPID for the H.264 DTT transmissions as they are using stream type 0x1b.
For dvb-utils the following diff will provide H.264 scan support
--- linuxtv-dvb-apps-1.1.1.orig/util/scan/scan.c
+++ linuxtv-dvb-apps-1.1.1/util/scan/scan.c
@@ -755,6 +757,7 @@
switch (buf[0]) {
case 0x01:
case 0x02:
+ case 0x1b: /* H.264 video stream */
moreverbose(" VIDEO : PID 0x%04x\n",
elementary_pid);
if (s->video_pid == 0)
s->video_pid = elementary_pid;
In the case of the tool w_scan a similar line is needed in the function
parse_pmt.
Steve
--
Steven Ellis - Technical Director
OpenMedia Limited
email - steven at openmedia.co.nz
sales - sales at openmedia.co.nz
support - support at openmedia.co.nz
website - http://www.openmedia.co.nz
More information about the mythtvnz
mailing list