3 ms·
Show HN: Synchronize and translate subtitles in one go
- icer2020 5y agoSubaligner provides a one-stop solution on automatic subtitle synchronisation and translation between 1,000+ language pairs.
- stanchsk 5y agoHi, could you specify the howto?
- icer2020 5y agoHi, stanchsk, After installation, simply passing in the source and target language codes should do the job. E.g., $ subaligner -m dual -v video.mp4 -s subtitle.srt -t eng,spa Or just translate without synchronisation: $ subaligner_convert -i subtitle_en.srt -o subtitle_es.srt -t eng,spa
- metarover 5y agoThe translation took quite some time to finish for a subtitle spanning 3 hrs I'afraid.
- icer2020 5y agoThe very first run needs to wait for the machine translation model to be downloaded so it won't be quick. For the subsequent runs, the model will be reused as a cache.