Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CarlFK opened this issue Jul 1, 2019 · 1 comment
Open

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

CarlFK opened this issue Jul 1, 2019 · 1 comment

Comments

@CarlFK
Copy link
Contributor

CarlFK commented Jul 1, 2019

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
@CarlFK
Copy link
Contributor Author

CarlFK commented Jul 6, 2019

I'm not sure what is and isn't the same error, I'll keep adding here:

git describe: v0.0.4-520-g4db1b0b

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/hdmi2usb/by-num/opsis0/video' is not a capture device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant