[FFmpeg-user] Filter Command Help

Scott memobook80 at comcast.net
Mon Apr 11 02:11:24 CEST 2016


Hi, I would like some help figuring out a command that works for my
needs. My goal is to create a simple 854x480 video with a visualizer
that takes up a small part of the screen (showwaves) and text
that cuts in & out (being pulled from a text file). Please show me how
to change the command properly, I only need one visualizer to appear.
I'd also like to create something without a visualizer, just a black
screen and text to go with the audio. Lastly, are they any other options
similar to 'between' where I can have text appear at a certain point &
have it remain for rest of video?

I'm working off an example taken from the ffmpeg page for creating
music videos for youtube. I keep breaking it trying to customize
the command, the overlay/chaining system is a bit over my head atm.

ffmpeg -i short25.mp3 -filter_complex \
"[0:a]avectorscope=s=640x518,pad=1280:720[vs]; \
 [0:a]showspectrum=mode=separate:color=intensity:scale=cbrt:s=640x518[ss];
\ [0:a]showwaves=s=1280x202[sw]; \
 [vs][ss]overlay=w[bg]; \
 [bg][sw]overlay=0:H-h,drawtext=fontfile=Trixie-Plain.otf:fontcolor=Brown:fontsize=48:x=10:y=10:textfile=txtfile.txt,drawtext=fontfile=Trixie-Plain.otf:fontcolor=DarkTurquoise:fontsize=48:x=10:y=10:textfile=addr.txt:enable='between(t,8,16)',drawtext=fontfile=Trixie-Plain.otf:fontcolor=DarkTurquoise:fontsize=48:x=10:y=10:textfile=addr.txt:enable='between(t,40,50)':[out]"
\ -map "[out]" -map 0:a -c:v libx264 -preset ultrafast -c:a copy
output.mkv

Thank you for any help! :)

-S


More information about the ffmpeg-user mailing list