[FFmpeg-trac] #3508(undetermined:new): Cannot open stats file on second pass when attempting to generate multiple outputs.

FFmpeg trac at avcodec.org
Wed Apr 2 02:19:05 CEST 2014


#3508: Cannot open stats file on second pass when attempting to generate multiple
outputs.
-------------------------------------+-------------------------------------
             Reporter:  ianken       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ianken):

 Second pass generates two files. First pass makes LOG only. What I'm
 tyring to do is make N outputs on the second pass to facilitate smooth or
 HLS streaming.

 ffmpeg -y -i big_buck_bunny_720p_stereo.avi -vf scale=240:trunc(ow/a/2)*2
 -g 48 -keyint_min 6 -vcodec mpeg4 -b:v 400k -pass 1 -an -f mp4 NUL
 ffmpeg -y -i big_buck_bunny_720p_stereo.avi -vf scale=240:trunc(ow/a/2)*2
 -g 48 -keyint_min 6 -vcodec mpeg4 -b:v 400k -pass 2 -an -f mp4
 big_buck_bunny_400.mp4 -vf scale=320:trunc(ow/a/2)*2 -g 48 -keyint_min 6
 -vcodec mpeg4 -b:v 700k -pass 2 -an -f mp4 big_buck_bunny_700.mp4

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3508#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list