VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Oct 2012
    Location
    United States of America
    Search Comp PM
    Hello everyone.
    I have the log file from a recently converted video (not mine), and I want to figure out the settings the user used. However, the log file doesn't say what program was used but does give all the the "encoder settings".


    HERE'S SOME OF JUST THE INFO

    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L3.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 5 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 2h 18mn
    Bit rate : 725 Kbps
    Maximum bit rate : 4 320 Kbps
    Width : 1 280 pixels
    Height : 532 pixels
    Display aspect ratio : 2.40:1
    Frame rate mode : Constant
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.044
    Stream size : 717 MiB (95%)
    Writing library : x264 core 114 r1924 08d04a4
    Encoding settings : cabac=1 / ref=5 / deblock=1:-2:-1 / analyse=0x3:0x113 / me=umh / subme=5 / psy=1 / psy_rd=0.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=16 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc=2pass / mbtree=0 / bitrate=725 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00



    in there, there is a line giving details as to what settings were used inside of the h264 encoder:

    cabac=1 / ref=5 / deblock=1:-2:-1 / analyse=0x3:0x113 / me=umh / subme=5 / psy=1 / psy_rd=0.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=16 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc=2pass / mbtree=0 / bitrate=725 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00

    ------------------------

    I am wondering if there is a way to convert this (if you will), to an h264 command line, maybe possibly even a qP file.
    Any help would be great, thanks in advanced.
    Quote Quote  
  2. I am wondering if there is a way to convert this (if you will), to an h264 command line,
    sure,...
    Code:
    cabac=1 / ref=5 / deblock=1:-2:-1 / analyse=0x3:0x113 / me=umh / subme=5  / psy=1 / psy_rd=0.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 /  trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 /  chroma_qp_offset=0 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 /  interlaced=0 / constrained_intra=0 / bframes=16 / b_pyramid=2 /  b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 /  keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc=2pass /  mbtree=0 / bitrate=725 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 /  qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 /  aq=2:1.00
    should match up with:
    Code:
    x264 --pass 1 --bitrate 725 --min-keyint 23 --bframes 16 --direct auto --ratetol 1.0 --cplxblur 20.0 --qcomp 0.60 --no-mbtree --ipratio 1.40 --pbratio 1.30 --qpmin 10 --qpmax 51 --aq-mode 2 --aq-strength 1.00 --cqm jvt --threads 3 --deblock -2:-1 --stats "PATH TO THE .stats FILE" --output NUL - 
    
    x264 --pass 2 --bitrate 725 --ref 5 --min-keyint 23 --bframes 16 --direct auto --ratetol 1.0 --cplxblur 20.0 --qcomp 0.60 --no-mbtree --ipratio 1.40 --pbratio 1.30 --qpmin 10 --qpmax 51 --me umh --subme 5 --aq-mode 2 --aq-strength 1.00 --cqm jvt --threads 3 --deblock -2:-1 --colormatrix undef --stats "PATH TO THE .stats FILE" --output OUTPUTFILE -
    ... maybe possibly even a qp file.
    Nope. Don't see any info regarding the qp file there.

    -----
    but does give all the the "encoder settings".
    I wouldn't rely to much on these settings, they can be easily edited with a hex editor,...
    (also since they don't contain any info about tools and filtering settings that were used it's really not that useful in regards of reproducing a result)


    Cu Selur
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!