[gstreamer-bugs] [Bug 624212] New: mp4mux produces incorrect frame rates when h264 input uses bframes

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 12 19:51:50 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=624212
  GStreamer | gst-plugins-bad | git

           Summary: mp4mux produces incorrect frame rates when h264 input
                    uses bframes
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: chris.shoemaker at cox.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Environment:

gstreamer-plugins-bad-0.10.19-1.fc12.x86_64
gstreamer-plugins-ugly-0.10.15-1.fc12.x86_64
gstreamer-plugins-base-0.10.29-1.fc12.x86_64
x264-libs-0.0.0-0.27.20091109git3daa02e.fc12.x86_64

(newest git versions of -ugly and x264 show the same behavior)

Steps to reproduce:

Baseline with no bug:

1. gst-launch-0.10 -e -vm audiotestsrc num-buffers=100 is-live=true ! faac !
mp4mux name=mux videotestsrc num-buffers=100 do-timestamp=true is-live=true !
"video/x-raw-yuv, framerate=(fraction)30000/1001" ! ffmpegcolorspace ! x264enc
bframes=0 ! mux. mux. ! filesink location=foo2.mp4

2. $ mp4info  foo2.mp4 

mp4info version 1.5.0.1
foo2.mp4:
Track    Type    Info
1    audio    MPEG-4 AAC LC, 2.321 secs, 0 kbps, 44100 Hz
2    video    H264 Main at 2.1, 3.336 secs, 1121 kbps, 320x240 @ 29.976019 fps

Now change bframes=0 to bframes=1.

3. gst-launch-0.10 -e -vm audiotestsrc num-buffers=100 is-live=true ! faac !
mp4mux name=mux videotestsrc num-buffers=100 do-timestamp=true is-live=true !
"video/x-raw-yuv, framerate=(fraction)30000/1001" ! ffmpegcolorspace ! x264enc
bframes=1 ! mux. mux. ! filesink location=foo2.mp4


4. $ mp4info  foo2.mp4 
mp4info version 1.5.0.1
foo2.mp4:
Track    Type    Info
1    audio    MPEG-4 AAC LC, 2.321 secs, 0 kbps, 44100 Hz
2    video    H264 Main at 2.1, 6.573 secs, 563 kbps, 320x240 @ 15.213753 fps

Expected Result:

I expect the duration and frame rate of the resulting stream to be the same
whether bframes are used or not.


[Come to think of it, maybe the bug is in x264enc?]

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list