Hi All,
We have two requirements.
1. Is it possible to capture custom resolutions (example : 480x 272 ) by imx6q?
2. In second requirement we are able to capture NTSC (720 X 480) video in imx6q . Now is there any v4l2 based application available to scale down video to custom resolution (example 480x272).
Please let me know if any of the option is possible.
Thanks,
Jemish
Hi Jemish
one can look at unit test examples, read doc folder in ../test/mxc_v4l2_test/
http://downloads.yoctoproject.org/mirror/sources/imx-test-5.2.tar.gz
it is also described in attached Linux Manual sect.6.4.2 Video4Linux API test
resize examples in:
https://community.freescale.com/docs/DOC-94961
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks a lot for your suggestion!
We made it working as of now by doing few changes in sample application we were using.
We can close this thread as of now. If needed I will open new thread.
Once again thank a lot for your suggestions.
Thanks,
Jemish
Hi Igor,
One quick question if I am using
Below API for scale down.
VIDIOC_S_CROP
How can we confirm whether it is using hw scaler (IPU) or ARM cpu?
Thanks,
Jemish
Hi Igor,
I have read the suggested document but it nowhere confirming whether it is using hardware scaler(IPU) or ARM (CPU).
Would you please confirm ?
Thanks,
Jemish
Hi Jemish
please look at resize examples
GitHub - rogeriorps/v4l2-examples: V4L2 example codes for i.MX5 and i.MX6 families
~igor