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 552786 - flutsmux is not setting timestamps on buffers output
flutsmux is not setting timestamps on buffers output
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-18 15:03 UTC by Zaheer Abbas Merali
Modified: 2010-05-21 16:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Zaheer Abbas Merali 2008-09-18 15:03:07 UTC
Same as: https://core.fluendo.com/gstreamer/trac/ticket/94

When executing the following pipeline, udpsrc streams the file at the wrong rate. It streams it as fast as possible, note the time of execution displayed by gst-launch, knowing that the video is about 7s long.

gst-launch-0.10.exe --gst-debug-no-color --gst-debug=flutsm ux:0 --gst-plugin-path=c:\xxx\lib\gstreamer-0.10 filesrc location="c:\test\\mpeg2\\kit-dvbt-mpeg2-4CIF-1Mbps.ts" ! decodebin ! ffenc_mpeg2video bitrate=500000 dct-algo=int ! flutsmux ! udpsink host=10.10.184.138 port=4567

[ ... ]

Execution ended after 2796857000 ns.

[ ... ]

Now, if you just run the same pipeline without flutsmux :

gst-launch-0.10.exe --gst-debug-no-color --gst-debug=flutsm ux:0 --gst-plugin-path=c:\xxx\lib\gstreamer-0.10 filesrc location="c:\test\\mpeg2\\kit-dvbt-mpeg2-4CIF-1Mbps.ts" ! decodebin ! ffenc_mpeg2video bitrate=500000 dct-algo=int ! udpsink host=10.10.184.138 port=4567

[ ... ]

Execution ended after 6921831000 ns.

[ ... ]

I suspect timestamps in GstBuffer? not being correctly handled in flutsmux. I'm still not familiar with GStreamer enough to tell more right now, but I'm investigating the problem with my limited understanding of GStreamers internals.

-- Damien Lespiau
Comment 1 Jan Schmidt 2008-09-19 15:17:20 UTC
flutsmux should probably output the SCR as timestamps on the output buffers for this reason, but in the meantime you can probably work around your problem by putting "identity sync=true" between ffenc_mpeg2video and flutsmux
Comment 2 Thiago Sousa Santos 2009-10-15 15:05:20 UTC
Is this still happening with current mpegtsdemux?
Comment 3 Thiago Sousa Santos 2009-10-15 15:05:50 UTC
Erm, I mean mpegtsmux.
Comment 4 Tobias Mueller 2010-03-24 12:39:18 UTC
Zaher, Jan? Any updates on this issue?

Thiago: Do you expect this issue to be fixed in a more recent version?
Comment 5 Tobias Mueller 2010-05-21 16:38:33 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!