this is what happen if I remove "&& \": * [libx264 @ 0xf0c07c00] using SAR=3825/3824* * [libx264 @ 0xf0c07c00] using cpu capabilities: ARMv6 NEON* * [libx264 @ 0xf0c07c00] ratecontrol_init: can't open stats file* * Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height* * [aac @ 0xf0c08680] Qavg: 3723.349* * [aac @ 0xf0c08680] 2 frames left in the queue on closing* * Conversion failed!*
On Sat, Dec 22, 2018 at 3:42 PM Carl Eugen Hoyos <[email protected]> wrote: > 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". _______________________________________________ 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".
