Hi guys i need your help, I'm trying to converting the following x264 command into the syntax of ffmpeg
x264I include two choices that tried to translate into ffmpeg.Code:--bitrate 2200 --preset slower --tune film --profile high --level 5.1 --merange 32 --bframes 8 --threads 32 --subme 11 -- me esa --rc-lookahead 250 --lookahead-threads 10 --colorprim bt709 --transfer bt709 --colormatrix bt709
ffmpeg syntax first choice:
ffmpeg syntax second choice:Code:ffmpeg -i *.mpg -c:v libx264 -threads 32 -vf "colormatrix=bt601:bt709" -preset slower -b:v 2200k -tune film -profile:v high -level:v 5.1 -me_method full -me_range 32 -subq 11 -bf 8 -x264-params -rc_lookahead=250 -lookahead-threads 10 -x264opts level=51 colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=offcolorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=on -acodec copy *.mkv
Code:ffmpeg -i *.mpg -threads:v 32 -vf "colormatrix=bt601:bt709" -codec:v libx264 -preset slower -x264opts colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=on -tune film -b:v 2200k -minrate 1k -maxrate 128k -me_range 32 -g 250 -qcomp 0.9 -qmin 01 -qmax 81 -qdiff 4 -b_strategy 4 -i_qfactor 0.81 -subq 11 -me_method esa -bf 8 -refs 8 -rc- lookahead 250 -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -trellis 2 -acodec copy *.mkv
1) What code is better for an good quality video following the commandline of x264?
2)I need to use these commands of avisynth with ffmpeg, my goal is to improve the quality of the colors.
AvisynthWhat commands are used by ffmpeg to load a script Avisynth?Code:ColorMatrix () Tweak (sat = 1.4, bright = 2, cont = 1.0)
Thanks in advance for any help you can provide.
+ Reply to Thread
Results 1 to 3 of 3
-
-
This is example - modify accordingly to your needs - only to show general principle how it work in ffmpeg
Code:@set x264opts="level=4:qp=20:ipratio=2:cabac=1:colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=off:overscan=show:pic-struct:force-cfr=1:aud=1:threads=auto" @ffmpeg -threads %NUMBER_OF_PROCESSORS%*1.5 -i %1 -c:v libx264 -preset ultrafast -tune zerolatency -profile:v high -x264opts %x264opts% -x264-params %x264opts% -vf "colormatrix=bt601:bt709,'tweak substitute'" -c:a copy -movflags faststart %1_.mp4
Code:@SET x264opts="level=4.1:qp=26:vbv_maxrate=32768:vbv_bufsize=16384:qpmin=4:cabac=1:threads=auto:nr=500:no-psnr:no-ssim"
https://www.ffmpeg.org/ffmpeg-filters.html#lut_002c-lutrgb_002c-lutyuv
https://www.ffmpeg.org/ffmpeg-filters.html#eqLast edited by pandy; 8th Apr 2015 at 03:47.
-
Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
Similar Threads
-
x264 and ffmpeg equivalent commandline options ?
By hydra3333 in forum Video ConversionReplies: 7Last Post: 21st Apr 2014, 22:19 -
Avisynth equivalent of VDub brightness/contrast/gamma
By Mephesto in forum Newbie / General discussionsReplies: 37Last Post: 31st May 2012, 10:48 -
xvid equivalent to CRF from x264
By codemaster in forum DVD RippingReplies: 4Last Post: 22nd Sep 2011, 07:08 -
add background music using ffMpeg or any commandline tool (free)
By Shohag_ifas in forum AudioReplies: 2Last Post: 21st Jan 2011, 06:25 -
FFMpeg x264 Presets
By Metroidn1f in forum Video ConversionReplies: 9Last Post: 7th Jun 2010, 12:27