[gstreamer-bugs] [Bug 313970] ffdec_mpeg4 detects wrong framerate with some files
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sat Sep 17 05:26:04 PDT 2005
Do not reply to this email. You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=313970
GStreamer | gst-ffmpeg | Ver: 0.8.6
Luca Ognibene changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |luogni at tin.it
------- Additional Comments From Luca Ognibene 2005-09-17 12:26 -------
Well, i've looked at the problem.
ffmpeg reports the video as having 30000fps (i've also tried with current cvs).
In ffmpeg.c:3097 there is this check:
if (enc->time_base.den != rfps || enc->time_base.num != rfps_base) {
fprintf(stderr,"\nSeems that stream %d comes from film source:
...
}
where enc->time_base is the "framerate" information found by the decoder and
rfps the information found by the demuxer.
Then:
/* update the current frame rate to match the stream frame rate */
frame_rate = rfps;
frame_rate_base = rfps_base;
so ffmpeg always use the framerate information found by the demuxer.
If you try:
gst-launch-0.8 filesrc location="ffmpeg3000fps.avi" ! avidemux ! fakesink -v
you can see that the framerate is found correctly(framerate=(double)29.9699999).
So... what can we do? ffdec should set the framerate property only when there
isn't one already? Ronald, any idea?
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list