10 April 2014

Add srt to mp4

Without transcoding, and make it compatible with iTunes/iOS
Get MP4Box (bundled with Osmo4.app for OSX), and run:
Osmo4.app/Contents/MacOS/MP4Box -add input.mp4 -add input.srt:hdlr=sbtl:lang=gre out.mp4


itsomp said...

Downmix AC3 5.1 (mkv) to Dolby pro logic II (2.0 mp4)

ffmpeg -i input.mkv -vcodec copy -acodec libfdk_aac -ac 2 -af "aresample=matrix_encoding=dplii" output.mp4

itsomp said...

for libfdk_aac support in ffmpeg:
sudo port install ffmpeg +nonfree