Selur's Little Message Board
Split by Chapter Subtitle Problem - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Split by Chapter Subtitle Problem (/thread-3568.html)

Pages: 1 2


Split by Chapter Subtitle Problem - BoredPanda - 01.02.2024

Hi.
When use "Start chapter" & "End chapter" to Encode some part of a video file with subtitles, Hybrid does not split subtitles by selected Chapters and it bypass entire subtitles.

Is there a solution?


RE: Split by Chapter Subtitle Problem - Selur - 01.02.2024

Not in Hybrid.
a. I never needed such an option and
b. I don't know of any tool which can properly cut all different subtitles types.
I wrote a tools to cut: a few years ago, to help in MKVCutter, but never wrote or found a command line tool working to cut blu-ray .sub subtitles and .ttxt subtitles.
=> Hybrid doesn't support cutting subtitles since I don't know how to do it. Smile
(if the source is an mkv one could use mkvmerge to extract the subtitles by chapter restriction)

Cu Selur


RE: Split by Chapter Subtitle Problem - BoredPanda - 01.02.2024

I Use MKVToolNix's splitting to split videos by chapters. it has others option for splitting.
Maybe you can use it.


RE: Split by Chapter Subtitle Problem - Selur - 01.02.2024

This would only work, if the whole process how Hybrid works would change.
-> not happening


RE: Split by Chapter Subtitle Problem - BoredPanda - 01.02.2024

Can't you make changes only for the subtitle section?

With the following steps:

1. multiplexing file without Video & Audio to a filename.mks file (a file with subtitle and chapters)

2. split filename.mks by 'all' "Before chapters Split mode" to filename-001.mks, filename-002.mks & ... (001 and 002 is chapter number)

3. Use filename-0xx.mks subtitle for number xx encoded chapter.

Don't you want to think more?
It will be great.


RE: Split by Chapter Subtitle Problem - Selur - 01.02.2024

I will think about it, but this won't happen until whenever I have a few week holidays + free time.
This would require:
  • changing the subtitle queue entry format (adding chapter selections which need to come from somewhere)
  • adding additional controls in the normal interface to change these options.
  • additional controls in the subtitle->modify menu to change these options.
  • additional checks before job creation: get the subtitle length, check whether the cut points are within that length
  • additional functions to create the additional steps in the subtitle job creation (create chapter file, mux subtitle and chapter file, extract subtitle) that need to be applied before converting (if necessary) the subtitles.
  • add additional cleanup jobs to clean up all the intermediate files.
  • additional subtitle jobs steps
  • lots of testing
if done somewhat properly this is a lot of work.
And if that is done users would want to do this all somehow correct and automated.
=> the more I think about this the less I like it, especially for something which I personally have no use for. Dodgy

Cu Selur


RE: Split by Chapter Subtitle Problem - BoredPanda - 01.02.2024

I use it a lot.
That would be great for me.

Anyway, you made a wonderful software. thank you.


RE: Split by Chapter Subtitle Problem - Selur - 01.02.2024

Out of curiosity: For what are you using this? I mean what is the usage scenario for this?

Cu Selur


RE: Split by Chapter Subtitle Problem - BoredPanda - 01.02.2024

It often happens when i want to encode a Blu-ray collection (More on animation collection), all the episodes are together and separated by chapters.

I need this feature to be able to split them.


RE: Split by Chapter Subtitle Problem - Selur - 01.02.2024

There isn't a playlist per title/episode? Rolleyes

Okay, so as a workaround you would have to use:
a. (if you have one file) use mkvmerge to split your source file by chapter before converting these with Hybrid
b. if you use makemkv, tell it to split by chapters.

=> still don't like it, but I'll think about it.

Cu Selur