Opened 10 years ago

Last modified 10 years ago

#1694 new defect

mencoder passlogfile naming not working, -lavcopts vcodec=libx264

Reported by: HuG@… Owned by: reimar
Priority: normal Component: ve
Version: unspecified Severity: normal
Keywords: Cc: HuG@…
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:



Version: MEncoder SVN-r29237-4.4.1

Trying to encode in vpass=1 (command below), the statistics are logged into x264_2pass.log.temp, and subsequently to x264_2pass.log when finished. Also an empty divx2pass.log or an explicitly defined -passlogfile is generated, respectively.

In vpass=2 or vpass=3, mencoder tries to read the data from divx2pass.log or the -passlogfile. But it does not succeed, as the data is in x264_2pass.log.

Renaming x264_2pass.log to divx2pass.log/-passlogfile, results in zero-truncated divx2pass.log/-passlogfile.

Copying x264_2pass.log to divx2pass.log/-passlogfile, the encoding gets running! As a result divx2pass.log/-passlogfile is zero-truncated and a new x264_2pass.log is generated.

Thus, as a manual workaround, after each pass the x264_2pass.log file would need to be copied as divx2pass.log or file indicated by -passlogfile.

PASS=1 and 2; 3; or 1 and 3 (for loop)


mencoder -mc 0 $F -o ${F}_pass$PASS.avi \
-vf scale=1440:1080:1 -oac copy -ovc lavc -lavcopts \
vcodec=libx264:vbitrate=10000:ilme:ildct:aspect=16/9:threads=2:vpass=$PASS \
-fps 50 -passlogfile $F.log

With best wishes,


Change History (2)

comment:1 Changed 10 years ago by HuG@…

  • Cc HuG@… added

comment:2 Changed 10 years ago by compn

  • Owner changed from r_togni@… to reimar
Note: See TracTickets for help on using tickets.