[FFmpeg-trac] #4780(undetermined:new): FFMpeg ignores the logfile of first pass when encoding through libxvid

FFmpeg trac at avcodec.org
Mon Aug 24 13:53:51 CEST 2015


#4780: FFMpeg ignores the logfile of first pass when encoding through libxvid
-------------------------------------+-------------------------------------
             Reporter:  academic     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  passlogfile  |               Resolution:
  libxvid regression                 |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by academic):

 On Windows all is the same :-(
 The 1st pass:

 {{{
 d:\Sharing\Rip\Test_FFMpeg>"d:\portableapps\FFMpeg\bin\ffmpeg.exe" -f
 lavfi -i testsrc -vcodec libxvid -vb 80k -g 250 -pass 1 -passlogfile
 "d:\Sharing\Rip\Test_FFMpeg\log.pass" -t 600 -y
 "d:\Sharing\Rip\Test_FFMpeg\out1.avi"
 ffmpeg version N-74600-g1bf76cd Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.9.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
 libcaca --
 enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
 --enable-l
 ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
 --enab
 le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
 librtmp --en
 able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
 --ena
 ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-
 amrwbenc
  --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
 --enabl
 e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma
 --ena
 ble-decklink --enable-zlib
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 58.100 / 56. 58.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 37.100 /  5. 37.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, lavfi, from 'testsrc':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
 [SAR 1:1
  DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 Output #0, avi, to 'd:\Sharing\Rip\Test_FFMpeg\out1.avi':
   Metadata:
     ISFT            : Lavf56.40.101
     Stream #0:0: Video: mpeg4 (libxvid) (xvid / 0x64697678), yuv420p,
 320x240 [S
 AR 1:1 DAR 4:3], q=2-31, pass 1, 80 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc56.58.100 libxvid
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (libxvid))
 Press [q] to stop, [?] for help

 frame=15000 fps=440 q=2.0 Lsize=   12452kB time=00:10:00.00 bitrate=
 170.0kbits/s
 video:12087kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing
  overhead: 3.017452%
 }}}
 And the 2nd pass:

 {{{
 d:\Sharing\Rip\Test_FFMpeg>"d:\portableapps\FFMpeg\bin\ffmpeg.exe" -f
 lavfi -i testsrc -vcodec libxvid -vb 80k -g 250 -pass 2 -passlogfile
 "d:\Sharing\Rip\Test_FFMpeg\log.pass" -t 600 -y
 "d:\Sharing\Rip\Test_FFMpeg\out1.avi"
 ffmpeg version N-74600-g1bf76cd Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.9.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
 libcaca --
 enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
 --enable-l
 ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
 --enab
 le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
 librtmp --en
 able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
 --ena
 ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-
 amrwbenc
  --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
 --enabl
 e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma
 --ena
 ble-decklink --enable-zlib
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 58.100 / 56. 58.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 37.100 /  5. 37.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, lavfi, from 'testsrc':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
 [SAR 1:1
  DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 Output #0, avi, to 'd:\Sharing\Rip\Test_FFMpeg\out1.avi':
   Metadata:
     ISFT            : Lavf56.40.101
     Stream #0:0: Video: mpeg4 (libxvid) (xvid / 0x64697678), yuv420p,
 320x240 [S
 AR 1:1 DAR 4:3], q=2-31, pass 2, 80 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc56.58.100 libxvid
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (libxvid))
 Press [q] to stop, [?] for help
 frame=15000 fps=444 q=2.0 Lsize=   11235kB time=00:10:00.00 bitrate=
 153.4kbits/s
 video:10870kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing
  overhead: 3.353590%
 }}}

 And in current directory FFMpeg in creating file xvidff.iG2Kb7 during the
 2nd pass.

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


More information about the FFmpeg-trac mailing list