[FFmpeg-devel] [PATCH] libx264: copy A53 closed captions from source

James Almer jamrial at gmail.com
Sun Sep 27 04:08:07 CEST 2015


On 9/26/2015 8:41 AM, DeHackEd wrote:
> +                /**
> +                 * 'GA94' is standard in North America for ATSC, but hard coding
> +                 * this style may not be the right thing to do -- other formats
> +                 * do exist. This information is not available in the side_data
> +                 * so we are going with this right now.
> +                 */
> +                x4->pic.extra_sei.payloads[0].payload[3] = 'G';
> +                x4->pic.extra_sei.payloads[0].payload[4] = 'A';
> +                x4->pic.extra_sei.payloads[0].payload[5] = '9';
> +                x4->pic.extra_sei.payloads[0].payload[6] = '4';

AV_WL32(x4->pic.extra_sei.payloads[0].payload + 3, MKTAG('G', 'A', '9', '4'));



More information about the ffmpeg-devel mailing list