GStreamer 1.2 for Windows, udpsink too fast

漢障 吳 sakurazuka2001 at yahoo.com.tw
Mon Oct 21 12:33:29 CEST 2013


Hello

I removed do-timstamp=true from my pipeline, then I got messages as fellow:

/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2632 bytes, dts: none, pts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0B27C4A0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (18800 bytes, dts: none, pts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0B282B68
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2820 bytes, dts: none, pts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0B153E80
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (18800 bytes, dts: none, pts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0B153DE0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2632 bytes, dts: none, pts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0B24C008
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (3196 bytes, dts: none, pts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0B303F18
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (19364 bytes, dts: none, pts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0B2415E0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2632 bytes, dts: none, pts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0B27C0E0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (18236 bytes, dts: none, pts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 088885A8
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2820 bytes, dts: none, pts:0:00:00.000000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 ) 0B100B40

The pipeline remains very fast, and I guess this may not problem of udpsink but whole pipeline  or problem in GStreamer 1.2's core. ( I had tried to change udpsink to tcpserversink, the speed exactly the same, as udpsink as fast )


Sebastian Dröge <slomo at circular-chaos.org> 於 2013/10/11 (週五) 3:39 PM 寫道﹕
 
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 :)

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131021/2cd66b15/attachment-0001.html>


More information about the gstreamer-devel mailing list