[gstreamer-bugs] [Bug 625673] If framerate cannot be ascertained them default to 25 fps...
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Aug 2 07:51:50 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=625673
GStreamer | gst-plugins-bad | git
--- Comment #14 from Robert Krakora <rob.krakora at messagenetsystems.com> 2010-08-02 14:51:46 UTC ---
In mpeg4videodec.c in gst-ffmpeg-0.10.11 the following code is present:
if (get_bits1(gb) != 0) { /* fixed_vop_rate */
s->avctx->time_base.num = get_bits(gb, s->time_increment_bits);
}else
s->avctx->time_base.num = 1;
In mpeg4videoparse.c the following code is present:
GET_BITS (&bs, 1, &bits);
if (bits) {
/* fixed time increment */
int n;
/* Length of the time increment is the minimal number of bits needed to
* represent time_increment_resolution */
for (n = 0; (time_increment_resolution >> n) != 0; n++);
GET_BITS (&bs, n, &bits);
fixed_time_increment = bits;
} else {
/* When fixed_vop_rate is not set we can't guess any framerate */
fixed_time_increment = 0;
}
If I change fixed_time_increment = 1 insteade of fixed_time_increment = 0 in
the mpeg4videoparse.c code above with no other changes then the video stream
with which I am having problems plays just fine with the Fluendo MPEG4 video
codec.
--
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