Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1527 closed defect (fixed)

AVRn (mjpeg) decodes incorrectly

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: AVID AVrn jpeg
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

attached file decodes incorrectly compared to original codec

C:\>ffmpeg -i 24bpp.mov out.avi
ffmpeg version N-42449-g9ca27df Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 12 2012 02:37:12 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 34.100 / 54. 34.100
  libavformat    54. 16.104 / 54. 16.104
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mjpeg @ 0x1df2320] EOI missing, emulating
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '24bpp.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
  Duration: 00:00:12.64, start: 0.000000, bitrate: 422 kb/s
    Stream #0:0(eng): Video: mjpeg (AVRn / 0x6E525641), yuvj422p, 320x272 [SAR 7
2:72 DAR 20:17], 417 kb/s, 8 fps, 8 tbr, 1000k tbn, 1000k tbc
    Metadata:
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
w:320 h:272 pixfmt:yuvj422p tb:1/1000000 fr:8/1 sar:1/1 sws_param:flags=2
[auto-inserted scaler 0 @ 0x1e03ea0] w:320 h:272 fmt:yuvj422p sar:1/1 -> w:320 h
:272 fmt:yuv420p sar:1/1 flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    ISFT            : Lavf54.16.104
    Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x272 [SAR 1:
1 DAR 20:17], q=2-31, 200 kb/s, 8 tbn, 8 tbc
    Metadata:
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> mpeg4)
Press [q] to stop, [?] for help
[mjpeg @ 0x1df2320] EOI missing, emulating
    Last message repeated 54 times
frame=   55 fps=0.0 q=9.5 size=     310kB time=00:00:06.87 bitrate= 369.6kbits/s
EOI missing, emulating
[mjpeg @ 0x1df2320] EOI missing, emulating
    Last message repeated 45 times
frame=  102 fps=0.0 q=6.2 Lsize=     462kB time=00:00:12.75 bitrate= 296.9kbits/
s
video:454kB audio:0kB subtitle:0 global headers:0kB muxing overhead 1.775161%

Attachments (1)

24bpp.mov (651.8 KB ) - added by ami_stuff 12 years ago.

Download all attachments as: .zip

Change History (4)

by ami_stuff, 12 years ago

Attachment: 24bpp.mov added

comment:1 by Carl Eugen Hoyos, 12 years ago

Keywords: AVID AVrn added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Related to ticket #970.

comment:2 by Michael Niedermayer, 12 years ago

Resolution: fixed
Status: openclosed

comment:3 by Michael Niedermayer, 12 years ago

Component: undeterminedavcodec
Keywords: jpeg added
Note: See TracTickets for help on using tickets.