Opened 10 years ago

Closed 10 years ago

#3245 closed defect (fixed)

Fails to decode mov (mjpeg codec) file recorded by DVR Recon device made by "Fast Forward Video"

Reported by: Andrey Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: mjpeg regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

ffplay bad-example.mov
ffplay version 2.1.1 Copyright (c) 2003-2013 the FFmpeg developers

built on Dec 26 2013 16:52:42 with gcc 4.8.2 (GCC)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/doc/ffmpeg-2.1.1/html --mandir=/usr/man --disable-debug --enable-shared --disable-static --enable-pthreads --enable-libtheora --enable-libvorbis --enable-gpl --enable-version3 --enable-postproc --enable-swscale --enable-x11grab --enable-avfilter --enable-gnutls --enable-libcdio --enable-libssh --arch=x86_64 --enable-libmp3lame --enable-libx264
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bad-example.mov':B f=0/0

Metadata:

creation_time : 2003-01-01 00:00:00

Duration: 00:02:00.08, start: 0.000000, bitrate: 40814 kb/s

Stream #0:0(eng): Video: mjpeg (mjpa / 0x61706A6D), yuvj422p(pc), 720x576, 40810 kb/s, 25 fps, 25 tbr, 600 tbn, 600 tbc (default)
Metadata:

creation_time : 2003-01-01 00:00:00
handler_name : Apple Alias Data Handler

Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:

creation_time : 2003-01-01 00:00:00
handler_name : Apple Alias Data Handler

[swscaler @ 0x7fd34410d3c0] deprecated pixel format used, make sure you did set range correctly
[mjpeg @ 0x7fd354001a20] Can not process SOS before SOF, skipping
[mjpeg @ 0x7fd354001a20] Found EOI before any SOF, ignoring
[mjpeg @ 0x7fd354001a20] Can not process SOS before SOF, skipping
[mjpeg @ 0x7fd354001a20] Found EOI before any SOF, ignoring
[mjpeg @ 0x7fd354001a20] Can not process SOS before SOF, skipping
[mjpeg @ 0x7fd354001a20] Found EOI before any SOF, ignoring
[mjpeg @ 0x7fd354001a20] Can not process SOS before SOF, skipping
[mjpeg @ 0x7fd354001a20] Found EOI before any SOF, ignoring
[mjpeg @ 0x7fd354001a20] Can not process SOS before SOF, skipping
[mjpeg @ 0x7fd354001a20] Found EOI before any SOF, ignoring
[mjpeg @ 0x7fd354001a20] Can not process SOS before SOF, skipping
[mjpeg @ 0x7fd354001a20] Found EOI before any SOF, ignoring
[mjpeg @ 0x7fd354001a20] Can not process SOS before SOF, skipping
...

Change History (6)

comment:2 by Carl Eugen Hoyos, 10 years ago

Please provide the (original) sample for which you posted the console output.
(You uploaded an avi file made with MEncoder.)

comment:3 by Andrey, 10 years ago

Uh! Sorry, didn't pay attention that mencoder avied the original.
But the short version also misplays.
Anyhow the original is here (~600M):
https://drive.google.com/file/d/0BzbaeFgPqUw4M1lZMXVweTVLbGc/edit?usp=sharing

comment:4 by Carl Eugen Hoyos, 10 years ago

Keywords: mjpeg added
Reproduced by developer: set
Status: newopen
Version: 2.1.1git-master

I was unable to cut the sample, uploaded to http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket3245/
Plays fine with mplayer -vc m3jpeg and mplayer -vc mjpeg

comment:5 by Carl Eugen Hoyos, 10 years ago

Keywords: regression added
Priority: normalimportant

Regression since 643fd8a1 / r19342

comment:6 by Michael Niedermayer, 10 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.