[FFmpeg-user] Specify log file for 2-pass encoding
Francois Visagie
francois.visagie at gmail.com
Wed Jul 31 10:09:37 CEST 2013
> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of James Board
> Sent: 30 July 2013 18:53
> To: ffmpeg-user at ffmpeg.org
> Subject: [FFmpeg-user] Specify log file for 2-pass encoding
>
> I'm using ffmpeg to do 2-pass mpeg encoding with '-ovc lavc' and the
> mpeg4 codec on Linux. This
> generates a divx2pass.log file in the directory where the files are
located.
> I'm trying to encode multiple files at the same time on different CPU
cores
> and the log files are clobbering each other. How can I specify which name
I'd
> like the log file to have? The ffmpeg man page says the -passlogfile can
be
> used to specify the logfile for pass 1. But how do I tell ffmpeg to use
that log
> file in pass 2?
IIRC you specify the same option for both passes. The documentation on the
'-pass' option:
-pass[:stream_specifier] n (output,per-stream)
Select the pass number (1 or 2). It is used to do two-pass video
encoding. The statistics of the video are recorded in the first pass into a
log file (see also the option -passlogfile), and in the second pass _that_
log file is used to generate the video at the exact requested
bitrate.
>
> The man page and the HTML documentation doesn't mention divx2pass.log.
> Thanks
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list