Saltar para: Posts [1], Pesquisa e Arquivos [2]
I've been looking around for a way of (hard) burning subtitles on to a file using Mac OS X.
Tried many different approaches without any success.
Subler + handbrake and many others. Note that there's a difference between soft subtitles and hard burned ones. Soft subtitles embed them on the video file and your video viewer (quicktime, vlc, mplayerx, etc) has to be able to render them.
This is a problem though if you're trying to upload a file to youtube or embed a a video on your blog. You need hard burned subtitles.
A friend of mine Nuno Jesus came pointed me to an option on ffmpeg which worked out of the box in Linux. On Mac OS X there are a few steps before you're ready to go.
Here's a quick recipe:
1. Install X11 from http://xquartz.macosforge.org/landing/
2. Find a binary version of ffmpeg that has libass enabled. Here's one: http://www.evermeet.cx/ffmpeg/
3. Open a terminal window and enter this export FONTCONFIG_PATH=/opt/X11/lib/X11/fontconfig
(optional) If you don't want to have to do this every time, just edit your ~/.profile and enter that export line right at the end.
4. Navigate on the terminal window to where you have both the movie and the subtitle file (.srt) and run
ffmpeg -i sourcevideofile.mp4 -vf subtitles=mysubtitlesfile.srt outputwithsubtitles.mp4
replace sourcevideofile.mp4 and mysubtitlesfile.srt with the ones you have of course.
There you go.
Nos media online, A Bola, Correio da Manhã, Destak, DN, Económico, Exame Informática, Expresso, ionline, JN, Negócios, Público, RR, RTP, Sábado, Sol, TEK, TSF e TVI24.