Skip to main content
Version: v5.9.0

Encoding, Decoding and Transcoding Testing

Once the previous sections for installation are complete, the host and Quadra device are now ready for use.

The user can now run the run_ffmpeg_quadra.sh script to test basic encoding, decoding and transcoding features.

To test the systems, change directory to the FFmpeg root folder and run the following command line.

bash run_ffmpeg_quadra.sh

image-20260821-191058.png

After running script the test menu above is shown. Select tests to run (1 to 18):

1check pci deviceWill list all NETINT PCIe devices on the system
2check nvme listWill call sudo nvme list listing all installed NVMe devices.
3rsrc_initThis will call  ../libxcoder/build/init_rsrc to initialize all Quadras.
4ni_rsrc_monThis runs the resource monitor
5test 264 decoderTests h264- > yuv decoding function. After the decoding is finished it will display the output.yuv
6test 265 decoderThis item will test the h265- > yuv decoding function. After the decoding is finished it will display the output.yuv file
7test vp9 decoderThis item will test the vp9- > yuv decoding function. After the decoding is finished it will display the output.yuv
8test 264 encoderThis option will test the yuv- > h264 encoding function. After the encoding is finished it will display the output.264 file
9test 265 encoderThis item will test the yuv- > h265 encoding function. After the encoding is finished it will display the output.265 file
10test av1 encoderThis item will test the yuv- > av1 encoding function. After the encoding is finished it will display the output.av1 file
11test 264- > 265 transcoderThis item will test the h264 to h265 transcoding function. After the transcoding is finished it will display the output.265 file.
12test 264- > av1 transcoderThis option will test the h264 to av1 transcoding function. After the transcoding is finished, it will display the output.av1 file
13test 265- > 264 transcoderThis item will test the h265 to h264 transcoding function. After the transcoding is finished it will display the output.264 file
14test 265- > av1 transcoderThis item will test the h265 to av1 transcoding function. After the transcoding is finished it will display the output.av1 file
15test vp9- > 264 transcoderThis item will test the vp9 to h264 transcoding function. After the transcoding is finished it will display the output.264 file.
16test vp9- > 265 transcoderThis item will test the vp9 to h265 transcoding function. After the transcoding is finished it will display the output.265 file.
17test vp9- > av1 transcoderThis item will test the vp9 to av1 transcoding function. After the transcoding is finished it will display the output.av1 file.
18QuitThis will quit this menu and return the user to the command line.

All FFmpeg output messages from encoding, decoding or transcoding, will be output to the ffmpeg.log file contained in the same folder as the record.

note

Between different releases, the encoded file size may be slightly different from the number recorded by the run_ffmpeg_quadra.sh script. This is normal and expected.