{% extends "base.html" %} {% block content %}

{{ translations.autosync_tool if translations else 'Auto-Sync Tool' }}

{{ translations.autosync_desc if translations else 'Fix subtitle drift by applying time-varying offset correction. Use this when subtitles start in sync but gradually drift out of sync over time (e.g., due to frame rate differences).' }}

{{ translations.back_to_home if translations else 'Back to Home' }} {% if error %}

{{ error }}

{% endif %}
{{ translations.no_file_chosen if translations else 'No file chosen' }}

{{ translations.correction_mode if translations else 'Correction Mode' }}

{{ translations.two_point_mode if translations else 'Two-Point Correction' }}

{{ translations.two_point_desc if translations else 'Specify two points: where subtitles are correct and where they have a known offset.' }}

{{ translations.correct_at_desc if translations else 'Time where subtitles are correct' }}

{{ translations.offset_at_desc if translations else 'Time where you know the offset' }}

{{ translations.offset_seconds_desc if translations else 'Positive = subtitles are late' }}

{{ translations.multi_point_mode if translations else 'Multi-Point Correction' }}

{{ translations.multi_point_desc if translations else 'Specify multiple sync points for complex drift patterns.' }}

{{ translations.known_drift_rate if translations else 'Known Drift Rate' }}

{{ translations.known_drift_desc if translations else 'Apply a known drift rate from common frame rate conversions.' }}

{{ translations.reference_time_desc if translations else 'Time where offset is zero' }}

{{ translations.usage_examples if translations else 'Usage Examples' }}

  • {{ translations.example_drift if translations else 'Subtitles correct at 0:30, 5 seconds late at 10:00' }}: correct_at=00:00:30, offset_at=00:10:00, offset=5.0
  • {{ translations.example_multi if translations else 'Multiple sync points for complex drift' }}: 00:00:30:0, 00:05:00:2.5, 00:10:00:5.0
  • {{ translations.example_framerate if translations else 'Frame rate conversion (23.976→24 fps)' }}: drift_rate=23.976_to_24

{{ translations.tips if translations else 'Tips' }}

  • {{ translations.tip_drift if translations else 'Drift is common when video and subtitles have different frame rates' }}
  • {{ translations.tip_watch if translations else 'Watch the video and note timestamps where subtitles are correct vs. wrong' }}
  • {{ translations.tip_positive if translations else 'Positive offset means subtitles appear LATE (after the audio)' }}
  • {{ translations.tip_negative if translations else 'Negative offset means subtitles appear EARLY (before the audio)' }}
{% endblock %}