how fast forward works- server side

leon dudi.reuveni at
Wed Apr 16 08:01:27 PDT 2014


I have pcap file that contain video stream of RTP\H.264 packets. 

Im using appsrc in my code  and I have two pipelines- transmitter and
the transmitter loads the file with RTP stream, push the RTP packet into
udpsink with appsrc. 
and udpsink transmit it. 

the transmission works great and I can see the video on the receiver. 

*this is the transmitter pipeline:* 

      app->src = (GstAppSrc*)gst_element_factory_make("appsrc", "mysrc"); 
      app->sink = gst_element_factory_make ("udpsink", "sink"); 

      gst_util_set_object_arg (G_OBJECT (app->src), "stream-type",

*this is the receiver pipeline:* 

      gst_parse_launch( " udpsrc uri=udp://localhost:5000 !
application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264, payload=(int)96 ! rtpjitterbuffer latency=1000 !
decodebin ! autovideosink", NULL); 

my goal is making the server to control the speed of the video- Fast
forward, Slow motion, Rewind.

how can I control the speed of the playing video? 
I read about the trick mode- displaying some of the frames but I couldn't
understand exactly how.  

I will be happy for some direction on that issue. 

thanks in advance! 

View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list