Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques resize and add burn in

  • resize and add burn in

    Posted by Len Hugh on September 10, 2014 at 11:35 am

    Newbie question…

    I want to add burn in timecode and also resize a video called C13v01.
    I have succeeded in doing this in 2 stages but how do I write it so its all in one line of code?
    this is my code for the burn in

    ffmpeg -y -i C13v01.mov -c:v libx264 -preset ultrafast -b:v 1500k -pass 1 -c:a pcm_s32le -b:a 128k -pix_fmt yuv420p -vf drawtext=”fontsize=15:fontfile=/Library/Fonts/Andale Mono.ttf:\
    timecode=’00\:00\:00\:00′:rate=25:text=’TCR\:’:fontsize=72:fontcolor=’white’:\
    boxcolor=0x000000AA:box=1:x=10:y=10″ mymovie.mov

    and this is the code for the resize
    ffmpeg -y -i C13v01.mov -c:v libx264 -preset ultrafast -b:v 1500k -pass 1 -c:a pcm_s32le -b:a 128k -pix_fmt yuv420p -vf scale=iw/3:-1 mymovie.mov

    many thanks in advance!!

    Lou Logan replied 11 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • Lou Logan

    September 10, 2014 at 6:19 pm

    You can connect filters together with commas to create a filterchain. You can connect multiple filterchains together with semicolons.

    -vf scale,drawtext

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy