This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: v4l2 framerate

Part Number: AM5728
Other Parts Discussed in Thread: TMDSEVM572X

Tool/software: Linux

Hello,

I have some problems with the AM572x evaboard and the TMDSEVM572x camera module attached. I use the following gstreamer pipelines:

gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 ! 'video/x-raw,format=(string)NV12,width=1280,height=720,framerate=30/1' ! vpe ! fpsdisplaysink text-overlay=false -v -e

gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 ! 'video/x-raw,format=(string)NV12,width=800,height=600,framerate=30/1' ! vpe ! fpsdisplaysink text-overlay=false -v -e

The first pipeline produces a framerate of 41 fps, the second pipeline produces a framerate of 36 fps. In the filtered caps of v4l2src I selected 30fps, but that doesn't matter?

So I have the following questions:

1. Why does the framerate depend on the selected resolution? How can I set e certain framerate for v4l2 which is independent of the resolution?

2. I want to scale the framerate inside the pipeline. I tried the videorate element, but that didn't work. Can videorate element be used together with live sources?

Thank you

Marc