Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove/convert/extract subtitle track by property #412

Open
ErroneousBosch opened this issue Apr 28, 2024 · 0 comments
Open

Remove/convert/extract subtitle track by property #412

ErroneousBosch opened this issue Apr 28, 2024 · 0 comments

Comments

@ErroneousBosch
Copy link

What is your new plugin request?

I am running into an issue that seems to have a workaround in TDarr but not unmanic. This isn't my post on reddit, but it describes what I am seeing:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file.mp4':

   Metadata:

     major_brand : isom

     minor_version : 512

     compatible_brands: isomiso2avc1mp41

     title : Ripped by KaiDubs

     encoder : Lavf58.25.100

   Duration: 00:46:49.24, start: 0.000000, bitrate: 3563 kb/s

   Stream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 3428 kb/s, 29.97 fps, 29.97 tbr, 90k tbn (default)

     Metadata:

       handler_name : Adult Swim

       vendor_id : [0][0][0][0]

   Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)

     Metadata:

       handler_name : WEB-DL [AAC]

       vendor_id : [0][0][0][0]

   Stream #0:2[0x3](eng): Subtitle: mov_text (tx3g / 0x67337874), 1280x60, 0 kb/s (default)

     Metadata:

       handler_name : Closed Captions

Stream mapping:

   Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))

   Stream #0:1 -> #0:1 (copy)

   Stream #0:2 -> #0:2 (copy)

Press [q] to stop, [?] for help

[matroska @ 0x55ad959dd9c0] Subtitle codec 94213 is not supported.

[out#0/matroska @ 0x55ad959c9700] Could not write header (incorrect codec parameters ?): Function not implemented

[vost#0:0/hevc_nvenc @ 0x55ad95990d40] Error initializing output stream:

Conversion failed!

Basically there are some subtitle codecs that are only compatible with mp4, so when converting to MKV, ffmpeg just fails. The Extract Subtitles plugin does not see these subtitles. I'm not sure if this needs tweaking of the extract subtitles plugin, or a plugin to remove based on a property other than language.

Additional Context

No response

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant