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

FFmpeg trac at avcodec.org
Wed Aug 26 18:57:16 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 Timothy_Gu):

 It works fine here using
 http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20150825-git-
 4c39892-win32-static.7z

 {{{
 C:\Users\tiancheng.gu\test-xvid
 λ dir
  Volume in drive C has no label.
  Volume Serial Number is FE12-15F1

  Directory of C:\Users\tiancheng.gu\test-xvid

 08/26/2015  09:52 AM    <DIR>          .
 08/26/2015  09:52 AM    <DIR>          ..
                0 File(s)              0 bytes
                2 Dir(s)  75,032,383,488 bytes free

 C:\Users\tiancheng.gu\test-xvid
 λ ffmpeg -f lavfi -i testsrc -vcodec libxvid -vb 80k -g 250 -pass 1
 -passlogfile a.log -t 600 -y a.avi
 ffmpeg version N-74645-g4c39892 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.9.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype
 --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
 libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
 --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-
 libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs
 --enable-libxvid --enable-lzma --enable-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 'a.avi':
   Metadata:
     ISFT            : Lavf56.40.101
     Stream #0:0: Video: mpeg4 (libxvid) (xvid / 0x64697678), yuv420p,
 320x240 [SAR 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=1013 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%

 C:\Users\tiancheng.gu\test-xvid
 λ ffmpeg -f lavfi -i testsrc -vcodec libxvid -vb 80k -g 250 -pass 2
 -passlogfile a.log -t 600 -y a.avi
 ffmpeg version N-74645-g4c39892 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.9.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype
 --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
 libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
 --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-
 libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs
 --enable-libxvid --enable-lzma --enable-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 'a.avi':
   Metadata:
     ISFT            : Lavf56.40.101
     Stream #0:0: Video: mpeg4 (libxvid) (xvid / 0x64697678), yuv420p,
 320x240 [SAR 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=999 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%

 C:\Users\tiancheng.gu\test-xvid
 λ dir
  Volume in drive C has no label.
  Volume Serial Number is FE12-15F1

  Directory of C:\Users\tiancheng.gu\test-xvid

 08/26/2015  09:53 AM    <DIR>          .
 08/26/2015  09:53 AM    <DIR>          ..
 08/26/2015  09:53 AM        11,504,468 a.avi
 08/26/2015  09:52 AM           315,805 a.log-0.log
                2 File(s)     11,820,273 bytes
                2 Dir(s)  75,020,333,056 bytes free
 }}}

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


More information about the FFmpeg-trac mailing list