ginjaninja 533 Posted February 25, 2015 Share Posted February 25, 2015 (edited) https://dl.dropboxusercontent.com/u/84611964/KBRoku/Convert.rar I created this windows batch script to ensure my mkvs were roku direct play compatible to support .BIF thumbnails* let me know if you use it, have any trouble... it uses publicly available neroaccencoder, ffmpeg, mkvmerge it uses shell:sendto to send individual mkvs or whole folder structures (it should also work as a script on the desktop to drag objects to, but would need amending if run direct from a command line) The server seems happy to recognise files the script has changed and register the additional audio track The thumbnail plugin seems happy to identify dual audio track files ok. My plugin is configured for stereo and bifs are created for files going through this script note this script improves on my previous "remove compression from mkv" script by keeping the focus to the file or folder "sent" and not jumping up a directory level (by checking for whether the target object is a folder or not, and if not just working on the specific file) further sophistication may well be required eg. To test for acc present already (this would make it alot safer and rerunable on the same target..ie stop processing if mkv already has aac...ideas welcome) To ensure the roku uses the 1st audio track by default and wether the structure of the file could be improved to ensure direct play on roku is more automated whilst dts playback on HTPC is also automated. Edited February 25, 2015 by ginjaninja 1 Link to comment Share on other sites More sharing options...
ginjaninja 533 Posted February 28, 2015 Author Share Posted February 28, 2015 (edited) I have updated the batch file to use mediainfo to check for AAC track. So you will also need a mediainfo cli note the check is very crude, any aac track of any specification will cause the script to ignore the file. if you have aac tracks which are not directplay compatable, the script wont help in its current form..the checking for acc track logic would need to be uprated. I have added a logonly option, so you can see what files would have aac tracks created for them..as always read the script and configure to your requirements... edit..rewritten dues to loads of mistakes, handles paths/filenames with special characters.. Edited March 1, 2015 by ginjaninja 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now