VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Delete this account.
    Join Date
    Sep 2018
    Location
    United Kingdom
    Search PM
    Trying to split up a DVD I've ripped which contains episodic content.

    However after loading the .cut file, setting the output and temp folders. it fails with this.

    x264 call: "D:\MkvCutter\x264.exe" --profile main --level ain --tff --ref 1 --bframes 0 --weightp 0 --min-keyint 2 --keyint 14 --stitchable --non-deterministic --thread-input --crf 19 --demuxer avs --fps 25000/1000 --sar 64:45 -o "D:\ISO\1-001_reencode.264" "D:\ISO\1-001.avs"
    x264 [error]: invalid argument: level = ain

    Anyone encountered this one?

    Cheers.
    Quote Quote  
  2. Member Bernix's Avatar
    Join Date
    Apr 2016
    Location
    Europe
    Search Comp PM
    Hi and sorry my ignorance. Never heard about level ain. I thought it should be number like 4 or 4.1 and so on.


    Edit can't it be some abrevation something like As I need or similar?



    Bernix
    Last edited by Bernix; 22nd Sep 2018 at 06:42. Reason: Edit
    Quote Quote  
  3. Delete this account.
    Join Date
    Sep 2018
    Location
    United Kingdom
    Search PM
    Not sure.
    The full log from MKVCutter is below

    MkvMerge output: Multiplexing took 29 seconds.
    deleted D:\Cutting\1_mkvOptions.txt
    video splitter created the following files:
    1: D:\Cutting\1.mkv
    mkvSplit finished,..
    handling split files,...
    trim value for D:\Cutting\1.mkv: Trim(0,length=26)+Trim(14,length=70898)+Trim(70914 ,length=22)
    createAvisynthSkript(D:\Cutting\1.mkv, Trim(0,length=26)+Trim(14,length=70898)+Trim(70914 ,length=22))
    Avisynth file name: D:\Cutting\1.avs
    Saved avisynth script:
    ----------------------------
    AssumeTFF()
    LoadPlugin("D:\MkvCutter\ffms2.dll")
    FFVideoSource("D:\Cutting\1.mkv", threads=1)
    AssumeTFF()
    Trim(0,length=26)+Trim(14,length=70898)+Trim(70914 ,length=22)
    ----------------------------
    to: D:\Cutting\1.avs
    Detected settings:
    AVCProfileLevel: Main@Main
    Interlaced: TFF
    Cabac: true
    AVCRefFrames: 1
    Chroma offset: 0
    BFrames: 0
    WeightedB: 0
    WeightP: 0
    Min Keyint: 2
    Max Keyint: 14
    QPMin: 0
    AspectRatio: 1.422
    SPS: -1
    FPS: 25
    creating x264 reencode call for: D:\Cutting\1.avs
    -> x264 call: "D:\MkvCutter\x264.exe" --profile main --level ain --tff --ref 1 --bframes 0 --weightp 0 --min-keyint 2 --keyint 14 --stitchable --non-deterministic --thread-input --crf 19 --demuxer avs --fps 25000/1000 --sar 64:45 -o "D:\Cutting\1_reencode.264" "D:\Cutting\1.avs"
    encoding next file,... (1 left)
    x264 call: "D:\MkvCutter\x264.exe" --profile main --level ain --tff --ref 1 --bframes 0 --weightp 0 --min-keyint 2 --keyint 14 --stitchable --non-deterministic --thread-input --crf 19 --demuxer avs --fps 25000/1000 --sar 64:45 -o "D:\Cutting\1_reencode.264" "D:\Cutting\1.avs"
    x264 [error]: invalid argument: level = ain

    ExitCode: -1, ExitStatus: 0
    x264 encoding finished,..
    Resetting since x264 crashed,..
    Quote Quote  
  4. Member Bernix's Avatar
    Join Date
    Apr 2016
    Location
    Europe
    Search Comp PM
    Hi,
    if it is script made by mkvcutter, try post original file mediainfo text format. It seems to me be wrong main@main. First for profile is o.k. Level AFAIK isnt main. It is number. So it can be main@L5.1. I think MKV cutter simply get info from original file create script and because the information of original file is from my view somehow wrong, so it skips first letter from Level (should be L4.1) and take rest. And rest is ain. So x264 is confused and crash.
    Post some detailed mediainfo of your original file.


    Bernix
    Last edited by Bernix; 22nd Sep 2018 at 07:55. Reason: Profile exchanged to Level
    Quote Quote  
  5. Member Bernix's Avatar
    Join Date
    Apr 2016
    Location
    Europe
    Search Comp PM
    This is how it looks normaly High@L3
    Noticed at HEVC there is Main@L5@Main. But still level presented as number. And using mkv cutter, you are working with H.264 not with H.265 format. Presume.


    Bernix
    Quote Quote  



Similar Threads

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