AnsweredAssumed Answered

GStreamer Get Exact Time of 1st Frame

Question asked by mad strum on Oct 28, 2014
Latest reply on Sep 20, 2015 by 世浩 李

Hi,

 

I'm running GStreamer from the command line to record video to H.264 avi like this.


gst-launch tvsrc fps-n=25 ! 'video/x-raw-yuv, width=(int)720, height=(int)576, framerate=(fraction)25/1' ! vpuenc codec=6 ! avimux ! queue2 max-size-buffer=1 max-size-bytes=0 max-size-time=0 ! filesink location=output.avi

 

There is some init time from when I do gst-launch till when the video actually starts recording.

 

Is there any method to get the exact time of the very 1st frame output to text file? Or better still, the exact time of every frame?

Thank you.

Outcomes