timvideos / HDMI2USB-litex-firmware

A version of the HDMI2USB firmware based around LiteX tools produced by @Enjoy-Digital (based on misoc+migen created by @M-Labs)
https://hdmi2usb.tv
BSD 2-Clause "Simplified" License
145 stars 71 forks source link

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

Open CarlFK opened 5 years ago

CarlFK commented 5 years ago

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 commented 5 years ago

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.