I believe we use the same platform.
I can never remember either. I estimate the lag, go one way, and if it's worse I go the other way and try to remember while I adjust.
I believe we use the same platform.
I can never remember either. I estimate the lag, go one way, and if it's worse I go the other way and try to remember while I adjust.
I usually just find a short isolated piece of dialogue (or the first spoken word) and count the time between the audio and the subs, whichever comes first. That usually gets me close to +/- 1s. Then I micro adjust from there.
You just gotta remember that a negative offset makes the subs appear earlier, and vice versa for a positive offset.
VLC has hotkey for this. It's pretty easy to tweak with just trial an error and no need to go to settings to guestimate the values.
I count the seconds to get in the ball park and fine tweak on the go.
Line.
1... 2... 3... 4... 5... 6... 7...
Subtitles.
Ok, seven and a half seconds.
I still haven't gotten straight which way plus and minus are. Should I go minus if the subtitle is coming late? Or plus?
Subtitles are glorified text files, each line has a timestamp, like
00:07:34,480 --> 00:07:38,080 Exterminate! Exterminate!
This tells the player to display the line from 7 minutes, 34 seconds, 480 milliseconds until 7 minutes, 38 seconds, 80 milliseconds.
If you want the subtitles to be earlier, you're subtracting from those times so it's minus, if you want them to be later, you're adding so it's plus.
I don't know what software you are using and if they are indicating the direction of error or correction, but I trust if you try it you'll figure it out.
Put on media with properly synchronized subtitles. Change to plus five. Are the subs behind or ahead of audio? Make a note. Now you know.
What's your setup? Where are you watching, what format are the subtitles?
I watch movies online in my browser through uhh.. alternative means. Subtitle formats aren't listed explicitly, though I assume it is .lrc given they are imported from opensubtitles.org.
Oh so you don't actually have access to the files themselves. That's unfortunate. Then I fear you're at the mercy of whoever wrote that browser plugin.
I must restate that the option of syncing subtitles by hand is still available in the interface, as mentioned in the post. It is only the question of how to deterministically set the subtitle delay without resorting to tinkering with the controls randomly.
I get that but I wouldn't know any such way. There are dedicated subtitle tools that can sync audio and text but those need the files. Failing that you can only do it by ear.
If the subtitle file was downloaded from opensubtitles automatically, there's also the very real possibility that it's the wrong file. It might be the correct movie but the subtitles might be synced to a different framerate and there'd be no way for you to know.
If the subtitles are actual subtitles and not dubs, you can extract timestamps from the audio with a model such as whisper + timestamp support. You could then optimize the overlap of timestamps in the subtitle format (e. g. SRT) with the timestamps provided by the model. That would give you a best fit delay, potentially even shifting over time.
Given that you're in a browser and don't even have access to the subtitle data, that's a purely theoretical exercise. While it might be possible to retrieve the subtitles from the site / API the browser is using and then set the delay in the browser component as well, that'd be far too much effort vs. switching to a better playback method.
You could, however, compute the best match and set that manually, if that's all you're after, i. e. skip the automation part. You'd still need to access the source audio and subtitles.
If the audio is in a different language, all bets are off, there is nothing to sync against. Translations also won't help, since there are multiple ways to translate any given source material, and the origin and length don't match up between languages, naturally.
Trial and error, basically. Change the delay, wait a second and then see if it makes it better or worse (at least for VLC there is a delay in the setting actually changing the sync in my experience so you need to give it a second to see the difference). Repeat until it's perfect.
It also helps to do this in a dialogue heavy scene so you can match the audio to mouth movement.
~~There must be a better way to do this though. I waste too much time tinkering with the syncing at times.~~
I realised what I'm asking for is essentially a modified version of 'trial and error'. I should clarify that I'm looking for a technique I could follow to instead of clicking buttons and modifying values by pure randomness and hoping the subtitles sync.
So you just want a better system than "completely at random". Fair enough. Here's what I'd do:
Disclaimer: I've never had this problem (that I remember), subtitles have always been either synced or completely out of my control. I don't use 'alternative means' much.
Every video player has a slightly different codebase. I imagine all of these are going to be a hair different when it comes to timing.
!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
Rule 1- All posts must be legitimate questions. All post titles must include a question.
All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.
Rule 2- Your question subject cannot be illegal or NSFW material.
Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.
Rule 3- Do not seek mental, medical and professional help here.
Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.
Rule 4- No self promotion or upvote-farming of any kind.
That's it.
Rule 5- No baiting or sealioning or promoting an agenda.
Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.
Rule 6- Regarding META posts and joke questions.
Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.
On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.
If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.
Rule 7- You can't intentionally annoy, mock, or harass other members.
If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.
Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.
Rule 8- All comments should try to stay relevant to their parent content.
Rule 9- Reposts from other platforms are not allowed.
Let everyone have their own content.
Rule 10- Majority of bots aren't allowed to participate here. This includes using AI responses and summaries.
Our breathtaking icon was bestowed upon us by @Cevilia!
The greatest banner of all time: by @TheOneWithTheHair!