[FFmpeg-trac] #2267(FFmpeg:new): contrast loss when encoding from h264 yuvj420p to mpeg4 yuv420p
FFmpeg
trac at avcodec.org
Wed Feb 13 11:28:51 CET 2013
#2267: contrast loss when encoding from h264 yuvj420p to mpeg4 yuv420p
-------------------------------------+-------------------------------------
Reporter: sperate | Type: defect
Status: new | Priority: important
Component: FFmpeg | Version: 1.1.2
Keywords: contrast | Blocked By:
loss | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
When trying to encode from ".mov" files from a camera to avi (mpeg4 or
libxvid) the output movie colors seemed dull.
I figured out it was a catrast loss.
How to reproduce:
{{{
% ffmpeg -i input.MOV -b:v4000k output.AVI
or
% ffmeg -i input.MOV -b:v4000k -vcodec libxvid output.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)
running on Windows XP
}}}
I get rid of the problem by trying to enhance the contrast with
{{{
-vf mp=eq=0:5
}}}
then figured out that just using the mplayer filter without modifing the
contrast gave the best result
{{{
-vf mp=eq=0:0
}}}
It seems to be a color space problem fixed with this filter but there must
be a better way of getting rid of this contrast loss ???
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2267>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list