Skip to content

Conversation

@arturhg
Copy link

@arturhg arturhg commented Aug 16, 2025

  • Add --caption-export option to export subtitles to SRT/WebVTT files
  • Add --hide-captions option to hide captions while still exporting
  • Track video_time separately from runtime for correct subtitle timing
  • Support different framerates (25/30/60 fps) for video export
  • Maintain subtitle sync regardless of time-scale setting

The implementation correctly handles the difference between simulation time (affected by --time-scale) and actual video playback time, ensuring that exported subtitles always sync with the video output.

Supported formats:

  • SRT (.srt) - SubRip format
  • WebVTT (.vtt, .webvtt) - Web Video Text Tracks format

Usage examples:
gource --caption-file captions.txt --caption-export output.srt gource --caption-file captions.txt --hide-captions --caption-export output.vtt

- Add --caption-export option to export subtitles to SRT/WebVTT files
- Add --hide-captions option to hide captions while still exporting
- Track video_time separately from runtime for correct subtitle timing
- Support different framerates (25/30/60 fps) for video export
- Maintain subtitle sync regardless of time-scale setting

The implementation correctly handles the difference between simulation time
(affected by --time-scale) and actual video playback time, ensuring that
exported subtitles always sync with the video output.

Supported formats:
- SRT (.srt) - SubRip format
- WebVTT (.vtt, .webvtt) - Web Video Text Tracks format

Usage examples:
  gource --caption-file captions.txt --caption-export output.srt
  gource --caption-file captions.txt --hide-captions --caption-export output.vtt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant