Hello, I am executing the following gstreamer pipeline on the MediaTek 520 MVPU running AIOT version v25.1.1:
gst-launch-1.0 filesrc location="./mammoth-lakes-ca-usa-o2-1080x1920.jpg" ! jpegparse ! v4l2jpegdec ! videoconvert ! v4l2jpegenc ! filesink location="./mammoth-lakes-ca-usa-o2-1080x1920-hwencoder.jpg"
The output is corrupted, can someone let me know what I can do to correct this? As a side note the example with a test src input taken from here works fine:
gst-launch-1.0 -v videotestsrc num-buffers=1 ! queue ! video/x-raw,framrate=30/1,width=160,height=128,format=NV12 ! v4l2jpegenc ! queue ! jpegparse ! filesink location=out-160x128-NV12.jpg
This issue is also consistently showing up when trying to capture images from the camera.
Example jpeg input:
Example corrupted Jpeg Output:


