- January 5, 2010
- 63
- 5
ok i have a batch file that rips Blu-ray movies to my hard drive and ANOTHER that will take the ripped data and encode it to a single outputted MKV. the first batch file dumps the movie to a movie1, movie2, movie3, etc. folder based on which folder is empty and the second batch file asks which movie to encode (movie1, movie2, etc..)
there is a big learning curve for me to learn C# and since I already have two windows batch files i was wondering if someone could port them to C# for me.
each batch file asks for an input (first one, what is the movie called, AND second, which movie to encode).
a simple version could be made of just what i have done and a more complex plugin could be made with a config asking for the following data:
-location of some exe's which do the actual decoding & encoding
-file output
-quality of audio (lossless or ac3)
-quality of video (1-10)
-drive letter of blu-ray drive
-[future] language selection?
my batch files are on the other computer ill attach them right now.
EDIT: here they are
1) rips the movie from the disc
2) merges the audio and video file together (and compresses video some)
SOMEONE PLEASE HELP ME! otherwise just feel free to use my batch files for your own needs
there is a big learning curve for me to learn C# and since I already have two windows batch files i was wondering if someone could port them to C# for me.
each batch file asks for an input (first one, what is the movie called, AND second, which movie to encode).
a simple version could be made of just what i have done and a more complex plugin could be made with a config asking for the following data:
-location of some exe's which do the actual decoding & encoding
-file output
-quality of audio (lossless or ac3)
-quality of video (1-10)
-drive letter of blu-ray drive
-[future] language selection?
my batch files are on the other computer ill attach them right now.
EDIT: here they are
1) rips the movie from the disc
Code:
@echo off
set PluginsFolder=D:\Downloads\MovieNeeds\
set pathToDrive=G:
IF EXIST E:\MovieRips\Movie1\Chapters.txt (IF EXIST E:\MovieRips\Movie2\Chapters.txt (IF EXIST E:\MovieRips\Movie3\Chapters.txt (IF EXIST E:\MovieRips\Movie4\Chapters.txt (SET ripdrive=Movie5) ELSE (SET ripdrive=Movie4)) ELSE (SET ripdrive=Movie3)) ELSE (SET ripdrive=Movie2)) ELSE (SET ripdrive=Movie1)
SET /P MovieTitle="--- TYPE NAME OF THE MOVIE AND PRESS ENTER --- "
If not "%MovieTitle%"=="" Set MovieTitle=%MovieTitle%
echo %MovieTitle%>>E:\MovieRips\%ripdrive%\Moviename.txt
"%PluginsFolder%eac3to\eac3to.exe" "%pathToDrive%" 1) 3: E:\MovieRips\%ripdrive%\English.flac
"%PluginsFolder%eac3to\eac3to.exe" "%pathToDrive%" 1) 1: E:\MovieRips\%ripdrive%\Chapters.txt 2: E:\MovieRips\%ripdrive%\Movie.mkv -seekToIFrames
C:\Windows\cd.vbs
2) merges the audio and video file together (and compresses video some)
Code:
@echo off
SET /P MovNo="--- WHICH MOVIE WOULD YOU LIKE TO ENCODE? --- "
If not "%MovNo%"=="" Set MovNo=%MovNo:~0,5%
echo Entered %MovNo%:
set /p MovieTitle=<E:\MovieRips\Movie%MovNo%\MovieName.txt
set PluginsFolder=D:\Downloads\MovieNeeds\
"%PluginsFolder%mencoder.exe" E:\MovieRips\Movie%MovNo%\movie.mkv -ovc x264 -x264encopts crf=18.75 -o E:\MovieRips\Movie%MovNo%\MovieCompressed.mkv
"%PluginsFolder%mkvmerge.exe" -o "E:\Movies\%MovieTitle%.mkv" -A E:\MovieRips\Movie%MovNo%\MovieCompressed.mkv E:\MovieRips\Movie%MovNo%\English.flac --chapters E:\MovieRips\Movie%MovNo%\chapters.txt
SOMEONE PLEASE HELP ME! otherwise just feel free to use my batch files for your own needs