Opened 5 years ago

Closed 5 years ago

Last modified 5 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 cehoyos 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by cehoyos

  • Status changed from new to open

Command line and complete, uncut output missing.

Changed 5 years ago by cehoyos

comment:2 Changed 5 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Priority changed from normal to important
  • Reproduced by developer set
  • Summary changed from Conversion from PIX_FMT_YUVJ422P to PIX_FMT_YUV420P appears broken to MJPG decoding broken
  • Version changed from unspecified to git-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 Changed 5 years ago by cehoyos

  • Keywords regression added
  • Summary changed from MJPG decoding broken to MJPEG decoding regression

comment:4 Changed 5 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed

should be fixed

comment:5 Changed 5 years ago by cehoyos

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