Bugs in the Multimedia API sample code

  1. I decode the sample video “sample_outdoor_car_1080p_10fps.h264” using the 00_video_decode sample application to a raw YUV file.
    video_decode H264 -o decoded.yuv sample_outdoor_car_1080p_10fps.h264

  2. Then I re-encode the YUV file back to an H264 file using the 01_video_encode sample application.
    video_encode decoded.yuv 1920 1080 H264 encoded.h264

  3. Afterwards, I re-decode the file with the 00_video_decode application.
    video_decode H264 encoded.h264

The video rendered by the integrated EGL renderer is then showing incorrect colors (video appears basically black and white). It is expected to be visually identical to the original sample_outdoors_car… H264 file.

Also, during the decoding to a file in step 1, the application crashes on application exit (“free(): invalid pointer”)

Using JetPack 4.2.2

Hi,
Please set -f 2 in video_decode command. video_encode sample takes I420 format.