[Ffmpeg-devel] ffmpeg & postprocess_internal.h (colorspace issue)

Michael Niedermayer michaelni
Sat Jul 23 00:37:36 CEST 2005


Hi

On Saturday 23 July 2005 00:13, Nico Sabbi wrote:
> Michael Niedermayer wrote:
> >>Greetings all,
> >>
> >>In a nutshell, I need to process .vob and mp2 video files that are in
> >>"full Y" (luminance range is 0-255) to .mp2 with the "standard" luma
> >>range of 16-234.
> >
> >maybe you should look at mencoder, more specifically the eq/eq2 filters
> >or try something like
> >ffmpeg -i <input> -f rawvideo - | ffmpeg -f rawvideo -s <size> -pix_fmt
> >yuvj420p -i - -y <out>
> >
> >[...]
>
> is the attached patch to ve_lavc.c enough to accomplish the task and
> correct?

no, lavc wont convert anything if the pixel format is set to something not 
directly supported and mpeg2 IIRC has no 0-255 vs. 16-235 flag

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list