[FFmpeg-trac] #463(avcodec:open): MJPG decoding broken (was: Conversion from PIX_FMT_YUVJ422P to PIX_FMT_YUV420P appears broken)

FFmpeg trac at avcodec.org
Tue Sep 13 18:42:49 CEST 2011


#463: MJPG decoding broken
------------------------------------+-----------------------------------
             Reporter:  DonMoir     |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  important   |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by cehoyos):

 * priority:  normal => important
 * version:  unspecified => git-master
 * component:  undetermined => avcodec
 * reproduced:  0 => 1


Comment:

 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%
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/463#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list