home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Blu-Ray Ripper - I NEED A CODER'S HELP!
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="thattexaskid19" data-source="post: 584142" data-attributes="member: 100972"><p>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..)</p><p></p><p>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.</p><p></p><p>each batch file asks for an input (first one, what is the movie called, AND second, which movie to encode). </p><p></p><p></p><p>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:</p><p></p><p>-location of some exe's which do the actual decoding & encoding</p><p>-file output</p><p>-quality of audio (lossless or ac3)</p><p>-quality of video (1-10)</p><p>-drive letter of blu-ray drive</p><p>-[future] language selection?</p><p></p><p></p><p></p><p>my batch files are on the other computer ill attach them right now.</p><p></p><p>EDIT: here they are</p><p></p><p>1) rips the movie from the disc</p><p>[CODE]@echo off</p><p>set PluginsFolder=D:\Downloads\MovieNeeds\</p><p>set pathToDrive=G:</p><p></p><p>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)</p><p></p><p>SET /P MovieTitle="--- TYPE NAME OF THE MOVIE AND PRESS ENTER --- "</p><p>If not "%MovieTitle%"=="" Set MovieTitle=%MovieTitle%</p><p></p><p>echo %MovieTitle%>>E:\MovieRips\%ripdrive%\Moviename.txt</p><p></p><p>"%PluginsFolder%eac3to\eac3to.exe" "%pathToDrive%" 1) 3: E:\MovieRips\%ripdrive%\English.flac</p><p>"%PluginsFolder%eac3to\eac3to.exe" "%pathToDrive%" 1) 1: E:\MovieRips\%ripdrive%\Chapters.txt 2: E:\MovieRips\%ripdrive%\Movie.mkv -seekToIFrames</p><p></p><p>C:\Windows\cd.vbs[/CODE]</p><p></p><p>2) merges the audio and video file together (and compresses video some)</p><p>[CODE]@echo off</p><p>SET /P MovNo="--- WHICH MOVIE WOULD YOU LIKE TO ENCODE? --- "</p><p>If not "%MovNo%"=="" Set MovNo=%MovNo:~0,5%</p><p>echo Entered %MovNo%:</p><p></p><p>set /p MovieTitle=<E:\MovieRips\Movie%MovNo%\MovieName.txt</p><p>set PluginsFolder=D:\Downloads\MovieNeeds\</p><p></p><p>"%PluginsFolder%mencoder.exe" E:\MovieRips\Movie%MovNo%\movie.mkv -ovc x264 -x264encopts crf=18.75 -o E:\MovieRips\Movie%MovNo%\MovieCompressed.mkv</p><p></p><p>"%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[/CODE]</p><p></p><p>SOMEONE PLEASE HELP ME! otherwise just feel free to use my batch files for your own needs <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="thattexaskid19, post: 584142, member: 100972"] 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 [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[/CODE] 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[/CODE] SOMEONE PLEASE HELP ME! otherwise just feel free to use my batch files for your own needs :) :thx: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Blu-Ray Ripper - I NEED A CODER'S HELP!
Contact us
RSS
Top
Bottom