[FFmpeg-user] Encoding Settings

K J kj1980 at outlook.com
Sat Apr 11 20:50:59 EEST 2020


Below are the settings I used but only some of the settings match

ffmpeg -i input.mkv -x264-params -cabac=1:-ref=4:-deblock=1:-1:-1:-analyse=0x3:0x113:-me=umh:-subme=9:-psy=1:-psy_rd=1.00:0.15:-mixed_ref=1:-me_range=24:-chroma_me=1:-trellis=2:-8x8dct=1:-cqm=0:-deadzone=21,11:-fast_pskip=1:-chroma_qp_offset=-3:-threads=16:-lookahead_threads=4:-sliced_threads=0:-nr=0:-decimate=1:-interlaced=0:-bluray_compat=0:-constrained_intra=0:-bframes=3:-b_pyramid=2:-b_adapt=2:-b_bias=0:-direct=3:-weightb=1:-open_gop=0:-weightp=2:-keyint=250:-keyint_min=25:-scenecut=40:-intra_refresh=0:-rc_lookahead=50:-rc=2pass:-mbtree=1:-bitrate=2500:-ratetol=1.0:-qcomp=0.60:-qpmin=0:-qpmax=69:-qpstep=4:-cplxblur=20.0:-qblur=0.5:-vbv_maxrate=31250:-vbv_bufsize=31250:-nal_hrd=none:-filler=0:-ip_ratio=1.40:-aq=3:1.00 -map_chapters -1  -c:a aac -ac 6 -ar 48000 -ab 224k output.mp4

After the encode is done I checked in MediaInfo under encoding settings and the settings that do not match are:

ref=3 should be ref=4

deblock=1:0:0 and should be deblock=1:1:1

me=hex should be me=umh

subme=7 should be subme=9

psy_rd=1.00:0 should be psy_rd=1.00:0.15

me_range=16 should be me_range=24

trellis=1 should be trellis=2

chroma_qp_offset=-2 should be chroma_qp_offset=-3

threads=12 should be threads=16

lookahead_threads=2 should be lookahead_threads=4

b_adapt=1 should be b_adapt=2

direct=1 should be direct=3

keyint_min=24 should be keyint_min=25

rc_lookahead=40 should be rc_lookahead=50

rc=crf should be rc=2pass

aq=1:1.00 should be aq=3:1.00


The below do not even show up encoding settings in MediaInfo

bitrate=2500

ratetol=1

cplxblur=20.0

qblur=0.5

vbv_maxrate=31250

vbv_bufsize=31250

nal_hrd=none

filler=0


Thank you

On 11/04/2020, 16:14, "ffmpeg-user on behalf of Carl Eugen Hoyos" <ffmpeg-user-bounces at ffmpeg.org on behalf of ceffmpeg at gmail.com> wrote:

    Am Sa., 11. Apr. 2020 um 17:09 Uhr schrieb K J <kj1980 at outlook.com>:
    
    > I have some movies and they are nice encodes so I had a look in MediaInfo
    > under encoding settings to see what settings was used as I want to do
    > some movies I have and use the exact same settings.
    >
    > Encoding settings:
    >
    > cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=16 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=2500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=3:1.00
    >
    > They are the same settings for every movie encode.
    >
    > The problem is I am really struggling to convert them settings into FFMpeg
    > settings, I have tried for 2 days now with no joy.
    
    What did you try and what didn't work (command line with complete, uncut
    console output missing)
    
    Carl Eugen
    _______________________________________________
    ffmpeg-user mailing list
    ffmpeg-user at ffmpeg.org
    https://ffmpeg.org/mailman/listinfo/ffmpeg-user
    
    To unsubscribe, visit link above, or email
    ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list