[libav-bugs] [Bug 289] New: Bad frame rate chosen for CFR output containers from "reliable" codec sources

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Sat May 12 01:05:13 CEST 2012


http://bugzilla.libav.org/show_bug.cgi?id=289

           Summary: Bad frame rate chosen for CFR output containers from
                    "reliable" codec sources
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: alex.converse at gmail.com


File:
http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_surround.avi

$ ./avconv -loglevel debug -i ~/streams/big_buck_bunny_1080p_surround.avi -an
-y out.mp4
avconv version v0.8-1715-g6083757, Copyright (c) 2000-2012 the Libav developers
  built on May 11 2012 14:57:44 with gcc 4.6.3
  configuration: --enable-gpl --disable-optimizations --enable-debug
--samples=/data/streams/fate-suite
  libavutil     51. 29. 0 / 51. 29. 0
  libavcodec    54. 13. 1 / 54. 13. 1
  libavformat   54.  2. 0 / 54.  2. 0
  libavdevice   53.  2. 0 / 53.  2. 0
  libavfilter    2. 16. 1 /  2. 16. 1
  libavresample  0.  0. 2 /  0.  0. 2
  libswscale     2.  1. 0 /  2.  1. 0
[avi @ 0x22be760] Probed with size=2048 and score=100
[avi @ 0x22be760] All info found
Input #0, avi, from
'/home/aconverse/streams/big_buck_bunny_1080p_surround.avi':
  Metadata:
    encoder         : AVI-Mux GUI 1.17.7, Aug  8 2006  20:59:17
    JUNK            : 
  Duration: 00:09:56.45, start: 0.000000, bitrate: 12455 kb/s
    Stream #0.0, 1, 208333/5000000: Video: mpeg4 (Simple Profile), yuv420p,
1920x1080 [PAR 1:1 DAR 16:9], 1/24, 24 tbn, 24 tbc
    Stream #0.1, 6, 1/56000: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
[buffer @ 0x22c1ce0] w:1920 h:1080 pixfmt:yuv420p
[mpeg4 @ 0x22c54c0] detected 12 logical cores
[mpeg4 @ 0x22c06e0] detected 12 logical cores
Output #0, mp4, to 'out.mp4':
  Metadata:
    JUNK            : 
    encoder         : Lavf54.2.0
    Stream #0.0, 0, 1/25: Video: mpeg4, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9],
1/25, q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)
Press ctrl-c to stop encoding
*** 1 dup!
*** 1 dup!8 fps=  0 q=22.4 size=    1081kB time=1.92 bitrate=4611.6kbits/s
dup=1 drop=0    
    Last message repeated 2 times
*** 1 dup!5 fps=114 q=31.0 size=    1746kB time=4.60 bitrate=3109.6kbits/s
dup=4 drop=0    
^Cframe=  156 fps=116 q=31.0 Lsize=    2116kB time=6.24 bitrate=2777.6kbits/s
dup=5 drop=0    
video:2114kB audio:0kB global headers:0kB muxing overhead 0.102340%
Received signal 2: terminating.

The input frame rate is 5000000/208333 or 24.0000384 fps

since MPEG4 is not a tb_unreliable() codec (libavformat/utils.c:2217), we never
set r_frame_rate (libavformat/utils.c:2450). Since r_frame_rate is unset we
default to 25 fps (avconv.c:2788).

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list