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 201 forks source link

Unable to get Dolby Atmos in Plex on the Apple TV #1696

Closed Deihmos closed 8 months ago

Deihmos commented 9 months ago

Describe the bug Dolby Atmos is not working in Plex when remuxing videos to mp4 for the Apple TV. It works when I use this tool to remux the file https://subler.org, so I wonder what I am doing wrong.

autoProcess.ini settings Converter] ffmpeg = /usr/bin/ffmpeg ffprobe = /usr/bin/ffprobe threads = 0 hwaccels = hwaccel-decoders = hwdevices = hwaccel-output-format = output-directory = output-directory-space-ratio = 0.0 output-format = mp4 output-extension = mp4 temp-extension = minimum-size = 0 ignored-extensions = nfo, dsstore copy-to = move-to = delete-original = True process-same-extensions = False bypass-if-copying-all = False force-convert = False post-process = False wait-post-process = False detailed-progress = False opts-separator = , preopts = postopts = regex-directory-replace = [^\w-. ]

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

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

[Video] codec = h264,x264,h265,x265,hevc 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 = aac,eac3,ac3 languages = eng default-language = eng include-original-language = True first-stream-of-language = False channel-bitrate = 128 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 =

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

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

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

[Subtitle] codec = mov_text codec-image-based = languages = eng default-language = eng include-original-language = False 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

[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.FFSubsync] enabled = False

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

[Subtitle.Subliminal.Auth] opensubtitles = tvsubtitles =

System Information

Expected behavior Dolby atmos in Plex while using the Apple TV avplayer.

sma.log

mdhiggins commented 9 months ago

This is more of an FFMPEG issue.

https://trac.ffmpeg.org/ticket/7256

Does adding -strict -2 as a postopt make a difference