
This whole deal has been an adventure since mid December.Īny chance you could give me a hand with this? All i seem to get is:Įxit(-1) Cannot run script /path/to/script. Mine's an odd folder structure because I have this all set up with Newznab on my ReadyNAS. Make sure you give execute permissions on the script file.Īlso, obviously change the paths where appropriate for your sickbeard processing script. I didn't intend to distribute this because when I was researching this, I didn't see any interest, so I thought I was the only one.
#MKV2MP4 WINDOWS CODE#
Sorry about some of the commented code and lack of informational comments. Mkvmerge -o "$nocues_file" -no-cues "$file" -q

The way the code works is, it processes and converts everything, then has Sickbeard do it's post-processing. I just ironed out some issues 5 minutes ago about files/directories with spaces and file names with a comma in it. Here is the current, working contents of the code.

MY code is a bash script that I placed in /c/.sickbeard/autoProcessTV/ named "processhd.sh" I believe the main ones are "-enable_libfaac" and "-nonfree" or something like that (arguments are listed in the ffmpeg configure file, so that should help). You have to custom compile it with some specific arguments/flags to get it to compile with libfaac (I don't remember the specifics! Sorry! I'm relatively new to linux and this was a freaking brain killer for me). The catch is, for ffmpeg, they removed the libfaac codec for legal reasons. I excluded the -r switch from my script that I posted below so you don't have any issues if you just copy/paste it. It's not necessary if you run the script solely by SABnzbd's/Sickbeard's post-processing since it will auto-remove the directories when you're done downloading/processing the episode, but I put it in there for myself so I can run conversions on old files on my NAS. I made a very minor addition to that script to add a -r argument to tell it to remove the source file when remuxing is complete.
#MKV2MP4 WINDOWS MP4#
I'm actually working on one right now that is working, but I'm ironing out some kinks. 3 Parts: Download and Install Handbrake on Windows 10 Convert MKV to MP4 in Windows 10 Comments Matroska (MKV) is an open source multimedia container that is quite popular and is capable of holding an unlimited number of video, audio, picture, and subtitle tracks in a single file.
