View Single Post
Old 20th May 2013, 19:51   #46  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Quote:
Originally Posted by poisondeathray View Post
If you want to encode i444 with ffmpeg , use -pix_fmt yuv444p . I don't think libx264 in ffmpeg can use RGB24 or BGR24 (RGB fraps is detected by current ffmpeg builds as bgr24)

BUT the problems you're going to have is the RGB=>YUV conversion will use Rec601 (it will not be subsampled chroma, but colors will be off because of wrong matrix - should be 709)

ffmpeg does have a colormatrix filter, but the quality is noticably lower than doing it in avisynth
-vf colormatrix=bt601:bt709

(In avisynth you can use ConvertToYV24(matrix="Rec709")

Another option might be to do the colorspace conversions in vapoursynth pipe to ffmpeg
Well, it still doesn't seem to be right... When I change to PC levels it's still light.

Here's the exact command line:
Code:
ffmpeg -i "infile1.avi|infile2.avi" -pixel_format rgb24 -acodec copy -scodec copy -vcodec libx264 -g 30 -pix_fmt yuv444p -vf colormatrix=bt601:bt709 -preset slower -crf 20 -x264opts fullrange=on "teszt.mkv"
Here's the output (interrupted after a few seconds): https://docs.google.com/file/d/0Byfd...it?usp=sharing
mzso is offline   Reply With Quote