I have a video that I am encoding using ffmeg two pass. It makes it through the first pass just fine, generating a decent quality video. When it tries to begin the second pass, it zeros out the file generated by the first pass, then bombs out saying "Error while opening codec for stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height."
The file was a 336x284 PAL file with P3 44100 audio, 127 kbs.
I set it to encode at:
900 Kbs 336x284 letterboxed to 352x288
128 kbs AC3 48000 stereo VBR
high qual/4 motion vectors/2 pass/ trellis quant
with Qmin=Qmax=2 (for VBR),
saving elementary streams.
Any idea why it fails the 2nd pass?
Results 1 to 8 of 8
-
-
Which was the codec used? (XviD, etc)
Also please email me to major4@mac.com with the complete process output.
-
Also, sometimes it fails on the first pass with the same process info:
Encoding started on Mon Jan 3 05:21:13 EST 2005
Input #0, avi, from '/Volumes/Untitled/Martial_arts/Done/Mind body and kick ass moves/mind.body.and.kick.ass.moves.1x01.xvid.ws.pdtv-wlw.avi':
Duration: 00:28:19.9, start: 0.000000, bitrate: 1157 kb/s
Stream #0.0: Video: mpeg4, 640x360, 25.00 fps
Stream #0.1: Audio: mp3, 44100 Hz, stereo, 161 kb/s
Output #0, vob, to '/Volumes/Untitled/Martial_arts/Done/Mind body and kick ass moves/mind.body.and.kick.ass.moves.1x01.xvid.ws.pdtv-wlw.avi.ff':
Stream #0.0: Video: mpeg2video (hq), 720x576, 25.00 fps, q=2-2, pass 1, 2081 kb/s
Stream #0.1: Audio: ac3, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[mpeg2video @ 0x38430c]4MV not supported by codec
Error while opening codec for stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
-
The thing is, I am not clear what I am doing that sets that option. Sometimes, the encode works, other times, with the exact same settings, it does not. When it does not, the saved file, instead of ending in .ff.mpg ends simply in .ff. Something is causing it to fail to append the correct full extension. It is odd.
-
You should keep track of the process outputs and settings of the odds encodings, and email them to me to major4@mac.com for inspection.
Similar Threads
-
FFMPEG 2-pass syntax help needed
By ITemplate in forum Video ConversionReplies: 7Last Post: 2nd Jul 2011, 19:41 -
2-pass in FFmpeg ?
By Klagar in forum Video ConversionReplies: 24Last Post: 5th Nov 2010, 00:40 -
ffmpeg 2-pass does nothing
By grv575 in forum Video ConversionReplies: 13Last Post: 6th Oct 2010, 20:24 -
Is 2 pass encoding (wmv2) with FFMpeg possible?
By xorfodan in forum LinuxReplies: 0Last Post: 25th Aug 2007, 08:25 -
Need help with ffmpeg 2-pass VBR encoding
By SliderVF14 in forum Video ConversionReplies: 8Last Post: 14th May 2007, 18:03