I have my movies in /Movies folder, each movie in its own folder.
can i use the batch file to:
read from the /Movies folder
output to that same folder for each movie (without manually changing the output location each time)?
nevermind, i got it.
This a great script, thank you very much!
Hi @cayers thanks again for this wonderful script and all your help troubleshooting!
I have a little issue wherein the processed files end up with more subtitles in them than the originals (and are therefore a bit larger)… I was under the impression that the script would extract any subtitle files and save them as .srt’s. It had done that a few times, but now seems to be often including multiple versions in the mp4 (I’m sure due to something in the autoProcess.ini file I tweaked, but I can’t seem to figure it out).
Here are my current settings:
subtitle-codec = mov_text
subtitle-language =eng
subtitle-default-language =
subtitle-encoding =
fullpathguess = True
convert-mp4 = True
tagfile = True
tag-language = en
download-artwork = Poster
download-subs = False
embed-subs = False
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
permissions = 0777
post-process = False
pix-fmt =
aac_adtstoasc = False
Any suggestions?
To clarify, what seems to happen in some cases is that a subtitle that consists of either a time stamp or Chapter heading (no dialog that I’ve seen) is added to the .mp4 during its processing. Here’s the .ini settings I’m using:
[MP4]
ffmpeg = ffmpeg
ffprobe = ffprobe
threads = auto
output_directory = /media/NASHDD1/CONVERT/done
copy_to =
move_to =
output_extension = mp4
output_format = mp4
delete_original = True
relocate_moov = True
video-codec = h264,x264
video-bitrate =
video-max-width =
h264-max-level = 4.0
use-qsv-decoder-with-encoder = True
ios-audio = False
ios-first-track-only = False
ios-audio-filter =
max-audio-channels = 2
audio-codec = aac,mp3,ac3,
audio-language = eng
audio-default-language = eng
audio-channel-bitrate = 256
audio-filter =
subtitle-codec = srt
subtitle-language = eng
subtitle-default-language = eng
subtitle-encoding =
fullpathguess = True
convert-mp4 = True
tagfile = True
tag-language = en
download-artwork = Poster
download-subs = False
embed-subs = False
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
permissions = 0777
post-process = False
pix-fmt =
aac_adtstoasc = False
Do you have any ideas on the latest question above?
I don’t see anything wrong. Can you take a look at one of these files with mediainfo both before and after conversion to see what they look like.
So what exactly is the BEST way to convert MKV to MP4 automatically then? Seen a few different scripters out there, and I am sick of using MKVtoMP4 manually nonstop.
I’m no pro so I don’t need the hardest route of coding requirements. I am not an idiot either. I have python installed for PlexPy, have automated scripts for SAB/Sonarr but just sick of all the MKVs creating endless transcoding and converting them 1by1 is just as bad as manually searching and would never end! Thanks in advance
@cayars I am unable to download the file you reference in this post. When looking at your domain it appears to be resolving your internal network. Is this file posted in another location? Thanks!!!
dig ayars.tv
; <<>> DiG 9.8.3-P1 <<>> ayars.tv
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44029
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;ayars.tv. IN A
;; ANSWER SECTION:
ayars.tv. 164 IN A 10.0.0.197
;; Query time: 4 msec
;; SERVER: 10.90.1.209#53(10.90.1.209)
;; WHEN: Sat Sep 30 15:07:05 2017
;; MSG SIZE rcvd: 42
Are you still willing to help us here? You don’t answer anymore 
I don’t really read this thread unless it happens to hop out at me. if you post in the cayars thread you’ll get help from me or from others who use the script.
@danbooth said:
@cayars I am unable to download the file you reference in this post. When looking at your domain it appears to be resolving your internal network. Is this file posted in another location? Thanks!!!dig ayars.tv
; <<>> DiG 9.8.3-P1 <<>> ayars.tv
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44029
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0;; QUESTION SECTION:
;ayars.tv. IN A;; ANSWER SECTION:
ayars.tv. 164 IN A 10.0.0.197;; Query time: 4 msec
;; SERVER: 10.90.1.209#53(10.90.1.209)
;; WHEN: Sat Sep 30 15:07:05 2017
;; MSG SIZE rcvd: 42
It’s posted in the cayars forum thread moving forward.
@cayars said:
I don’t really read this thread unless it happens to hop out at me. if you post in the cayars thread you’ll get help from me or from others who use the script.
I’m sorry, I didn’t know there was a cayars thread! I’ll look for it and hit you up ![]()
trying to get the script for web optimize but your ftp isn’t working. Could I get access to it please
2 messages above
Hi cayars, where can I find your thread, so that I may request the proper ftp credentials for convert.zip? Trying to use the proper forum per your request above.