Run FFmpeg inside the Android container
After copying the build to the Android container, restart the Android container
docker restart android11
To use Quadra follow these steps
- Initialization the device
ni_rsrc_mon
ni_rsrc_mon_logan #this step is need for Quadra and Logan co-existence
note
ni_rsrc_mon is for Quadra only. For Logan use ni_rsrc_mon_logan.
- Execute the ffmpeg command
Example Test command for Quadra
ffmpeg -c:v h264_ni_quadra_dec -i 1280x720p_Basketball.h264 -c:v h265_ni_quadra_enc test.h265 -y
For co-existence of Quadra and Logan, the test command for Logan should be
ffmpeg -c:v h264_ni_logan_dec -i 1280x720p_Basketball.264 -c:v h265_ni_logan_enc test.265 -y