GStreamer Get Exact Time of 1st Frame

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GStreamer Get Exact Time of 1st Frame

3,642件の閲覧回数
madstrum
Contributor III

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.

ラベル(4)
0 件の賞賛
返信
3 返答(返信)

3,224件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

3,224件の閲覧回数
世浩李
Contributor II

Hello ,the link https://community.freescale.com/message/444528#444528   is not accessed and how can I find it? Thanks!

0 件の賞賛
返信

3,224件の閲覧回数
madstrum
Contributor III
0 件の賞賛
返信