# test1 for source
ffmpeg -y -i $source -t 00:01:00 -c:a copy -c:v copy $output/1mp4.mp4
# test2 for encoder
ffmpeg -y -i $source -t 00:01:00 -c:v libx264 -b:v 400k -c:a libfdk_aac -preset:v ultrafast $output/2mp4.mp4
# test3 for burning timecode
ffmpeg -y -i $source -t 00:01:00 -vf drawtext="fontfile=/usr/share/fonts/bitstream-vera/VeraMoBd.ttf:x=60:y=60:text=\'\%m/\%d/\%y \%H\:\%M\:\%S\':fontsize=24:fontcolor=green\@0.8:expansion=strftime" -c:v libx264 -b:v 400k -c:a libfdk_aac -preset:v ultrafast $output/3mp4.mp4
# test4 for running longer time
ffmpeg -y -i $source -t 00:05:00 -vf drawtext="fontfile=/usr/share/fonts/bitstream-vera/VeraMoBd.ttf:x=60:y=60:text=\'\%m/\%d/\%y \%H\:\%M\:\%S\':fontsize=24:fontcolor=green\@0.8:expansion=strftime" -c:v libx264 -b:v 400k -c:a libfdk_aac -preset:v ultrafast $output/4mp4.mp4
沒有留言:
張貼留言