[FFmpeg-devel] [PATCH] AC3 audio issue in m2ts for Blu-ray Players.

kifayat ullah kifayat.ullah at yahoo.com
Thu Aug 2 15:41:45 CEST 2012

Dear Carl,

 >+ } else if (st->codec->codec_type == AVMEDIA_TYPE_AUDIO &&
>+            st->codec->codec_id == CODEC_ID_AC3 &&
>+            ts->m2ts_mode) {
>+     /* For AC3 Audio on Blu-ray value will be 0xfd */
>+     *q++ = 0xfd;
 >} else {
will make any other audio codec not (mp2/mp3/aac/(ac3+m2ts_mode) ) to fall in else part and set value to 0xBD which is not write. and only used for subtitle type of codec.
so I think patch code is fine.
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org

More information about the ffmpeg-devel mailing list