Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#463 closed defect (fixed)

MJPEG decoding regression

Reported by: DonMoir 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

With the latest build (9-6-2011) from http://ffmpeg.zeranoe.com/builds/ the conversion from PIX_FMT_YUVJ422P to PIX_FMT_YUV420P now has horizontal lines in the video where it worked properly with the previous build.

Here's a sample file: (3MB)

http://sms.pangolin.com/temp/bikini.mov

Attachments (1)

bikini_cut.mov (1.0 MB ) - added by Carl Eugen Hoyos 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Carl Eugen Hoyos, 13 years ago

Status: newopen

Command line and complete, uncut output missing.

by Carl Eugen Hoyos, 13 years ago

Attachment: bikini_cut.mov added

comment:2 by Carl Eugen Hoyos, 13 years ago

Component: undeterminedavcodec
Priority: normalimportant
Reproduced by developer: set
Summary: Conversion from PIX_FMT_YUVJ422P to PIX_FMT_YUV420P appears brokenMJPG decoding broken
Version: unspecifiedgit-master

Regression since 5e2ea138b7c4c7f3910837611338bb3b8b761045, related to ticket #362.
(out.avi looks broken)

$ ffmpeg -i bikini.mov out.avi
ffmpeg version N-32543-g391b1e3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep 13 2011 18:35:59 with gcc 4.5.3
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil    51. 16. 0 / 51. 16. 0
  libavcodec   53. 13. 0 / 53. 13. 0
  libavformat  53. 12. 0 / 53. 12. 0
  libavdevice  53.  3. 0 / 53.  3. 0
  libavfilter   2. 40. 0 /  2. 40. 0
  libswscale    2.  1. 0 /  2.  1. 0
[mjpeg @ 0x12a4fa0] EOI missing, emulating
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bikini.mov':
  Metadata:
    creation_time   : 1999-06-24 18:18:27
  Duration: 00:00:09.20, start: 0.000000, bitrate: 3206 kb/s
    Stream #0.0(eng): Video: mjpeg (mjpa / 0x61706A6D), yuvj422p, 320x240 [SAR 72:72 DAR 4:3], 3205 kb/s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Metadata:
      creation_time   : 1999-06-24 18:18:27
Incompatible pixel format 'yuvj422p' for codec 'mpeg4', auto-selecting format 'yuv420p'
[buffer @ 0x12a5c20] w:320 h:240 pixfmt:yuvj422p tb:1/1000000 sar:72/72 sws_param:
[buffersink @ 0x12b6540] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x12b6cc0] w:320 h:240 fmt:yuvj422p -> w:320 h:240 fmt:yuv420p flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    creation_time   : 1999-06-24 18:18:27
    ISFT            : Lavf53.12.0
    Stream #0.0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 15 tbn, 15 tbc
    Metadata:
      creation_time   : 1999-06-24 18:18:27
Stream mapping:
  Stream #0.0 -> #0.0 (mjpeg -> mpeg4)
Press [q] to stop, [?] for help
[mjpeg @ 0x12a4fa0] EOI missing, emulating
    Last message repeated 137 times
frame=  138 fps=  0 q=8.2 Lsize=     418kB time=00:00:09.20 bitrate= 371.9kbits/s
video:409kB audio:0kB global headers:0kB muxing overhead 2.182108%

comment:3 by Carl Eugen Hoyos, 13 years ago

Keywords: regression added
Summary: MJPG decoding brokenMJPEG decoding regression

comment:4 by Michael Niedermayer, 13 years ago

Resolution: fixed
Status: openclosed

should be fixed

comment:5 by Carl Eugen Hoyos, 12 years ago

Keywords: mjpeg added
Note: See TracTickets for help on using tickets.