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

FFmpeg trac at avcodec.org
Tue Aug 18 17:51:30 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 cehoyos):

 Replying to [comment:2 academic]:
 > we get on ffmpeg version N-74131-g9ec17e4 bitrate 88k, which is correct,
 but on ffmpeg version N-74179-g9dcaae7 or higher we get bitrate 153k.

 Not reproducible here with 9dcaae7:
 {{{
 $ ffmpeg -f lavfi -i testsrc -vcodec libxvid -vb 80k -g 250 -pass 1
 -passlogfile log.pass -t 600 -y out1.avi
 ffmpeg version N-74179-g9dcaae7 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --enable-libxvid
   libavutil      54. 29.100 / 54. 29.100
   libavcodec     56. 56.101 / 56. 56.101
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 30.100 /  5. 30.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 'out1.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.56.101 libxvid
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (libxvid))
 Press [q] to stop, [?] for help
 frame=15000 fps=1339 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%
 $ ffmpeg -f lavfi -i testsrc -vcodec libxvid -vb 80k -g 250 -pass 2
 -passlogfile log.pass -t 600 -y out1.avi
 ffmpeg version N-74179-g9dcaae7 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --enable-libxvid
   libavutil      54. 29.100 / 54. 29.100
   libavcodec     56. 56.101 / 56. 56.101
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 30.100 /  5. 30.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 'out1.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.56.101 libxvid
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (libxvid))
 Press [q] to stop, [?] for help
 frame=15000 fps=1343 q=5.0 Lsize=    6475kB time=00:10:00.00 bitrate=
 88.4kbits/s
 video:6110kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 5.965364%
 }}}

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


More information about the FFmpeg-trac mailing list