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
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
-
x264 --preset veryfast --profile high --level 4.1 --tune animation --crf 15 -o %tmpfile% %oldfile%
i'm almost certain that this should do it. -
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.
-
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.
-
aahhhh I see now.
Thanks for helping and clarifying it all up for me! much appreciated!!!
Similar Threads
-
MP4 (h264+AC3) How to modify the volume without reencoding the h264 ?
By nimook in forum Newbie / General discussionsReplies: 6Last Post: 11th Oct 2013, 06:46 -
Problems converting some xvid to h264 to append to another h264
By PlanetIndigo in forum Video ConversionReplies: 3Last Post: 6th Jun 2011, 14:13 -
AviSynth Tweak color correction assistance
By lordzer0 in forum RestorationReplies: 2Last Post: 14th Jun 2010, 04:44 -
DSL connection problem - tweak
By Jeremiah58 in forum ComputerReplies: 8Last Post: 14th Feb 2010, 18:16 -
How can I tweak Vista32 for best Performance?
By nyfsmith in forum Newbie / General discussionsReplies: 0Last Post: 31st Aug 2008, 13:58