Show HN: Automatically synchronize subtitles with video
1–10 of 129 posts
Re: Show HN: Automatically synchronize subtitles with video
#2Re: Show HN: Automatically synchronize subtitles with video
#3I am constantly impressed by ffmpeg and it capabilities.
Last week I was able to make it act as a proxy for live streaming video that reduced the volume of ad-breaks by 50% automatically by listening for SCTE35 cue packets in the stream and adjusting a volume filter accordingly.
My housemate has a reality TV addiction, and the ads were getting on my nerves. I just intended to see if it was possible, but I had a POC running in about 1/2 an hour.
Re: Show HN: Automatically synchronize subtitles with video
#4Re: Show HN: Automatically synchronize subtitles with video
#5Re: Show HN: Automatically synchronize subtitles with video
#6Really neat! Because it doesn't rely on the video image data this would work for podcasts with subtitles (if they exist), right?
Re: Show HN: Automatically synchronize subtitles with video
#7Re: Show HN: Automatically synchronize subtitles with video
#8subsync reference.srt -i unsynchronized.srt -o synchronized.srt"
I really don't understand what the reference.srt is supposed to be here.
Edit: If I have a "reference" which is synchronized why do I have to do anything at all? Why would I need to synchronize anything then?
Edit2: If the French titles are a translation of the English ones, how wouldn't copying the timestamps from one to another be enough? Or do you want to say that the program can match the subtitles which aren't based on the English ones and have different number of sentences etc? But how can it then know which part of translation belongs to what? What's short in one language isn't in another etc.
Re: Show HN: Automatically synchronize subtitles with video
#9`subsync reference.srt -i unsynchronized.srt -o synchronized.srt`
I mean, I already have a synchronized srt file, so what would I be syncing here?
Re: Show HN: Automatically synchronize subtitles with video
#10Sorry for the dumb question, but what exactly does this do? `subsync reference.srt -i unsynchronized.srt -o synchronized.srt` I mean, I already have a synchronized srt file, so what would I be syncing here?