[FFmpeg-trac] #2267(undetermined:new): contrast loss when encoding from h264 yuvj420p to mpeg4 yuv420p

FFmpeg trac at avcodec.org
Wed Feb 13 15:26:32 CET 2013


#2267: contrast loss when encoding from h264 yuvj420p to mpeg4 yuv420p
-------------------------------------+-------------------------------------
             Reporter:  sperate      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by sperate):

 I've attached the video files and also a picture of the problem as seen on
 my screen.

 How i've obtained them :
 {{{
 E:\Images\ARCHIVE\éolienne-piggott\Videos\exemple>ffmpeg -i
 example_input.MOV -b:v 4000k example_output_dull.AVI
 ffmpeg version N-49610-gc2dd5a1 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Feb  5 2013 13:20:59 with gcc 4.7.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca
 --enable-libfreetype --e
 nable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
 --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
 libtheora --enable-
 libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
 libxvid --enable-zlib
   libavutil      52. 17.101 / 52. 17.101
   libavcodec     54. 91.100 / 54. 91.100
   libavformat    54. 61.104 / 54. 61.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 35.101 /  3. 35.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'example_input.MOV':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     encoder         : Lavf54.61.104
   Duration: 00:00:01.70, start: 0.000000, bitrate: 10027 kb/s
     Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
 0x31637661), yuvj420p, 640x480, 10023 kb/s, 30 fps, 30 tbr, 12k tbn, 24k
 tbc
     Metadata:
       handler_name    : DataHandler
 Output #0, avi, to 'example_output_dull.AVI':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     ISFT            : Lavf54.61.104
     Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 640x480,
 q=2-31, 4000 kb/s, 30 tbn, 30 tbc
     Metadata:
       handler_name    : DataHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> mpeg4)
 Press [q] to stop, [?] for help
 frame=   51 fps=0.0 q=3.5 Lsize=    1002kB time=00:00:01.70
 bitrate=4827.0kbits/s
 video:995kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 0.680308%



 E:\Images\ARCHIVE\éolienne-piggott\Videos\exemple>ffmpeg -i
 example_input.MOV -vf mp=eq=0:0 -b:v 4000k example_output_mpfilter.AVI
 ffmpeg version N-49610-gc2dd5a1 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Feb  5 2013 13:20:59 with gcc 4.7.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca
 --enable-libfreetype --e
 nable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
 --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
 libtheora --enable-
 libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
 libxvid --enable-zlib
   libavutil      52. 17.101 / 52. 17.101
   libavcodec     54. 91.100 / 54. 91.100
   libavformat    54. 61.104 / 54. 61.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 35.101 /  3. 35.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'example_input.MOV':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     encoder         : Lavf54.61.104
   Duration: 00:00:01.70, start: 0.000000, bitrate: 10027 kb/s
     Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
 0x31637661), yuvj420p, 640x480, 10023 kb/s, 30 fps, 30 tbr, 12k tbn, 24k
 tbc
     Metadata:
       handler_name    : DataHandler
 [Parsed_mp_0 @ 026199e0] 'eq' is a wrapped MPlayer filter (libmpcodecs).
 This filter may be removed
 once it has been ported to a native libavfilter.
 Output #0, avi, to 'example_output_mpfilter.AVI':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     ISFT            : Lavf54.61.104
     Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 640x480,
 q=2-31, 4000 kb/s, 30 tbn, 30 tbc
     Metadata:
       handler_name    : DataHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> mpeg4)
 Press [q] to stop, [?] for help
 frame=   51 fps=0.0 q=3.8 Lsize=    1000kB time=00:00:01.70
 bitrate=4821.2kbits/s
 video:994kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 0.681429%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2267#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list