[FFmpeg-user] Burning subtitles into a webm video

Tom Gleason tgleason at colorhythm.com
Thu May 8 05:17:04 CEST 2014


this parameter works for me:

-vf 'movie=/path/to/watermark.png  [watermark]; [in][watermark]
overlay=(main_w-overlay_w-(10)):(main_h-overlay_h-(10)) [out]'

--
Tom Gleason


On Wed, May 7, 2014 at 6:39 PM, sean ball <sean9910 at gmail.com> wrote:

> This is the script I am using, but I cannot figure out how to get subtitles
> to actually burn in:
>
>  #Livestream script for FFMpeg/FFServer
> FPS=24                                          # Stream FPS.
> GOP=48                                          # GOP Should be double of
> FPS.
> THREADS=4                                       # How many threads.
> DEADLINE=realtime                               # Speed preset, realtime is
> fastest.
> FRAMELAG=16                                     # How many frames to seek
> ahead (max 25)
> QMAX=52                                         # More = less quality.
> QMIN=10                                         # Less = more quality.
> VBITRATE=1M                                     # Target Bitrate.
> BITRATE=3000k                                   # Bitrate.
> AUDIBR=48k                                      # Audio Bitrate.
> SERVER=<MyServer>:8090/feed.ffm                 # Server stream endpoint.
> LOGLEVEL=verbose                                # Logging verbosity level.
>
> for f in $@; do ffmpeg -re -i $f\
>         -vf subtitles=$f\
>         -g $GOP -loglevel $LOGLEVEL\
>         -c:v:0 libvpx  -threads $THREADS -b:v $BITRATE -vb $VBITRATE
> -bufsize $BITRATE\
>         -qmax $QMAX -qmin $QMIN -deadline $DEADLINE -lag-in-frames
> $FRAMELAG\
>         -c:a libvorbis -b:a $AUDIBR\
>         "<Doesn'tLikeURLFormat>$SERVER"
> done
>
> Could anyone help me?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list