Opened 5 years ago

Closed 4 years ago

#4215 closed defect (fixed)

VLC is unable to decode some (M)JPEGs

Reported by: blind_oracle Owned by:
Priority: normal Milestone: Bugs paradize
Component: Decoders Version: master git
Severity: major Keywords:
Cc: Difficulty: unknown
Platform(s): all Work status: Not started

Description

I have two Logitech web cameras, "Notebook Pro" and "HD C910", which are UVC-compatible and capable of emitting MJPEG streams through V4L2. I'm grabbing these frames in my program and writing them into .mkv and also streaming over HTTP. When i watch these .mkv or streams generated by first camera, VLC handles them fine, but when i'm using second camera, VLC displays garbage with most of the screen grey.

BUT! The same stream is watched fine in Firefox, frames from the stream are opening well in XnView? etc. And .mkv are playing fine in MPC-HC.

Latest VLC night build behaves the same way, the only difference that it just crashes when trying to display HTTP stream :)

I'm attaching the JPEG in question, and screenshot of VLC displaying such streams.

Attachments (2)

frame.jpg (95.2 KB) - added by blind_oracle 5 years ago.
frame from Logitech HD C910
frame_garbage.jpg (29.8 KB) - added by blind_oracle 5 years ago.
Screenshot of VLC displaying the stream

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by blind_oracle

frame from Logitech HD C910

Changed 5 years ago by blind_oracle

Screenshot of VLC displaying the stream

comment:1 Changed 4 years ago by ami_stuff

Should be fixed (bug in ffmpeg):

https://ffmpeg.org/trac/ffmpeg/ticket/267

comment:2 Changed 4 years ago by jb

  • Platform(s) changed from Win32 to all
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in FFmpeg/libav

Note: See TracTickets for help on using tickets.