Skip to content

Decode error #55: Not a JPEG file: starts with 0xff 0xda  #476

@CarlFK

Description

@CarlFK

3 out of 3 opsis are broken, but in slightly different ways.

opsis-v0 0 4-489-geaab51f

carl@twist:~/src/HDMI2USB-litex-firmware/firmware$ gst-launch-1.0 v4l2src num-buffers=20 device=/dev/video1 ! jpegdec ! fakesink
...
ERROR: from element /GstPipeline:pipeline0/GstJpegDec:jpegdec0: Failed to decode JPEG image
Additional debug info:
gstjpegdec.c(1194): gst_jpeg_dec_handle_frame (): /GstPipeline:pipeline0/GstJpegDec:jpegdec0:
Decode error #55: Not a JPEG file: starts with 0xff 0xda

git describe: v0.0.4-489-geaab51f

but, it only happens on 2 of 3 boards:
DNA: 01332dbbfc5b5aa0
DNA: 01339242291f4b8b

the broken image came from my test system:
DNA: 0136c23318f03f58

pi@oppi:~/prebuilt $ gst-launch-1.0 v4l2src num-buffers=3 device=/dev/video0 ! jpegdec ! fakesink
...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.364671087

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions