Re: Make a clip with subtitles?
"Bill Crockett" <[email protected]>
| Newsgroups | gmane.comp.video.mplayer.user |
|---|---|
| Message-ID | <103F1F2BA7DE4E0381C244E6898B0965@Tower> |
From: "Eli the Bearded"Sent: Sunday, April 09, 2018 9:30 AM > What I did finally have luck in was going over all those ass options in > your first message. With: > if [ "X$srt" != X ] ; then > SUB="-ass -vf ass -sub $srt" > fi > mplayer $START $DURATION $SUB -nosound -vo "jpeg:outdir=$outdir" "$in" > Then at least the frames have subtitles, but now I need to build a > subtitle parser to find the subtitles I want and rewrite them for the > new timestamps. Doable, but a bit annoying. My apologies for stating "-vo jpeg" will not work. Subtitles will show with just: mplayer -sub sub.srt input or mencoder -sub sub.srt -nosound -ovc [options] -o output input But it looks like the -vo needs the -ass option to turn on SSA/ASS subtitle rendering. I was testing without it, and it would not work. The -vf ass is not really needed unless you are using screenshots et cetera. Hope you get it all working to how you want it. _______________________________________________ MPlayer-users mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users