[MEncoder-users] mencoder issues: xvid/mp3 2-pass hangs at 2nd pass

Grozdan neutrino8 at gmail.com
Fri May 2 16:15:06 CEST 2014


On Fri, May 2, 2014 at 3:38 PM, Daniel B. <menc at bischof.org> wrote:
> Hi,
>
> clarification: r36557 was the last version that worked for me. The bug (if
> it is a bug) must have sneaked in between r36557 and r37181.
>
>
> On Fri, 2 May 2014, Daniel B. wrote:
>
>> I have been using mencoder to transcode MPEG video for years, using the
>> mplayer-package provided by packman.links2linux.de on openSUSE.
>>
>> Since r37117, encoding hangs just at the end of the second pass using the
>> following commands:
>>
>> ---
>> mencoder -noodml -noskip -mc 0 file.m2p -vf
>> dsize=512:288,scale=512:288,pp7 -ovc xvid -xvidencopts
>> bitrate=1200:noqpel:nogmc:closed_gop:pass=1 -oac copy -o test.avi
>> mencoder -noodml -noskip -mc 0 file.m2p -vf
>> dsize=512:288,scale=512:288,pp7 -ovc xvid -xvidencopts
>> bitrate=1200:noqpel:nogmc:closed_gop:pass=2 -oac mp3lame -lameopts
>> vbr=3:br=128:q=0 -o file.avi
>> ---
>>
>> To make sure this is upstream, I checked out MEncoder r37181 and compiled
>> it myself - same result. This used to work until r36557.
>>
>> I have been using the above options of mencoder for a long time, and maybe
>> they are somewhat outdated, however: This could very well be a bug.

Confirmed. I used a short sample with the exact options you provided.
Second pass just hangs and uses 100% CPU of one core. Only by hitting
CTRL+C it exists. Still a complete file is produced. Tested also with
x264 as codec but get the same thing. Tested with PCM audio and lavc
-lavcopts acodec=ac3  and it does not appear so it seems something to
do with mp3lame specifically


>
>
>
> Best regards,
>
> --Daniel.
> --
> Daniel B. <menc at bischof.org>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users



-- 
Yours truly


More information about the MEncoder-users mailing list