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
1441c1441 < { .i64 = 0x0100 }, 0x0100, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM }, --- > { .i64 = 0x0100 }, 0x0020, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM },
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel