[FFmpeg-trac] #5637(avcodec:new): Wrong polarity for mjpeg in avi

FFmpeg trac at avcodec.org
Mon Jun 13 00:51:14 CEST 2016


#5637: Wrong polarity for mjpeg in avi
--------------------------------------+---------------------------------
               Reporter:  cehoyos     |                  Owner:
                   Type:  defect      |                 Status:  new
               Priority:  normal      |              Component:  avcodec
                Version:  git-master  |               Keywords:  mjpeg
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+---------------------------------
 http://news.gmane.org/gmane.comp.video.ffmpeg.user
 A user uploaded a mjpeg sample that has wrong polarity with FFmpeg, the
 sample looks correct if 493296800c4cfd76561f71ded5f0893108063e67 gets
 removed.
 Related to ticket #362 and ticket #5523
 {{{
 $ ffmpeg -i titel_cut.avi -qscale 2 -vframes 14 out.avi
 ffmpeg version N-80298-g15f9189 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 24.100 / 55. 24.100
   libavcodec     57. 46.100 / 57. 46.100
   libavformat    57. 37.101 / 57. 37.101
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 46.101 /  6. 46.101
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Guessed Channel Layout for  Input Stream #0.1 : stereo
 Input #0, avi, from 'titel_cut.avi':
   Duration: 00:00:00.64, start: 0.000000, bitrate: 32000 kb/s
     Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc,
 bt470bg/unknown/unknown), 736x560, 25 fps, 25 tbr, 25 tbn, 25 tbc
     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
 channels, s16, 1411 kb/s
 Please use -q:a or -q:v, -qscale is ambiguous
 [swscaler @ 0x22539e0] deprecated pixel format used, make sure you did set
 range correctly
 [avi @ 0x2218900] Using AVStream.codec to pass codec parameters to muxers
 is deprecated, use AVStream.codecpar instead.
     Last message repeated 1 times
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf57.37.101
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 736x560,
 q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc57.46.100 mpeg4
     Side data:
       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo, fltp,
 192 kb/s
     Metadata:
       encoder         : Lavc57.46.100 ac3
 Stream mapping:
   Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg4 (native))
   Stream #0:1 -> #0:1 (pcm_s16le (native) -> ac3 (native))
 Press [q] to stop, [?] for help
 frame=   14 fps=0.0 q=2.0 Lsize=     186kB time=00:00:00.97
 bitrate=1558.5kbits/s speed=12.1x
 video:152kB audio:23kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 6.105284%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5637>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list