Cayars - Setup walk through and some tips and tricks

You can do this if you change the ini file.
Change “video-codec = h264”
to
“video-codec = h265”

Thanks.

I’ll give it a whirl and see how it plays out.

Yes i Know it can to it.
I just wanna get rid of all other Parts of the Script (download Subs, Tagging and so on) to have it clean and only for ripping subs and converting.

One more thing: Starting with DVR now - should it be converted with deinterlaced?

Anyone have some examples of full path names with a few variations of sports names? The original screen shots are dead and I’m having some issues.

Currently I have a sports library, set with TV shows, scanner: extended personal media scanner, agent: extended personal media shows, and these are some file names:
S:\sports\NFL\Season 2018\Week 01\S2018E01 - Patriots vs Texans.mkv
S:\sports\NFL\Season 2018\Week 02\S2018E01 - Seahawks vs Bears.mkv
The above two files are getting combined as 1 episode under Season 2018 without it noticing they’re two different weeks, although based on my understanding after I install the extended scanner and agent, it shouldn’t be. Are my names off? If not, I’ll continue to play around with it.

I’m also not sure how I should name my boxing matches, especially when I have two fights on the same day or the same fight with two different broadcasts, but I’ll deal with that later.

Any point in the right direction would be appreciated (I’ve searched this thread a bunch and spent about 30m reading various years/parts, but am hoping for a nudge).

The extended scanner stuff is pretty useless these days.
What I’d suggest is use the built in OTHER lib for these and then just use the FOLDER view in Plex.

Much easier.

Plex has changed enough in time that the previous method doesn’t work anymore.

@cayars

#145 MP4 Auto Convert Scripts (remux and transcode)

i’ve been using this since you posted it and it always worked good, in your opinion now that this method is few years old, do you think there is a method to remux and transcode using GPU? with the new 2080 ti RTX and the 8 cores coming out id like an app that would use these. any toughs ?

GPU is already supported with Quicksync, ATI and nvidia GPUs.

You need to adjust the video codec in the ini file.

yeah i must be doing something wrong, it’s not using GPU at all… ill try to figure it out

What do you have set for the video codec?

Hi Cayars. I’ve read through a lot of this page, and searched through some. Thank you so much for this amazing script and all the additional time you’ve spent supporting it here. I read a few months ago on here you were thinking about updating the script because of some of the new things that have come out. I’d love to see your updated autoProcess.ini. I’ve tweaked a few things for my setup, and would love to see how they compare!

I’m using it differently these days but the ini file in the zip was my setup for converting to MP4, H.264 with AAC audio + other English audio tracks and pulling subtitles to external SRT.

I’m wondering something now. I just used the script to process my first bluray rip. I’ve ripped dvds and blurays using make mkv, then run them through your script. When I run the dvds through the script the file size ends up bing about 1/3 the size. Like a 4 gig mkv becomes a 1.5 gig mp4. When I just processed the bluray mkv, it went from 17.4 gig to 17.7 gig. Any Idea on why it would get bigger instead of smaller?

Not sure I follow what you’re asking.

When I use MakeMKV I select the main move and rip that. I then rename it properly so I’ve got:
movie (year).mkv

I then run this through the script and end up with:
movie (year).mp4 which is a lot smaller.

Is this the same thing you just did only using a bluray rip?
What is your CRF setting in the ini?

Yes, that’s right. I used makeMKV to rip the movie, and 2 audio streams, and renamed the file. It gave me a 17.4 GB .mkv file.

Then i ran it through the script and ended up with a 17.7 GB.mp4.

I’ve been doing my dvds first and they average about 4.5 GB .mkv then the script turns them to about 1.7-2 GB .mp4 fiiles. I’m so confused why the bluray rip got bigger, but the dvd rips have all gotten significantly smaller. My CRF is set to 18, which I believe was the default size in the CPU ini file.

For BluRay I’d bump that up to 23. Actually that should be fine for general use including DVDs as well. Try that and let us know if the file size drops considerably while still looking good.

I just tried it again after changing to 23. I tried the same movie and another one and the results were the same. slightly larger files. here’s my autoprocess file just so you can see. most of it is stock.

[MP4]
ffmpeg = ffmpeg.exe
ffprobe = ffprobe.exe
threads = 0
output_directory = C:\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.1
use-qsv-decoder-with-encoder = True
ios-audio = True
ios-first-track-only = False
ios-audio-filter = dynaudnorm
max-audio-channels =
audio-codec = ac3,mp3,dts,dca,aac
audio-language = eng
audio-default-language = eng
audio-channel-bitrate = 256
audio-filter =
subtitle-codec = srt
subtitle-language = eng
subtitle-default-language =
subtitle-encoding =
fullpathguess = True
convert-mp4 = True
tagfile = False
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
postopts =-preset,slower
preopts =
video-crf = 23

Can you generate a Media Info report of the ripped MKV and post it here?
https://mediaarea.net/en/MediaInfo
Use TEXT format.

BTW, for quicker testing rip a feature other than the main movie from the disk. They are normally 5 minutes or so and make testing much faster!

video-codec = h264,x264
@cayars
[MP4]
ffmpeg = ffmpeg.exe
ffprobe = ffprobe.exe
threads = auto
output_directory = C:\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.1
use-qsv-decoder-with-encoder = True
ios-audio = True
ios-first-track-only = False
ios-audio-filter =
max-audio-channels =
audio-codec = ac3,mp3,dts,dca,aac
audio-language = eng
audio-default-language = eng
audio-channel-bitrate = 256
audio-filter =
subtitle-codec =
subtitle-language = eng
subtitle-default-language =
subtitle-encoding =
fullpathguess = True
convert-mp4 = True
tagfile = False
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
postopts =
preopts =
video-crf =
I noticed I don’t have a video crf , is that for the default 21?

thank you

Here’s a copy of the media info report. I’ll try that new settings list as well. Thanks for all the help so far!tangled.txt (5.0 KB)

OK, this makes sense. This movie is already in AVC format (H.264) so the script isn’t reprocessing the video codec. The files grows somewhat because of the audio processing to create the stereo track.

Your file is using a profile of High 4.1. What you can do to force re-processing is to change the ini file to use 4.0 forcing the conversion to take place. Set
h264-max-level = 4.0
try that for this file then put it back to 4.1 for normal use.