Hi:

My camera doesn’t provide sets of fps, but could be queried to get frames of data.

So I think it is not a push source, then I add a capsfilter after it to set frame_rate.

gst-launch -v mycamsrc num-buffers=200 ! video/x-raw-yuv, framerate=10 ! tee name=t ! queue ! xvimagesink t. ! theoraenc ! oggmux ! filesink location=test.ogg

Is it the correct way?

 

However, I found the real fps doesn’t match to 10 exactly.

Then I want to add a videorate after capsfilter to smooth it.

Correct?

 

Thanks.

 

 

 

 

 

ZHAO, Halley (Aihua)

Email: halley.zhao@intel.com

Tel: +86(21)61166476

iNet: 8821-6476

SSG/OTC/Moblin 3W038 Pole: F4