gstreamer get video playing event

abdus_salam ocagdas at yahoo.com
Thu Nov 5 04:17:44 PST 2015


Well, the appsrc is fed from a file which contains mpeg-2 transport stream
and 'is-live' is false. Also, I noticed that the pipeline structure in my
first post is not exactly correct . It actually should be 'appsrc our_plugin
queue mpegvideoparse avdec_mpeg2video deinterlace videobalance xvimagesink'

My aim is to build a set of metrics to measure the time spent between the
first packet hitting the appsrc and the video actually starting to playback
on the video decoder. As I've already got instrumentation in place which
monitors how and when the pipeline elements change state, receive data etc
from appsrc to xvimagesink, the only missing bit is getting information from
the video decoder itself. The things I'd ideally want to see are, when the
decoder receives the first packet, when it displays the first I-frame and
the video playback starts/stops/pauses etc.

I know that the video decoder is supposed to just work but for the sake of
completeness, I'd like to get hold of this information too. Then I can start
reliably benchmarking the effects of different configurations on our
internal buffers, soft demux etc, so, I can be sure that the data is paced
efficiently to the appsrc by the application and then also from our plugin
to the rest of the pipeline.

Regards,



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-get-video-playing-event-tp4674379p4674396.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list