

$FFMPEG -i $i -vcodec mpeg4 -vtag XVID -b:v $BITRATE -bf 2 -s $SIZE -filter_complex "setpts=0.125*PTS atempo=2.0,atempo=2.0,atempo=2.0" -map "" -map "" -pass 2 -passlogfile $i -an -threads 0 -f avi -y $DEST$i.

#$FFMPEG -i $i -vcodec mpeg4 -vtag XVID -b:v $BITRATE -bf 2 -s $SIZE -vf setpts=0.15*PTS -pass 2 -passlogfile $i -an -threads 0 -f avi -y $DEST$i.avi $FFMPEG -i $i -vcodec mpeg4 -vtag XVID -b:v $BITRATE -bf 2 -s $SIZE -pass 1 -passlogfile $i -an -threads 0 -f rawvideo -y /dev/null Using numerous real-world examples, we have demonstrated how to fix the. ffmpeg -i input.mkv -filtercomplex ' 0:vsetpts0.5PTS v 0:aatempo2.0 a' -map ' v' -map ' a' output.mkv.

The max value for ‘atempo’ is 2, so you have to string two of them together in order to get 4 times speed increase.įFMPEG=~/bin/ffmpeg-2.0.1-64bit-static/ffmpeg In this article, the solution of Change Video And A Udio Speed In One Ffmpeg Command will be demonstrated using examples from the programming language. Here’s a script I use to resize my GoPro videos and speed them up by 4 times: You need ffmpeg version 2.x – download from here if you don’t have it: or compile the latest version from source:
