Page 1 of 1

mux sub/idx subtitles into mkv

Posted: October 4th, 2021, 7:38 am
by horstepipe
Hello folks,
Maybe somebody is willing to help me creating a script which does the following:

- mux all subtitles (.idx/sub) into the mkv after download
- check if there's the string "forc(ed)" in a subtitle file name and if yes, mark it as default and forced

After this is done, there are some optional things which would be nice:

- Check the mkv for forced pgs subs. In german releases, they are often marked as default but not as forced. But in the subtitle name is written "forced" or "(f)".
So if that's true,
-> mark them as default and forced
->mark possible sub/idx forced subtitles not as default.
-> mark srt subtitle already within the mkv not as default



So first question:
Although it doesn't look like a too big task, am I overlooking something? So is this possible within a postprocessing script at all?

Best regards and thanks for your time!
Stay safe!

Re: mux sub/idx subtitles into mkv

Posted: October 4th, 2021, 10:24 am
by sander
Steps for a postprocessing script:

1) find the command line (or python) commands that do the work
2) Think about rainy day scenario's
3) put them into a script
Although it doesn't look like a too big task, am I overlooking something?
Decide for yourself. Start with Step 1.

Remember: Big task or small task: Scratch Your Own Itch. ;) Or offer a bounty.

Re: mux sub/idx subtitles into mkv

Posted: October 4th, 2021, 11:37 am
by horstepipe
I'd really like to take a look for this by myself. But currently my free time doesn't allow it.
Is there a place to offer bounties here or can you give me a tip where to do it?

Let me try it here :-)
I offer a bounty at 100$ for a postprocessing script doing this:

- Check the folder for external subtitle files (.idx/sub)
- mux all subtitles (.idx/sub) into the mkv
- check if there's the string "forc(ed)" in a subtitle file name and if yes, mark it as default and forced

- Check the mkv for forced (internal) pgs subs. In german releases, they are often marked as default but not as forced. But in the subtitle name is written "forced" or "(f)".
So if that's true,
-> mark them as default and forced
->mark possible sub/idx forced subtitles not as default.
-> mark srt subtitle already within the mkv not as default

- If there are no forced external and no forced internal pgs subs, check whether provided internal srt subs are forced by
1. subtitle name contains "forc(ed)" or "(f)"
or
2. count of elements <200 *

mark subtitle as forced if one of the two statements are positive.

* This info can be achieved by mediainfo cli


I'm assuming that a bash expert would need around 3-4 hours for that script. If you contradict, please tell me. I'd pay half in advance and half when work is done.

Best regards

Re: mux sub/idx subtitles into mkv

Posted: October 7th, 2021, 8:18 am
by horstepipe
anybody, 150$?

Re: mux sub/idx subtitles into mkv

Posted: October 11th, 2021, 11:41 am
by userx
Hello,

I sent private message.

$150 is too much for this kind of task. Although, of course, the exact price always depends on the agreement.