Ticket #957 (closed defect: fixed)
can't decode MJPEG avi
| Reported by: | swybo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | undetermined |
| Version: | git-master | Keywords: | mjpeg avi |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
Trying to decode video encoded with MJPEG codec will fail if video contains delta frames => only first image will be decoded
reproduced with ffmpeg, ffplay
Windows 7 64bits, ffmpeg 0.10
Attachments
Change History
comment:1 Changed 17 months ago by cehoyos
- Keywords mjpeg added
- Priority changed from important to normal
- Component changed from FFmpeg to undetermined
comment:2 Changed 17 months ago by swybo
Sorry about that...
Complete command line that generated the report file:
ffmpeg -v 9 -loglevel 99 -i MJPEGVideoWithDFrames.avi output.avi -report
comment:3 Changed 17 months ago by swybo
Sample video file is currently uploaded to upload.ffmpeg.org/incoming/MJPEGVideoWithDFrames.avi
comment:4 Changed 17 months ago by reimar
This has nothing to do with "delta frames" (no idea what it is but I don't think it is even used here) and nothing with the (M)JPEG decoder.
MPlayer can play it fine using FFmpeg's decoder.
It plays only one frame when using -demuxer lavf though.
ffprobe -show_packets confirms FFmpeg sees only a single video frame.
This should be a bug in the AVI demuxer.
comment:5 Changed 17 months ago by swybo
That's my point actually, if you check the avi file in virtual dub you'll see D frames (delta frames) every 3 frames with no data in it. This is caused by a badly functionning encoder actually but VLC or virtual dub can read all frames in the video whereas ffplay, ffmpeg... can't find any frame other than the first one
I thought this indicated some kind of issue in the AVI demuxer
comment:6 Changed 17 months ago by cehoyos
- Status changed from new to open
- Version changed from 0.10 to git-master
- Reproduced by developer set




To make this a valid ticket, please add