After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 640012 - ffmpegdec outputs wrong timestamps
ffmpegdec outputs wrong timestamps
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal normal
: 0.10.13
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-19 23:04 UTC by Olivier Crête
Modified: 2011-10-29 15:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ffmpegdec: Add property forcing the decoder to use the input timestamp as PTS (3.25 KB, patch)
2011-01-20 03:44 UTC, Olivier Crête
none Details | Review

Description Olivier Crête 2011-01-19 23:04:58 UTC
Using this simple pipeline:
v4l2src ! video/x-raw-yuv, width=320, height=240 ! ffmpegcolorspace ! x264enc name=enc tune=zerolatency profile=baseline ! ffdec_h264 ! xvimagesink

The timestamps that come out of ffdec_h264 are not the same ones that come in, leading the sink to drop most frames.
Comment 1 Olivier Crête 2011-01-20 03:44:13 UTC
Created attachment 178807 [details] [review]
ffmpegdec: Add property forcing the decoder to use the input timestamp as PTS

Decoders guess that the incoming timestamp is a DTS, in some cases, like
with RTP, one knows that the incoming timestamp is a PTS. Also, in this case,
the duration is not known, so the estimation currently made is often very bad.

To be honest, since I fixed the rtpjitterbuffer bug #640023, most of my symtoms have gone away, so I'm not sure this bug is so needed.
Comment 2 Olivier Crête 2011-01-20 04:35:07 UTC
lets downgrade this sine bug #640023 is the major problem today
Comment 3 Sebastian Dröge (slomo) 2011-05-09 08:59:52 UTC
Adding a property for this feels wrong anyway, decoders should just work out of the box.
Comment 4 Edward Hervey 2011-07-11 08:46:05 UTC
I think this was fixed since. Olivier, can you confirm with latest git ?
Comment 5 Akhil Laddha 2011-08-25 04:43:35 UTC
Please feel free to reopen the bug if problem still exists in GStreamer git master.