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.
Hello Mad,
please refer to the following 2 addresses, maybe they are helpful for you ! We can find how to use timestamp in Gstreamer by these 2 contents.
https://community.freescale.com/message/444528#444528
http://www.linuxtv.org/wiki/index.php/GStreamer
Regards,
weidong
Hello ,the link https://community.freescale.com/message/444528#444528 is not accessed and how can I find it? Thanks!