Hi, TI team members
I tried V4L2 Video Encoder Test Application by reading guidance. (https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/08_02_00_03/exports/docs/linux/Foundational_Components_Multimedia_D5520_VXE384.html)
When I ran ' tienc_encode -i 0000000000.yuv -f NV12 -c H264 -w 640 -h 480 -o video.h264', logs are below.
root@j7-evm:/run/media/sda1/dump# tienc_encode -i 0000000000.yuv -f NV12 -c H264 -w 640 -h 480 -o video.h264 query_ctrls Enumerating all non-compound query_ctrls Got ctrl.id=0x9909cb type=1 query_ctrls name=GOP size minimum=1 maximum=7200 query_ctrls step=1 default_value=1800 query_ctrls flags=00000000 query_ctrls Got ctrl.id=0x9909cf type=1 query_ctrls name=Video Bitrate minimum=50000 maximum=100000000 query_ctrls step=1 default_value=500000 query_ctrls flags=00000000 query_ctrls Got ctrl.id=0x990a66 type=1 query_ctrls name=H264 I period minimum=1 maximum=600 query_ctrls step=1 default_value=30 query_ctrls flags=00000000 query_ctrls Enumerating all non-compound ended errno=22 Invalid argument query_ctrls Enumerating all non-compound ext query_ctrls Got ext_ctrl.id=0x9909cb type=1 query_ctrls name=GOP size minimum=1 maximum=7200 query_ctrls step=1 default_value=1800 query_ctrls elem_size=4 elems=1 nr_of_dims=0 query_ctrls flags=00000000 query_ctrls Got ext_ctrl.id=0x9909cf type=1 query_ctrls name=Video Bitrate minimum=50000 maximum=100000000 query_ctrls step=1 default_value=500000 query_ctrls elem_size=4 elems=1 nr_of_dims=0 query_ctrls flags=00000000 query_ctrls Got ext_ctrl.id=0x990a66 type=1 query_ctrls name=H264 I period minimum=1 maximum=600 query_ctrls step=1 default_value=30 query_ctrls elem_size=4 elems=1 nr_of_dims=0 query_ctrls flags=00000000 query_ctrls Enumerating all non-compound ext ended errno=22 Invalid argument query_ctrls Enumerating all compound ext query_ctrls Enumerating all compound ext ended errno=22 Invalid argument query_ctrls Enumerating all controls ext query_ctrls Got ext_ctrl.id=0x9909cb type=1 query_ctrls name=GOP size minimum=1 maximum=7200 query_ctrls step=1 default_value=1800 query_ctrls elem_size=4 elems=1 nr_of_dims=0 query_ctrls flags=00000000 query_ctrls Got ext_ctrl.id=0x9909cf type=1 query_ctrls name=Video Bitrate minimum=50000 maximum=100000000 query_ctrls step=1 default_value=500000 query_ctrls elem_size=4 elems=1 nr_of_dims=0 query_ctrls flags=00000000 query_ctrls Got ext_ctrl.id=0x990a66 type=1 query_ctrls name=H264 I period minimum=1 maximum=600 query_ctrls step=1 default_value=30 query_ctrls elem_size=4 elems=1 nr_of_dims=0 query_ctrls flags=00000000 query_ctrls Enumerating all controls ext ended errno=22 Invalid argument query_ctrls Got ctrl.id=0x9909cb type=1 query_ctrls name=GOP size minimum=1 maximum=7200 query_ctrls step=1 default_value=1800 query_ctrls flags=00000000 query_ctrls Got ctrl.id=0x9909cf type=1 query_ctrls name=Video Bitrate minimum=50000 maximum=100000000 query_ctrls step=1 default_value=500000 query_ctrls flags=00000000 query_ctrls Got ctrl.id=0x990a66 type=1 query_ctrls name=H264 I period minimum=1 maximum=600 query_ctrls step=1 default_value=30 query_ctrls flags=00000000 query_ctrls Got ext_ctrl.id=0x9909cb type=1 query_ctrls name=GOP size minimum=1 maximum=7200 query_ctrls step=1 default_value=1800 query_ctrls elem_size=4 elems=1 nr_of_dims=0 query_ctrls flags=00000000 query_ctrls Got ext_ctrl.id=0x9909cf type=1 query_ctrls name=Video Bitrate minimum=50000 maximum=100000000 query_ctrls step=1 default_value=500000 query_ctrls elem_size=4 elems=1 nr_of_dims=0 query_ctrls flags=00000000 query_ctrls Got ext_ctrl.id=0x990a66 type=1 query_ctrls name=H264 I period minimum=1 maximum=600 query_ctrls step=1 default_value=30 query_ctrls elem_size=4 elems=1 nr_of_dims=0 query_ctrls flags=00000000 try_ctrls VIDIOC_TRY_EXT_CTRLS succeeded set_ctrls VIDIOC_S_EXT_CTRLS succeeded ^C root@j7-evm:/run/media/sda1/dump# ls -al total 2560 drwxrwxrwx 1 root root 524288 Mar 23 21:14 . drwxrwxrwx 1 root root 524288 Jan 1 1970 .. -rwxrwxrwx 1 root root 460800 Mar 23 20:52 0000000000.yuv drwxrwxrwx 1 root root 524288 Mar 8 19:38 separate drwxrwxrwx 1 root root 524288 Mar 8 19:38 topview -rwxrwxrwx 1 root root 0 Mar 23 21:14 video.h264
Also, I used PSDK8.2.
I was wondering If I missed something like a patch.
Best regards
Yongsig.