Comments (5)
Hi there, would you be willing to provide these files as test cases? I am guessing there is something subtle going on specific to them.
from ffsubsync.
@smacke, https://drive.google.com/uc?id=1slDRVjGqv_e8gQS6FO5YvINLMN-yPXcv
from ffsubsync.
Curious is that the same thing happens when the synchronization is done between subtitle and audio.
from ffsubsync.
Hi @acamposxp, it looks like the English and Portuguese for this movie differ pretty significantly. Unfortunately subsync isn't really equipped right now for synchronization beyond a fixed offset (although this is in the works).
It seems as though either the Portuguese subtitles are not very high quality, or they correspond to a different cut of the movie -- it's not really possible to align them to the audio using a fixed offset, while the English corresponds pretty directly with the audio (this is why you see the same offset whether you use the audio or the English srt).
For example, they start off at roughly the same spot, but the English places "We'll suffocate in here" at 4:14, while the Portuguese places "Estamos sufocando aqui" at 4:08. The English generally appears later than the Portuguese, but not in any kind of correlated way, which is what subsync needs. Although correcting a fixed starting offset seems to help synchronize the majority of subtitles, it's definitely a limitation that I've been thinking about addressing.
I'll leave this open as this ticket contains what looks like a pretty useful test case as we transition to synchronization beyond a fixed subset.
from ffsubsync.
Hi @acamposxp, with the frame rate scaling improvements in the latest release, it looks like your subs are now synced properly (see end of this post). Thank you for providing the test case -- it's thanks to contributions like yours that I can make further improvements to this software.
I know it's been quite a long time since you initially opened this issue, but I hope you'll consider this project the next time you encounter out-of-sync subs -- there are now quite a number of improvements in the latest version. You can grab it with:
pip install --upgrade git+https://github.com/smacke/subsync@STABLE
reference.srt
1
00:03:02,809 --> 00:03:04,686
Brichet, court today.
2
00:03:13,945 --> 00:03:17,365
Her and her damned doors!
3
00:03:30,378 --> 00:03:32,171
Marceau, court today.
synchronized.srt
1
00:03:02,807 --> 00:03:04,800
Brichet! O Tribunal de Justiça!
2
00:03:14,027 --> 00:03:17,431
Ela e suas malditas portas!
3
00:03:30,375 --> 00:03:32,368
Marceau! O Tribunal de Justiça!
from ffsubsync.
Related Issues (20)
- Is ffsubsync support auto adjust subtitle duration HOT 1
- A better VAD than webrtc HOT 2
- Python 3.9+ compatibility: upstream dependency contains outdated dependency HOT 1
- Framerate was not specified and cannot be read from the MicroDVD file error when used on a .sub file
- Broken submodule HOT 1
- OpenAi Multilanguage speech to text "whisper" HOT 1
- If there is some sort of api or a way to send arguments directly I will create a GUI for Mac/Linux/Windows for users HOT 3
- cchardet no longer updated HOT 7
- ChildProcessError: [Errno 10] No child processes HOT 4
- OSS License compatibility question HOT 1
- output subtitles still out of sync HOT 3
- Suppressing output because offset 8.49 was less than suppression threshold 0.5 ? HOT 3
- stops processing multiple files on pysubs2.exceptions.UnknownFPSError HOT 9
- ffsubsync skips first 5 subtitles lines even though they seem properly formatted
- Cant install in Ubuntu 23.04 HOT 1
- Switch to click for argument parsing
- --apply-offset-seconds not applying set argument of 107 seconds HOT 1
- Broken link: test-data
- [Feature Request] Add an option to extract serialize/reference data as subtitle file
- [Feature Request] Add option to specify ffmpeg exe path HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffsubsync.