[FFmpeg-trac] #225(undetermined:open): Converting from YUVJ to YUV lose contrast

FFmpeg trac at avcodec.org
Fri May 20 12:10:06 CEST 2011


#225: Converting from YUVJ to YUV lose contrast
------------------------------+---------------------------
Reporter:  sghpunk            |       Owner:
    Type:  defect             |      Status:  open
Priority:  normal             |   Component:  undetermined
 Version:  git-master         |  Resolution:
Keywords:  YUV/YUVJ contrast  |  Blocked By:
Blocking:                     |  Reproduced:  0
Analyzed:  0                  |
------------------------------+---------------------------

Comment (by sghpunk):

 Ok, I upload input file http://www.datafilehost.com/download-dfec691e.html
 Output file: http://www.datafilehost.com/download-a3c7345e.html

 And, yes with command line:
 {{{
 ffmpeg.exe -an -i input.mkv -qscale 2 low_contrast_yuv.mkv
 }}}

 The same problem, low contrast. Here is encoding log:
 {{{
 ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
   built on May 19 2011 17:41:01 with gcc 4.5.2
   configuration: --prefix=/mingw --disable-static --enable-shared
 --enable-gpl --enable-version3 --disable-doc --enable-postproc --disable-
 network --enable-memalign-hack --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libmp3lame --enable-libspeex --enable-libvorbis
 --enable-libx264 --enable-pthreads --enable-frei0r --extra-
 cflags='-mthreads -mtune=nocona -march=nocona -msse3 -m80387 -mfpmath=387
 -O2 -fgnu89-inline -Wno-error=missing-prototypes' --extra-ldflags='-Wl
 ,--enable-auto-image-base -Wl,--enable-auto-import' --extra-libs=-ldl
 --cpu=nocona
   libavutil    51.  2. 1 / 51.  2. 1
   libavcodec   53.  5. 0 / 53.  5. 0
   libavformat  53.  0. 3 / 53.  0. 3
   libavdevice  53.  0. 0 / 53.  0. 0
   libavfilter   2.  5. 0 /  2.  5. 0
   libswscale    0. 14. 0 /  0. 14. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [matroska,webm @ 00b70280] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, matroska,webm, from 'x264-low_contract_yuv_input.mkv':
   Metadata:
     MAKER           : NIKON CORPORATION
     MODEL           : NIKON D90
     CREATION_TIME   : 2011-05-05 07:47:28
     ENCODER         : Lavf53.0.3
   Duration: 00:00:05.04, start: 0.000000, bitrate: N/A
     Stream #0.0: Video: mjpeg, yuvj422p, 1280x720, PAR 1:1 DAR 16:9, 24
 fps, 24 tbr, 1k tbn, 24 tbc (default)
 Incompatible pixel format 'yuvj422p' for codec 'mpeg4', auto-selecting
 format 'yuv420p'
 [buffer @ 003eff60] w:1280 h:720 pixfmt:yuvj422p tb:1/1000000 sar:1/1
 [ffsink @ 00b604a0] auto-inserting filter 'auto-inserted scaler 0' between
 the filter 'src' and the filter 'out'
 [scale @ 00ba7e60] w:1280 h:720 fmt:yuvj422p -> w:1280 h:720 fmt:yuv420p
 flags:0xa0000004
 Output #0, matroska, to 'low_contrast_yuv.mkv':
   Metadata:
     MAKER           : NIKON CORPORATION
     MODEL           : NIKON D90
     CREATION_TIME   : 2011-05-05 07:47:28
     encoder         : Lavf53.0.3
     Stream #0.0: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
 q=2-31, 200 kb/s, 1k tbn, 24 tbc (default)
 Stream mapping:
   Stream #0.0 -> #0.0
 Press [q] to stop, [?] for help
 ...CUT...
 video:3980kB audio:0kB global headers:0kB muxing overhead 0.048334%
 }}}
 And result output file: http://www.datafilehost.com/download-12f6e2a2.html
 I build ffmpeg myself.

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


More information about the FFmpeg-trac mailing list