Giter VIP home page Giter VIP logo

Comments (5)

smacke avatar smacke commented on May 20, 2024

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.

acamposxp avatar acamposxp commented on May 20, 2024

@smacke, https://drive.google.com/uc?id=1slDRVjGqv_e8gQS6FO5YvINLMN-yPXcv

from ffsubsync.

acamposxp avatar acamposxp commented on May 20, 2024

Curious is that the same thing happens when the synchronization is done between subtitle and audio.

from ffsubsync.

smacke avatar smacke commented on May 20, 2024

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.

smacke avatar smacke commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.