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:\
                      boxborderw=6:\
                      [email protected]:\
                      [email protected]:\
                      fontfile=FreeSerifBold.ttf:\
                      fontsize=32:
                      text='© $(date +%Y) Cecil Westerhof - [email protected]':\
                      x=((main_w- text_w) / 2):\
                      y=main_h - (text_h * 2)" \
        "${OUTPUT_FILE}"

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

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to