GStreamer 1.2 for Windows, udpsink too fast

Sebastian Dröge slomo at circular-chaos.org
Fri Oct 11 09:37:18 CEST 2013


On Fr, 2013-10-11 at 11:14 +0800, 漢障 吳 wrote:
Hello
> 
> I tried my pipeline as fellow:
> 
> gst-launch -v filesrc location=test2.mkv do-timestamp=true ! matroskademux name=demux ! queue2 ! h264parse ! mpegtsmux name=mux ! queue2 ! identity sync=true qos=true silent=false ! udpsink host=10.100.0.84 port=8557 sync=true demux. ! queue2 ! mux.
> 
> I got this:
> 
> /GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (3196 bytes, dts: none, pt
> s:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0AFB21E8
> /GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (25944 bytes, dts: none, p
> ts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0AE96000
> /GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2632 bytes, dts: none, pt
> s:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0AE7F298
> /GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (11844 bytes, dts: none, p
> ts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 084B00A0
> /GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2820 bytes, dts: none, pt
> s:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 08217E68
> 
> And transfer of udpsink still remain fast. I also noticed this may not problem of udp since I also tried tcpserversink instead of udpsink
> 
> it also very fast. Maybe it's problem of pipeline clock ( I guess )

One problem is that you put do-timestamp=true on filesrc (don't do
that). If you set it to false, matroskademux should put proper
timestamps on the buffers.

If it works afterwards I don't know, please provide a new log then :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131011/739d9711/attachment.pgp>


More information about the gstreamer-devel mailing list