Closed Willsr71 closed 10 months ago
I came across this error. the file has images in it so this fails, what solved it was using Tdarr_Plugin_MC93_MigzImageRemoval before that plugin. give it a try.
Unfortunately that plugin didn't help matters. Here's the ffprobe data from one of the files: https://pastebin.com/sHv9vgJ4
I used to have errors like this. This is my current stack. Since then, I haven't received errors for many months now. Please note that the best AAC library is libfdk_aac, if you manage to install it you'd have a better AAC encoding. I use "VBR 5" for best bitrates.
Tdarr_Plugin_MC93_MigzImageRemoval Tdarr_Plugin_vdka_Remove_DataStreams Tdarr_Plugin_lmg1_Reorder_Streams Tdarr_Plugin_MC93_Migz2CleanTitle (options: true/true/blank) Tdarr_Plugin_076a_re_order_audio_streams (options: eng) Transcode Specific Audio Stream Codecs (options: codecs_to_transcode: dts, truehd, eac3; codec: libfdk_aac -vbr 5)
I tried everything but Tdarr_Plugin_MC93_Migz2CleanTitle because I wasn't sure what this actually did, threw a hail merry and added it and it worked. Any of these probably could help, but in my case it was the Tdarr_Plugin_MC93_Migz2CleanTitle.
Thanks!
Hi, I have still same error even with Migz2clean plugins
2023-08-20T13:38:59.692Z Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 0, only the last option '-c:0 ac3' will be used.
2023-08-20T13:38:59.692Z [vost#0:0 @ 0x55ed0956e5c0] Invalid encoder type 'ac3'
Same here, even with Migz2clean plugins.
If you're using the docker container this should work fine as the aac encoder is included. If not then you may need to download FFmpeg with aac encoder included.
Jellyfin FFmpeg has it (what Tdarr uses):
apt install -y wget && \
wget https://repo.jellyfin.org/releases/server/ubuntu/versions/jellyfin-ffmpeg/6.0-6/jellyfin-ffmpeg6_6.0-6-focal_amd64.deb && \
apt install -y \
./jellyfin-ffmpeg6_6.0-6-focal_amd64.deb && \
rm -rf ./jellyfin-ffmpeg6_6.0-6-focal_amd64.deb && \
ln -s /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/local/bin/ffmpeg
I am running tdarr in docker and I also get the same result as you in your last screenshot, I can see --enable-libfdk-aac and yet, some files trigger this error. Very few though.
I have been dealing with the same issue. Not sure why this was closed. If it were the encoder missing from ffmpeg it would fail on all files, not just a few. There is clearly something wrong with the way it is handling and/or mapping the streams in these particular files.
I have been dealing with the same issue. Not sure why this was closed. If it were the encoder missing from ffmpeg it would fail on all files, not just a few. There is clearly something wrong with the way it is handling and/or mapping the streams in these particular files.
I totally agree, the issue is still there, I now have 17 files with this error.
some possibly relevant info:
2023-11-13T09:09:22.630Z YN_UCcXPS:Node[InternalNode]:Worker[some-snipe]:[2/3] tdarr-ffmpeg -i "/mnt/series/Blade Runner - Black Lotus/Season 01/Blade Runner - Black Lotus - S01E04 - The Doll Hunt WEBDL-1080p.mkv" -c copy -map 0:v -map 0:1 -map 0:4 -c:4 aac -map 0:s? -map 0:d? -max_muxing_queue_size 9999 "/temp/Blade Runner - Black Lotus - S01E04 - The Doll Hunt WEBDL-1080p-TdarrCacheFile-jZxUor-0k.mkv"
2023-11-13T09:09:23.634Z Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 4, only the last option '-c:4 aac' will be used.
2023-11-13T09:09:23.634Z [sost#0:4 @ 0x56450f3ade80] Invalid encoder type 'aac'
When attempting to convert to aac the plugin will fail with an "Invalid encoder type 'aac'