VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Hello, I was wondering if anyone could help tweak this h264 code? I found it on the internet and using it to go from 10bit video to 8bit. However, when I use MEdiainfo to grab the info I notice it says High@3.1. Normally I notice my files are at High@4.1. Is there a way to get this code to go from 3.1 to 4.1? Is there a difference in this? From what I read it has to do with framerates? sorry if this is a stupid question.
    Thank you!!!!

    @echo off
    setlocal
    FOR /f "delims=" %%i IN ('dir /b *.mkv') DO call :recode "%%i"
    goto :done
    :recode
    set oldfile=%1
    echo %oldfile% | find /i "[8bit]" > nul:
    if not errorlevel 1 goto :eof
    set newfile=%oldfile:.mkv= [8bit].mkv%
    if exist %newfile% goto :eof
    echo %oldfile%
    set tmpfile=%oldfile:.mkv=.tmp.mkv%
    if exist %tmpfile% del /f /q %tmpfile%
    x264 --preset veryfast --tune animation --crf 15 -o %tmpfile% %oldfile%
    mkvmerge -o %newfile% -D %oldfile% %tmpfile%
    if exist %tmpfile% del /f /q %tmpfile%
    goto :eof
    :done
    endlocal
    Quote Quote  
  2. Banned
    Join Date
    Nov 2005
    Location
    United States
    Search Comp PM
    x264 --preset veryfast --profile high --level 4.1 --tune animation --crf 15 -o %tmpfile% %oldfile%

    i'm almost certain that this should do it.
    Quote Quote  
  3. Awesome! thanks for speedy reply! trying it now

    Edit:
    Worked like a charm!
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1

    No errors at all! Thanks man.
    Btw whats the difference in it? I think it was the same file size.
    Last edited by suchanoob; 5th Apr 2013 at 22:02.
    Quote Quote  
  4. Banned
    Join Date
    Nov 2005
    Location
    United States
    Search Comp PM
    levels and profiles define limits of what h264 features may be used during the encode process and the proper selection should be based on what type of device(s) you anticipate the final file to be played on, most consumer level blu-ray players only support up to high@4.1 (IIRC), many "weaker" devices can't playback files encoded past basic@3.1.
    Quote Quote  
  5. aahhhh I see now.
    Thanks for helping and clarifying it all up for me! much appreciated!!!
    Quote Quote  



Similar Threads

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