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.
Part Number: AM5728
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?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Margarita Gashova:
gst-launch-1.0 videotestsrc ! video/x-raw,width=1280,height=720 ! videorate ! video/x-raw, framerate=25/1 ! fpsdisplaysink text-overlay=false -v
works fine, framerate is 25fps.
gst-launch-1.0 videotestsrc is-live=true ! video/x-raw,width=1280,height=720 ! videorate ! video/x-raw, framerate=25/1 ! fpsdisplaysink text-overlay=false -v
also works fine.
gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 ! 'video/x-raw,format=(string)NV12,width=1280,height=720' ! vpe ! videorate ! 'video/x-raw,framerate=25/1' ! fpsdisplaysink text-overlay=false -v
fps=25 but video is jittering around.
Must have something to do with v4l2 live source.
In reply to Marc48067:
I tried your advice,but it didn't work.
so could u help me and give me some advices.
In reply to hsg:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.