[FFmpeg-devel] Patch mpegts_start_pid to allow ATSC PID ranges
Zach Swena
zcybercomputing at gmail.com
Tue Nov 18 18:02:49 CET 2014
Hi,
Here is a patch to allow FFmpeg to use PID ranges compatible with ATSC
television. I based the new minimum value on the PID ranges here
<http://en.wikipedia.org/wiki/MPEG_transport_stream>on wikipedia. This
should be sufficient to allow the use of any standard PID used in ATSC
television.
Zach
As Attached:
in mpegtsenc.c line
1441c1441
< { .i64 = 0x0100 }, 0x0100, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM },
---
> { .i64 = 0x0100 }, 0x0020, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM },
This patch is basically a continuation of this one, but for a different
property:
https://trac.ffmpeg.org/attachment/ticket/518/ffmpeg-mpegts_pmt_start_pid_range_error.diff
-------------- next part --------------
1441c1441
< { .i64 = 0x0100 }, 0x0100, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM },
---
> { .i64 = 0x0100 }, 0x0020, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM },
More information about the ffmpeg-devel
mailing list