how to get video duration

kilamski malik.cisse at gmx.net
Thu Jun 20 15:50:39 UTC 2019


Hi,

I am using following example to get an* mpeg-TS video file duration:*
https://gstreamer.freedesktop.org/documentation/tutorials/basic/media-information-gathering.html?gi-language=c
However this code is 200 lines long. Is there a more elegant and short way
to do it.
Right click on Ubuntu will also give me video duration but I have no idea
how to do this programatically.
Thanks for any hints. 



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list