[mythtvnz] H.264 scan support for dvb-utils and w_scan
Nick Rout
nick.rout at gmail.com
Sun Dec 9 22:19:57 GMT 2007
Are you submitting these upstream?
On Dec 9, 2007 5:06 PM, Steven Ellis <steven at openmedia.co.nz> wrote:
> 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
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
More information about the mythtvnz
mailing list