Seek on .ts file transmitted to other machine using gstreamer udpsink

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Seek on .ts file transmitted to other machine using gstreamer udpsink

naseeb_panghal
I am streaming mpegts file from Machine1(Window) using command:
.\gst-launch-1.0.exe filesrc location=C:\\Users\\naseeb\\Downloads\\test.ts ! tsparse set-timestamps=true ! rtpmp2tpay ! udpsink host=192.168.100.227 port=5004

And receiving the same stream on Machine2(Linux on wandboard) using command:
gst-launch-1.0 udpsrc port=5004 caps ="application/x-rtp, media=(string)video, encoding-name=(string)MP2T-ES" ! rtpmp2tdepay ! tsdemux name=d d. ! queue ! h264parse ! imxvpudec ! imxeglvivsink d. ! queue ! aacparse ! avdec_aac ! audioconvert ! alsasink

I have also implemented this Receiving command in a GTK-Player and GTK-Player play the received mpegts file successfully.

But when i seek on GTK-player it doesn't work.
I want to know whether Gstreamer allow seeking on a RTP stream transmitted using `udpsink` and received using `udpsrc`

Please confirm if it is achievable or not?
Reply | Threaded
Open this post in threaded view
|

Re: Seek on .ts file transmitted to other machine using gstreamer udpsink

naseeb_panghal
I need to implement seek on udpsink.

i have tried below pipeline:
.\gst-launch-1.0.exe -v filesrc location=C:\\Users\\naseeb\\Downloads\\Gabbroo.mp4 ! qtdemux name=demux ! progressreport ! navseek seek-offset=10 ! rtph264pay pt=96 ! udpsink host=192.168.100.227 port=5000

but not able to seek.

I am looking for help from Gstreamer community.
Please just let me know whether seeking on udpsink is achievable with existing components or i need to modify the gstreamer source code to achieve the same.