View Full Version : SupMover - Shift timings and Screen Area of PGS/Sup subtitle
MonoS
8th August 2018, 11:31
Out of desperation i've created this tool to shift the timming of BD subtitles in sup format and i've called it SupMover.
It doesn't do much cheeking of input file or the inputted parameters (yet, as i expected to not distribute it).
Here the repo https://github.com/MonoS/SupMover/
EDIT: after a couple of years i took the time to add some new functionality to this mine little utility, now it can resync subtitltes and crop the picture area without reencoding the picture data.
Ghitulescu
8th August 2018, 12:50
That is a very welcomed tool. To my knowledge the only one thus even more valuable.
:thanks:
MonoS
8th August 2018, 13:21
That is a very welcomed tool. To my knowledge the only one thus even more valuable.
:thanks:
I've really spent TOO MUCH TIME searching a tool like this, the only one i found is BDSup2Sub but it reencodes the subpict and sometimes doesn't go well.
Alongside SECut from @Selur my tool is very useful, but i guess it should be trivial to include a cut mode in my tool without too much hassle.
Ghitulescu
9th August 2018, 07:54
bdsub2sup has indeed some time manipulations but AFAIK it only can do fps conversions. It does not time-shifting (to take logos and stuff into account) nor stretching (other than fps conversions).
jpsdr
9th August 2018, 08:44
If it's only a time shift you need, this also can be done in the container. If you're making an mkv, you can with mkvtoolnix for exemple, enter a timing shift for the subtitles. This is probably why you've never found a tool like this, because it can be done in another way. Of course, if your purpose is not an mkv, it's another story. And, also, the best way is indeed to shift the timing in the subtitles.
Ghitulescu
10th August 2018, 11:26
The trouble with each and every such PGS subtitle tools is that all of their authors are assaulted by hoards of people asking him to add more and more functions having little to do with the initial functionality - in this case to be able to process SRT, or ASS or whatever TXT based ones. It's what I call The Office Syndrome.
It is so difficult to find one PGS processing software, when all the developers are caught in endless discussions concerning exemplia gratia the dash before the second line of subtitles which should not appear in Hindu language, or whether the space before the question mark should be there or not.
MonoS
10th August 2018, 13:45
If it's only a time shift you need, this also can be done in the container. If you're making an mkv, you can with mkvtoolnix for exemple, enter a timing shift for the subtitles. This is probably why you've never found a tool like this, because it can be done in another way. Of course, if your purpose is not an mkv, it's another story. And, also, the best way is indeed to shift the timing in the subtitles.
My problem was to cut the subtitle at different point, so with some gaps, and then merge them together, i tried with mkvmerge but the resulting subtitle had some issues with the timings, retiming the single part and then merging them resulted in a perfect stream.
The trouble with each and every such PGS subtitle tools is that all of their authors are assaulted by hoards of people asking him to add more and more functions having little to do with the initial functionality - in this case to be able to process SRT, or ASS or whatever TXT based ones. It's what I call The Office Syndrome.
It is so difficult to find one PGS processing software, when all the developers are caught in endless discussions concerning exemplia gratia the dash before the second line of subtitles which should not appear in Hindu language, or whether the space before the question mark should be there or not.
If i will ever add other functionality to this tool would be the ability to cut or change framerate that i expect to not be *THAT DIFFICULT*
MonoS
20th September 2020, 15:32
I've published a new version that i think can improve the quality of converted subtitle when used in cropped encodes without re-encoding the image inside the subtitle.
I've also added the ability to resync all times by a factor like a lot of other programs.
ScarAce1989
4th October 2020, 16:21
Can you add an option to only move a selection of subtitles instead of all subtitles?
MonoS
25th October 2020, 10:48
Can you add an option to only move a selection of subtitles instead of all subtitles?
It would be useful also for me as i do a lot of cut, delay and then merge of subtitles, but i don't have the time right now and i think will complicate the command line interface quite a bit
You can emulate this functionality using secut, supmover and mkvtoolnix with something like this
secut filename:"eng1.sup" cut:417-792 outfilename:"1-1.tmp.sup"
secut filename:"eng1.sup" cut:1251-1627 outfilename:"1-2.tmp.sup"
secut filename:"eng1.sup" cut:2085-2461 outfilename:"1-3.tmp.sup"
supmover "1-1.tmp.sup" "1-1.sup" -417
supmover "1-2.tmp.sup" "1-2.sup" -876
supmover "1-3.tmp.sup" "1-3.sup" -1335
mkvmerge.exe --output "1.eng.mks" "(" "1-1.sup" "1-2.sup" "1-3.sup" ")"
It is my intention to implement all those functionality inside my utility.
ScarAce1989
15th December 2020, 00:27
It would be useful also for me as i do a lot of cut, delay and then merge of subtitles, but i don't have the time right now and i think will complicate the command line interface quite a bit
You can emulate this functionality using secut, supmover and mkvtoolnix with something like this
secut filename:"eng1.sup" cut:417-792 outfilename:"1-1.tmp.sup"
secut filename:"eng1.sup" cut:1251-1627 outfilename:"1-2.tmp.sup"
secut filename:"eng1.sup" cut:2085-2461 outfilename:"1-3.tmp.sup"
supmover "1-1.tmp.sup" "1-1.sup" -417
supmover "1-2.tmp.sup" "1-2.sup" -876
supmover "1-3.tmp.sup" "1-3.sup" -1335
C:/Users/MonoS/Desktop/Programmi/RipMux/mkvtoolnix/mkvmerge.exe --output "1.eng.mks" "(" "1-1.sup" "1-2.sup" "1-3.sup" ")"
It is my intention to implement all those functionality inside my utility.
Yes, that's all I need. That would be awesome! :)
MonoS
7th August 2023, 12:57
Yes, that's all I need. That would be awesome! :)
Almost three years later, but i've implemented this functionality, still ion beta, but from my test it works fine
wswartzendruber
12th August 2023, 04:52
The trouble with each and every such PGS subtitle tools is that all of their authors are assaulted by hoards of people asking him to add more and more functions having little to do with the initial functionality - in this case to be able to process SRT, or ASS or whatever TXT based ones. It's what I call The Office Syndrome.
It is so difficult to find one PGS processing software, when all the developers are caught in endless discussions concerning exemplia gratia the dash before the second line of subtitles which should not appear in Hindu language, or whether the space before the question mark should be there or not.
That's precisely why I'm focusing on a .NET library only (https://github.com/wswartzendruber/PGS4NET).
Hellboy.
28th October 2023, 19:39
Just want to say thanks for this fantastic tool.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.