[FFmpeg-devel] [PATCH] adding support for writing m2ts bluray container

Justin Ruggles justin.ruggles
Sat Feb 12 00:41:55 CET 2011


On 02/11/2011 06:33 PM, Herr Sven Alisch BSc. wrote:

> SORRY!!! It's late. I am a fool. I mixed the order in my diff command. Please sorry!
> 
> Here is it right:
> 
> +
> +AVOutputFormat ff_mpeg2ts_muxer = {
> +    "mpeg2ts",
> +    NULL_IF_CONFIG_SMALL("BDAV MPEG-2 transport stream format"),
> +    "video/x-mpeg2ts",
> +    "m2ts",
> +    sizeof(MpegTSWrite),
> +    CODEC_ID_MP2,
> +    CODEC_ID_MPEG2VIDEO,
> +    mpeg2ts_write_header,
> +    mpegts_write_packet,
> +    mpegts_write_end,
> +    .priv_class = &mpegts_muxer_class,
> +};


Why not default to AC3 instead of MP2?

-Justin




More information about the ffmpeg-devel mailing list