hobbypax.blogg.se

Video codec decoder
Video codec decoder













output_format set the format of frames saved to disk, supported output_frames write the selected video frames to disk, possible linear_output use linear buffers as the final output of theĭecoder which may require the use of an image Used to test interaction with older components Wrapper that translates to the VDA interface, use_vd_vda use the new VD-based video decoders with a use_vd use the new VD-based video decoders. use-legacy use the legacy VDA-based video decoders. Md5 (default, compare against md5hash of expectedįrames), ssim (compute SSIM against expectedįrames, currently allowed for AV1 streams only) validator_type validate decoded frames, possible values are vmodule enable verbose mode for the specified module, Multiple command line arguments can be given to the command: -v enable verbose mode, e.g. These frame checksums can be generated using ffmpeg, e.g.: ffmpeg -i test-25fps.h264 -f framemd5 5. The video metadata file contains info about the video such as its codec profile, dimensions, number of frames and a list of md5 frame checksums to validate decoded frames. They can also be found in the media/test/data folder (e.g. json file that needs to be deployed alongside the test video. Video Metadata: These videos also have an accompanying metadata. If no video is specified test-25fps.h264 will be used. Test videos: Test videos are present for multiple codecs in the media/test/data folder in Chromium's source tree (e.g. video_decode_accelerator_tests test-25fps.h264 Running the video decoder tests can be done by executing.

video codec decoder

To run the video decoder tests manually the video_decode_accelerator_tests target needs to be built and deployed to the device being tested. See the Tast quickstart guide for more information about the Tast framework.

video codec decoder

Run all VP9 profile 2 tests: tast run $HOST video.DecodeAccelVP92*Ĭheck the tast video folder for a list of all available tests.Run all VP8 tests: tast run $HOST video.DecodeAccelVP8*.Wildcards can be used to run specific sets of tests: To run all video decoder tests use: tast run $HOST video.DecodeAccelH264* video.DecodeAccelVP* Test data is automatically deployed to the device being tested.

video codec decoder

The Tast framework provides an easy way to run the video decoder tests from a ChromeOS chroot.















Video codec decoder