iliasam / STM32_HOST_UVC_Camera

Example of connecting USB Web camera to STM32F4 USB HOST
http://we.easyelectronics.ru/STM32/zahvat-izobrazheniya-s-usb-kamery-pri-pomoschi-stm32.html
GNU Lesser General Public License v3.0
145 stars 66 forks source link

JDR_FMT1 : Data format error. The input JPEG data can be collapted. #11

Closed AngryTeaPot closed 2 years ago

AngryTeaPot commented 2 years ago

Hello, First of all thanks for the UVC it helps a lot.

I worked on YUV2 succesfully but when i turn to MJPEG format i got some error which is like JDR_FMT1 : Data format error. The input JPEG data can be collapted. Have you met this kind of error before ? if you met , im wondering how you overcome for this stiuation.

PS: MJPEG is working there is no problem, im getting the frames and displaying on the screen but the images are shaking and corrupted because of the decomp JDR_FMT1 error.

iliasam commented 2 years ago

Sorry, I have not meet with a such problem before.

AngryTeaPot commented 2 years ago

I solve the Issue. Th problem is about the camera. The camera versions or some brands' cameras may not support the DHT or some specific markers for the MJPEG - JPEG standard. I use Logitech C200 and it fits perfectly for me with the JPEG DHT K.3 standard table.