2018-12-22 8:22 GMT+01:00, Majid Shirazi <[email protected]>: > According to the documentation for using Two-Pass method we have to run > ffmpeg twice like this: > > ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f mp4 /dev/null && \ > ffmpeg -i input -c:v libx264 -b:v 2600k -pass 2 -c:a aac -b:a 128k > output.mp4
What's wrong with (remove linebreak after ";"): $ ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f mp4 /dev/null ; ffmpeg -i input -c:v libx264 -b:v 2600k -pass 2 -c:a aac -b:a 128k output.mp4 ? Carl Eugen _______________________________________________ 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".
