mdhiggins / sickbeard_mp4_automator

Automatically convert video files to a standardized format with metadata tagging to create a beautiful and uniform media library
MIT License
1.52k stars 202 forks source link

AAC 2.0 track is still created, but is no longer the default #1639

Closed oregonpillow closed 1 year ago

oregonpillow commented 1 year ago

Describe the bug Without changing my autoProcess.ini settings, AAC 2.0 track is still created, but is no longer the default.

Possible causes The only changes that occur in my setup is that latest sickbeard radarr image is pulled automatically whenever there's a new release. Was there a breaking docker change that happened within last image a week ago?

When it started happening Going through my library, it started happening sometime after the 24th Dec.

autoProcess.ini settings

[Converter]
ffmpeg = ffmpeg
ffprobe = ffprobe
threads = 0
hwaccels = dxva2, cuvid, qsv, d3d11va, vaapi
hwaccel-decoders = h264_cuvid, mjpeg_cuvid, mpeg1_cuvid, mpeg2_cuvid, mpeg4_cuvid, vc1_cuvid, hevc_qsv, h264_qsv, hevc_vaapi, h264_vaapi
hwdevices = vaapi:/dev/dri/renderD128
hwaccel-output-format = vaapi:vaapi
output-directory =
output-format = mp4
output-extension = mp4
temp-extension = sickbeard
minimum-size = 0
ignored-extensions = nfo, ds_store, mp4
copy-to =
move-to =
delete-original = True
process-same-extensions = False
bypass-if-copying-all = False
force-convert = False
post-process = True
wait-post-process = False
detailed-progress = False
opts-separator = ,
preopts =
postopts = -movflags, faststart
regex-directory-replace = [^\w\-_\. ]
output-directory-space-ratio = 0.0
sort-streams = True

[Permissions]
chmod = 0644
uid = -1
gid = -1

[Metadata]
relocate-moov = True
full-path-guess = True
tag = True
tag-language = eng
download-artwork = poster
sanitize-disposition =
strip-metadata = False
keep-titles = False

[Video]
codec = h264, x264
max-bitrate = 0
bitrate-ratio =
crf = -1
crf-profiles =
preset =
codec-parameters =
dynamic-parameters = False
max-width = 0
profile =
max-level = 0.0
pix-fmt =
prioritize-source-pix-fmt = True
filter =
force-filter = False

[HDR]
codec =
pix-fmt =
space = bt2020nc
transfer = smpte2084
primaries = bt2020
preset =
codec-parameters =
filter =
force-filter = False
profile =

[Audio]
codec = ac3
languages =
default-language = eng
first-stream-of-language = False
allow-language-relax = True
relax-to-default = False
channel-bitrate = 256
variable-bitrate = 0
max-bitrate = 0
max-channels = 0
filter =
profile =
force-filter = False
sample-rates =
sample-format =
copy-original = False
aac-adtstoasc = False
ignored-dispositions =
force-default = False
unique-dispositions = False
stream-codec-combinations =
include-original-language = True
prefer-more-channels = True
ignore-truehd = mp4, m4v

[Audio.Sorting]
sorting = language, channels.d, map, d.comment
default-sorting = channels.d, map, d.comment
codecs =

[Universal Audio]
codec = aac
channel-bitrate = 256
variable-bitrate = 0
first-stream-only = False
filter =
profile =
force-filter = False

[Audio.ChannelFilters]
6-2 = pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.707*FR+0.707*BR+0.5*LFE

[Subtitle]
codec = mov_text
codec-image-based =
languages =
default-language = eng
first-stream-of-language = False
encoding =
burn-subtitles = False
burn-dispositions =
embed-subs = True
embed-image-subs = False
embed-only-internal-subs = False
filename-dispositions = forced
ignore-embedded-subs = False
ignored-dispositions =
force-default = False
unique-dispositions = False
attachment-codec =
remove-bitstream-subs = False
include-original-language = False
download-subs = False
download-hearing-impaired-subs = False
download-providers =

[Subtitle.Sorting]
sorting = language, d.comment, d.default.d, d.forced.d
burn-sorting = language, d.comment, d.default.d, d.forced.d
codecs =

[Subtitle.CleanIt]
enabled = False
config-path =
tags =

[Subtitle.Subliminal]
download-subs = False
download-hearing-impaired-subs = False
providers =
download-forced-subs = False
include-hearing-impaired-subs = False

[Subtitle.Subliminal.Auth]
opensubtitles =
tvsubtitles =

[Sonarr]
host = 127.0.0.1
port = 8989
apikey = <redacted>
ssl = False
webroot =
force-rename = False
rescan = True
block-reprocess = False

[Radarr]
host = 127.0.0.1
port = 7878
apikey = <redacted>
ssl = False
webroot =
force-rename = False
rescan = True
block-reprocess = False

[Sickbeard]
host = localhost
port = 8081
ssl = False
apikey =
webroot =
username =
password =

[Sickrage]
host = localhost
port = 8081
ssl = False
apikey =
webroot =
username =
password =

[SABNZBD]
convert = True
sickbeard-category = sickbeard
sickrage-category = sickrage
sonarr-category = sonarr
radarr-category = radarr
bypass-category = bypass
output-directory =
path-mapping =
couchpotato-category = couchpotato

[Deluge]
sickbeard-label = sickbeard
sickrage-label = sickrage
sonarr-label = sonarr
radarr-label = radarr
bypass-label = bypass
convert = True
host = localhost
port = 58846
username =
password =
output-directory =
remove = False
path-mapping =
couchpotato-label = couchpotato

[qBittorrent]
sickbeard-label = sickbeard
sickrage-label = sickrage
sonarr-label = sonarr
radarr-label = radarr
bypass-label = bypass
convert = True
action-before =
action-after =
host = localhost
port = 8080
ssl = False
username =
password =
output-directory =
path-mapping =
couchpotato-label = couchpotato

[uTorrent]
sickbeard-label = sickbeard
sickrage-label = sickrage
sonarr-label = sonarr
radarr-label = radarr
bypass-label = bypass
convert = True
webui = False
action-before =
action-after =
host = localhost
ssl = False
port = 8080
username =
password =
output-directory =
path-mapping =
couchpotato-label = couchpotato

[Plex]
host = localhost
port = 32400
refresh = False
token =

[Subtitle.FFSubsync]
enabled = False

[CouchPotato]
host = localhost
port = 5050
username =
password =
apikey =
delay = 65
method = renamer
delete-failed = False
ssl = False
webroot =

sma.log

Here is an extract from the last time is occured:

2022-12-30 20:50:59 - resources.mediaprocessor - INFO - ======================
2022-12-30 20:57:14 - resources.mediaprocessor - INFO - /data/movies/Home.Alone.2.Lost.in.New.York.1992/Home.Alone.2.Lost.in.New.York.1992.WEBDL-1080p.sickbeard created.
2022-12-30 20:57:15 - resources.mediaprocessor - INFO - Tagging /data/movies/Home.Alone.2.Lost.in.New.York.1992/Home.Alone.2.Lost.in.New.York.1992.WEBDL-1080p.mkv with TMDB ID 772.
2022-12-30 20:57:15 - resources.metadata - INFO - Tagging file: /data/movies/Home.Alone.2.Lost.in.New.York.1992/Home.Alone.2.Lost.in.New.York.1992.WEBDL-1080p.mp4.
2022-12-30 20:58:37 - resources.metadata - INFO - Trying to write tags.
2022-12-30 21:00:23 - resources.metadata - INFO - Tags written successfully using mutagen.
2022-12-30 21:00:23 - resources.mediaprocessor - INFO - Relocating MOOV atom to start of file.
2022-12-30 21:00:23 - qtfaststart - ERROR - This file appears to already be setup for streaming!
2022-12-30 21:00:23 - resources.mediaprocessor - INFO - Running script '/usr/local/sma/resources/../post_process/embyscan.sh'.
2022-12-30 21:01:34 - RadarrPostProcess - INFO - Rescan command completed successfully.
2022-12-30 21:01:34 - RadarrPostProcess - INFO - Radarr monitoring information updated for movie Home Alone 2: Lost in New York.
2022-12-30 21:01:34 - RadarrPostProcess - INFO - Radarr response Rename command: ID 677432 queued.

System Information

Issues posted without any logs or autoProcess settings will be closed

mdhiggins commented 1 year ago

Haven't made any changes that should be impacting this recently, looks like you have channels in your default sorting appropriately

default-sorting = channels.d, map, d.comment

Would need to see the full logs to see why you're not getting your desired results, the tagging logs included are not relevant to stream disposition setting so not useful

mdhiggins commented 1 year ago

Actually I glanced over this too quickly, you're sorting default channels using descending sorting, meaning higher channels will be the priority over lower channels, need to switch that

default-sorting = channels.a, map, d.comment
oregonpillow commented 1 year ago

thanks i've made the change and will confirm if this seems to fix it after i've done some tests tomorrow.