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
Distributed Video Transcoding
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="GSteele" data-source="post: 203728" data-attributes="member: 19552"><p>You could modify something like this simple batch script I use to recusively trancode whole directories</p><p></p><p>for /R %%i in (*.avi) DO CALL :ENCODE "%%i%"</p><p></p><p>goto :eof</p><p></p><p>:ENCODE</p><p>echo "%~pnx1"</p><p>if NOT %~z1 GEQ 600000000 goto :eof</p><p>if exist "c:%~pnx1" goto :eof</p><p>if not exist "C:%~p1" md "c:%~p1"</p><p>rem "1st Pass started for %~n1 " </p><p>Time /T</p><p>"C:\program files\Team MediaPortal\MediaPortal\transcode\mencoder\mencoder.exe" -oac mp3lame -lameopts aq=0:cbr:br=96 -ofps 25 -ovc xvid -xvidencopts pass=1:trellis:me_quality=6:vhq=4:autoaspect:chroma_opt:bitrate=700 -passlogfile "C:\program files\Team MediaPortal\MediaPortal\transcode\logs\%~n1.mlog" "%~f1" -o "C:%~pnx1"</p><p>rem "2nd Pass started for %~n1 " </p><p>Time /T</p><p>"C:\program files\Team MediaPortal\MediaPortal\transcode\mencoder\mencoder.exe" -oac mp3lame -lameopts aq=0:cbr:br=96 -ofps 25 -ovc xvid -xvidencopts pass=2:trellis:me_quality=6:vhq=4:autoaspect:chroma_opt:bitrate=700 -passlogfile "C:\program files\Team MediaPortal\MediaPortal\transcode\logs\%~n1.mlog" "%~f1" -o "C:%~pnx1"</p><p>rem "2nd Pass finished for %~n1 " </p><p>Time /T</p><p></p><p></p><p></p><p>goto :eof</p><p></p><p></p><p></p><p>then I run this to copy back the contents once I'm happy it worked OK</p><p></p><p></p><p></p><p>for %%i in (*.avi) DO CALL :ENCODE "%%i%"</p><p></p><p>goto :eof</p><p></p><p>:ENCODE</p><p>echo "%~pnx1"</p><p>if %~z1 LEQ 100000000 goto :eof</p><p>rem if exist "c:%~pnx1" goto :eof</p><p>if not exist "c:%~p1" md "d:%~p1"</p><p>copy "%~1" "d:%~pnx1" /y</p><p>del "%~1"</p><p>fsutil file createnew "c:%~pnx1" 1024</p><p></p><p>goto :eof</p></blockquote><p></p>
[QUOTE="GSteele, post: 203728, member: 19552"] You could modify something like this simple batch script I use to recusively trancode whole directories for /R %%i in (*.avi) DO CALL :ENCODE "%%i%" goto :eof :ENCODE echo "%~pnx1" if NOT %~z1 GEQ 600000000 goto :eof if exist "c:%~pnx1" goto :eof if not exist "C:%~p1" md "c:%~p1" rem "1st Pass started for %~n1 " Time /T "C:\program files\Team MediaPortal\MediaPortal\transcode\mencoder\mencoder.exe" -oac mp3lame -lameopts aq=0:cbr:br=96 -ofps 25 -ovc xvid -xvidencopts pass=1:trellis:me_quality=6:vhq=4:autoaspect:chroma_opt:bitrate=700 -passlogfile "C:\program files\Team MediaPortal\MediaPortal\transcode\logs\%~n1.mlog" "%~f1" -o "C:%~pnx1" rem "2nd Pass started for %~n1 " Time /T "C:\program files\Team MediaPortal\MediaPortal\transcode\mencoder\mencoder.exe" -oac mp3lame -lameopts aq=0:cbr:br=96 -ofps 25 -ovc xvid -xvidencopts pass=2:trellis:me_quality=6:vhq=4:autoaspect:chroma_opt:bitrate=700 -passlogfile "C:\program files\Team MediaPortal\MediaPortal\transcode\logs\%~n1.mlog" "%~f1" -o "C:%~pnx1" rem "2nd Pass finished for %~n1 " Time /T goto :eof then I run this to copy back the contents once I'm happy it worked OK for %%i in (*.avi) DO CALL :ENCODE "%%i%" goto :eof :ENCODE echo "%~pnx1" if %~z1 LEQ 100000000 goto :eof rem if exist "c:%~pnx1" goto :eof if not exist "c:%~p1" md "d:%~p1" copy "%~1" "d:%~pnx1" /y del "%~1" fsutil file createnew "c:%~pnx1" 1024 goto :eof [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Distributed Video Transcoding
Contact us
RSS
Top
Bottom