alex.brown111@hotmail.com
20th June 2021, 08:25
Hi,
I have ripped some blu ray with MakeMKV and now I need to save space by convert it to H265 with ffmpeg.
Unfortunately some blu ray (expecially when the movie is old) are mastered with bad quality. Here an example:
http://www.pro-software.it/original.png
http://www.pro-software.it/original.png
In the most optimistic situation the compressed file quality is identical to source like in my case:
http://www.pro-software.it/h265.png
http://www.pro-software.it/h265.png
Here the command that I use:
ffmpeg -y -i title00.mkv -c:v libx265 -an -crf 23 -x265-params ref=4:star:subme=4:bframes=8:rd=4:rd-refine=0:qcomp=0.65:fades=1:strong-intra-smoothing=1:ctu=32:qg-size=32:sao=0:selective-sao=0:cu-lossless=0:cutree=1:tu-inter-depth=3:tu-intra-depth=3:max-merge=2:rskip=2:rskip-edge-threshold=2:rc-lookahead=80:aq-mode=2:aq-strength=1.0:rdoq-level=1:psy-rd=4.0:psy-rdoq=15.0:limit-modes=0:limit-refs=3:limit-tu=4:deblock=-4,-4:weightb=1:weightp=1:rect=0:amp=0:wpp=1:pmode=0:pme=0:b-intra=1:b-adapt=2:b-pyramid=1:tskip=1:tskip-fast=0:fast-intra=0:early-skip=0:splitrd-skip=0:min-keyint=24:keyint=240:transfer=bt709:colorprim=bt709:colormatrix=bt709:crf-min=10 -t 200 ouput.mkv
I was thinked to add some blur or noise reduction to my command, but I ask if there is a better solution with ffmpeg in cases like this.
Thanks !
I have ripped some blu ray with MakeMKV and now I need to save space by convert it to H265 with ffmpeg.
Unfortunately some blu ray (expecially when the movie is old) are mastered with bad quality. Here an example:
http://www.pro-software.it/original.png
http://www.pro-software.it/original.png
In the most optimistic situation the compressed file quality is identical to source like in my case:
http://www.pro-software.it/h265.png
http://www.pro-software.it/h265.png
Here the command that I use:
ffmpeg -y -i title00.mkv -c:v libx265 -an -crf 23 -x265-params ref=4:star:subme=4:bframes=8:rd=4:rd-refine=0:qcomp=0.65:fades=1:strong-intra-smoothing=1:ctu=32:qg-size=32:sao=0:selective-sao=0:cu-lossless=0:cutree=1:tu-inter-depth=3:tu-intra-depth=3:max-merge=2:rskip=2:rskip-edge-threshold=2:rc-lookahead=80:aq-mode=2:aq-strength=1.0:rdoq-level=1:psy-rd=4.0:psy-rdoq=15.0:limit-modes=0:limit-refs=3:limit-tu=4:deblock=-4,-4:weightb=1:weightp=1:rect=0:amp=0:wpp=1:pmode=0:pme=0:b-intra=1:b-adapt=2:b-pyramid=1:tskip=1:tskip-fast=0:fast-intra=0:early-skip=0:splitrd-skip=0:min-keyint=24:keyint=240:transfer=bt709:colorprim=bt709:colormatrix=bt709:crf-min=10 -t 200 ouput.mkv
I was thinked to add some blur or noise reduction to my command, but I ask if there is a better solution with ffmpeg in cases like this.
Thanks !