Hello, I'm new to this forum and new to SAB, Bashscript ect. so i'm seeking some help.
What i want to accomplish is a Post-processing script that converts .MKV to .AVI then exports the converted file to a different drive/share. All automated without need for me to accept stuff.
I use XBMC for .MKV but because of the size the tablet that i want to convert files for can only hold 2 .MKV movies.
Basically i want to copies for the same movie. One that i is .MKV (20-40 GB) and a .AVI (~6GBish)
Can this be done?
I'm more than willing to donate for the time if anyone want/have the time to help me out.
Regards Evan
Script for .MKV to .AVI and export to different drive
Re: Script for .MKV to .AVI and export to different drive
I stumbled over this http://xenonmkv.ev98.net/forum/viewtopic.php?f=2&t=1870 but i have a hard time knowing if this is correct or where to begin
In the code from post two it says
In the code from post two it says
so i guess its a manual script. Please, correct me if am wrong.This Batch File Makes It Easy To Convert All .MKV Files In The Given Directory To .AVI Files
-
- Full Member
- Posts: 127
- Joined: June 27th, 2012, 9:55 am
Re: Script for .MKV to .AVI and export to different drive
So you basically want MKV files converted/downsampled into XviD?
Will you running this on Windows or Linux?
Will you running this on Windows or Linux?
Re: Script for .MKV to .AVI and export to different drive
How about in Unix(iPad) and instead of mkv to avi, mkv to mp4 (just changing container)?
Re: Script for .MKV to .AVI and export to different drive
SAB is running on windowsNoTolerance wrote:So you basically want MKV files converted/downsampled into XviD?
Will you running this on Windows or Linux?
Sure! me goal is to run it on an BlackBerry Playbook, and/or PMS (Playstation Media Server) and i do believe mp4 is supportedMattoligy wrote:How about in Unix(iPad) and instead of mkv to avi, mkv to mp4 (just changing container)?
Re: Script for .MKV to .AVI and export to different drive
On windows :
Grab XenonMkv : http://xenonmkv.ev98.net/download
Setup post processing batch file :
You will need to setup the XenonMKV and MOVE_PATH variables to be accurate for your system configuration.
If you configured XenonMKV to rename files to .avi, you will need to change the line :
To :
Grab XenonMkv : http://xenonmkv.ev98.net/download
Setup post processing batch file :
Code: Select all
@ECHO OFF
SET XenonMKV=C:\XenonMKV\XenonMKV.exe
SET INPUT_PATH=%1\
SET MOVE_PATH=C:\transcoded_movies\
IF EXIST %INPUT_PATH%*sample*.mkv DEL /Q %INPUT_PATH%*sample*.mkv
IF EXIST %INPUT_PATH%*.mkv %XenonMKV% -inputfolder %INPUT_PATH% -outputfolder %INPUT_PATH%
IF EXIST %INPUT_PATH%temp RMDIR /S /Q %INPUT_PATH%temp
IF EXIST %INPUT_PATH%*.mp4 MOVE /Y %INPUT_PATH%*.avi %MOVE_PATH%
ECHO Completed Transcoding
If you configured XenonMKV to rename files to .avi, you will need to change the line :
Code: Select all
IF EXIST %INPUT_PATH%*.mp4 MOVE /Y %INPUT_PATH%*.avi %MOVE_PATH%
Code: Select all
IF EXIST %INPUT_PATH%*.avi MOVE /Y %INPUT_PATH%*.avi %MOVE_PATH%%
Re: Script for .MKV to .AVI and export to different drive
Hi
I am looking for exactly this script to convert MTV files for playback on my Xbox 360. However I have Sabnzbd set up on Ubuntu desktop OS.
Please can someone suggest what changes I would need to make to this script so that it works on Ubuntu ? The idea is that files received from sick beard and couchpotato would be converted if they arrive as .mkv.
Any help would be very appreciated as I am a bit out of my depth in creating scripts..
Thanks
I am looking for exactly this script to convert MTV files for playback on my Xbox 360. However I have Sabnzbd set up on Ubuntu desktop OS.
Please can someone suggest what changes I would need to make to this script so that it works on Ubuntu ? The idea is that files received from sick beard and couchpotato would be converted if they arrive as .mkv.
Any help would be very appreciated as I am a bit out of my depth in creating scripts..
Thanks