Closed Nosirus closed 9 months ago
I will always need help with this problem.
I tried to run "Tdarr_Plugin_JB69_JBHEVCQSZ_PostFix" but without success, can the language of the tracks be retrieved and then reintegrated?
I thought of "var lang = file.ffProbeData.streams[i].MediaLanguageCode;" something like this for each stream (audio and subtitle)
Reopen if needed
I try to start again from scratch my plugins by taking inspiration from the great work done by others (I start in coding) but I have a problem with ffmpeg, some mkv keeps the statistics after transcoding, like the stream size. (it seems that handbrake doesn't have this problem.)
it seemed to me that "-map 0 -map_metadata:g -1" solved this problem but not and -map_metadata -1 makes me lose languages...
I refuse no help ! see same suggestion :)
function details() { return { id: "Tdarr_Plugin_b38x_Nosirus_h265_aac_no_meta", Stage: "Pre-processing", Name: "Nosirus h265, aac, no meta, subs kept", Type: "Video", Description:
[Contains built-in filter] If the file is not in h265 it will be trancoded into h265 with FFmpeg using the following command '-e x265 -q 22 --encoder-preset slow --all-audio --all-subtitles copy:aac -E fdk_aac -Q 4 -x aq-mode=3'. If no aac, aac track will be added. Subtitles are kept. Metadata is removed.\n\n `, Version: "1.01", Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_b38x_Nosirus_h265_aac_no_meta.js", Tags: "pre-processing,ffmpeg,h265,", }; }function plugin(file) { var response = { processFile: false, preset: "", container: ".mkv", handBrakeMode: false, FFmpegMode: true, reQueueAfter: true, infoLog: "", };
}
module.exports.details = details; module.exports.plugin = plugin;`