VideoHelp Forum

+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Feb 2011
    Location
    New Zealand
    Search Comp PM
    Forgive me if this is the wrong place but i was wondering how i would go about writing a batch file to convert a folder of fansubbed anime from 10bit to 8bit so i can watch it on my Popcorn Hour. Currently i am doing them one by one (using a bat file with "x264 --preset slow --tune animation --crf 18 -o %1.8bit.mkv %1") but was hoping there is a way to put all the files in one folder, convert them and then output the 8bit videos to a separate folder once they have been converted.

    Thanks.
    Quote Quote  
  2. Batch file:

    Code:
    for %%a in ("*.mkv") do x264 --preset slow --tune animation --crf 18 -o "\path\to\%%~na.8bit.mkv" "%%a"
    Change the extension in the for loop spec, and the output folder, if necessary.
    Quote Quote  
  3. Member
    Join Date
    Feb 2011
    Location
    New Zealand
    Search Comp PM
    Thanks jagabo, working perfectly
    Quote Quote  



Similar Threads