[FFmpeg-user] Encode subtitles, 5.1 audio into MT2S format
Sampath Subasinghe
susiriss at gmail.com
Tue Apr 17 04:48:27 CEST 2012
Hi All,
I tried various options to get a .srt subtitles file, and 5.1
audio into a mt2s file.
ffmpeg -i input.mp4 -vcodec copy -acodec aac -i subtitle.srt -f mpegts
out.mt2s
input.mp4 already has h264 video and 5.1 audio. Then I get this error.
[mp2 @ 0x17bdc20] encoding 6 channel(s) is not allowed in mp2
Output #0, mpegts, to 'out.mt2s':
Stream #0.0: Video: libx264, yuv420p, 1280x534 [PAR 1:1 DAR
640:267], q=2-31, 90k tbn, 23.98 tbc (default)
Stream #0.1(eng): Audio: mp2, 48000 Hz, 5.1, s16, 64 kb/s (default)
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Please let me know how to do this correctly. The reason I want this is
that I want to play it in a Sony Bravia TV that only supports subtitles
in mt2s container.
thanks.
susiriss
More information about the ffmpeg-user
mailing list