-
Error using 2-pass for mpeg4 output
Hi,
I’m using these 2 lines (from WinFF) trying to do 2-pass:
“C:\Program Files\WinFF\ffmpeg.exe” -i “C:\Kamera\020.MOV” -crf 15.0 -vcodec libx264 -acodec libfaac -ar 48000 -ab 192k -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0 -an -passlogfile “C:\Kamera\020.log” -pass 1 -y “NUL.avi”
“C:\Program Files\WinFF\ffmpeg.exe” -y -i “C:\Kamera\020.MOV” -crf 15.0 -vcodec libx264 -acodec libfaac -ar 48000 -ab 192k -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0 -passlogfile “C:\Kamera\020.log” -pass 2 “C:\Kamera\020.mp4”
The first pass completes but the second fails on start with this message: “Error while opening codec for output stream #0.0 – maybe incorrect parameters such as bit_rate, rate, width or height”.
Can anyone spot the culprit in these commands?
—
Werner