is it possible to stream a file not from begining

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

is it possible to stream a file not from begining

Denis Eltsov

Hi

May be it’s really silly question but I can’t find an answer.

Is it possible to start streaming of file using

gst-launch-1.0 filesrc=/home/Eltsov/t1/txs.mpg …. Udpsink host=xxxx port=yyyy

But not from the beginning of a mpg file. I want to start for example from 60 second of video in a file.

Some thing like ges-launch-1.0 +clip =/home/Eltsov/t1/txs.mpg inpoint=60.0

But with proper pipline to udpsink

Or ffmpeg -ss 00:01:00 -i /home/Eltsov/t1/txs.mpg …

 

I understand that I can cut files. But It’s looks strange.

Best regards Denis Eltsov


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: is it possible to stream a file not from begining

omer.tal
Hi Denis,

I don't think it is possible with gst-launch but surely you can do it with
the API.
I believe you'll find this link useful:
https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/events.html?gi-language=c

Good luck :)



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel