[FFmpeg-user] Shrinking videos

Cecil Westerhof Cecil at decebal.nl
Sat Nov 4 15:21:46 EET 2017

I need to shrink my videos before uploading. And I also put a small
copyright notice in. For this I use:
    nice -n 20 ionice -t -c3 \
      ffmpeg -y              \
        -i "${INPUT_FILE}"   \
        -vcodec libx264      \
        -crf 26              \
        -acodec copy         \
        -preset fast         \
        -vf drawtext="box=1:\
                      boxcolor=black at 0.2:\
                      fontcolor=white at 0.4:\
                      text='© $(date +%Y) Cecil Westerhof - Cecil at Decebal.nl':\
                      x=((main_w- text_w) / 2):\
                      y=main_h - (text_h * 2)" \

Is this a good way, or can it be done better?

Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

More information about the ffmpeg-user mailing list