Completely tangential question to this awesome discussion: who even writes subtitles? It feels like a thankless job to write subtitles for rips of movies and TV shows old and new. I get that maybe they source original from, say, Netflix, but .set files existed long before Netflix, and for lots of movies not on Netflix. Writing all those tags for hearing impaired seems like a lot of work, which anyone other than the f…
Show HN: Automatically synchronize subtitles with video
61–70 of 129 posts
Re: Show HN: Automatically synchronize subtitles with video
#62Re: Show HN: Automatically synchronize subtitles with video
#63Edit: Hmm, my first test moved the subtitles but they ended up 3-5 seconds after the audio instead of the original 2-5 before... I'll have to keep testing when I come across bad subs.
Re: Show HN: Automatically synchronize subtitles with video
#64This is cool. I 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…
Is there chance you could open source the code?
Re: Show HN: Automatically synchronize subtitles with video
#65Yet to find a CLI solution for syncing up & replacing external audio on my camera's MP4.
Current solution is boot up FCPX and do a sync there which rips away minutes of my life.
Re: Show HN: Automatically synchronize subtitles with video
#66Completely tangential question to this awesome discussion: who even writes subtitles? It feels like a thankless job to write subtitles for rips of movies and TV shows old and new. I get that maybe they source original from, say, Netflix, but .set files existed long before Netflix, and for lots of movies not on Netflix. Writing all those tags for hearing impaired seems like a lot of work, which anyone other than the f…
Re: Show HN: Automatically synchronize subtitles with video
#67This looks pretty cool, right now I drop down to the command line to shift subs either direction but if they are off by too much or commercials/breaks don't line up then it's game over. I'll have to drop this out on my server, I'm tempted to run it across everything but I'll probably settle for running it manually when something doesn't line up in plex. Edit: Hmm, my first test moved the subtitles but they ended up 3…
Re: Show HN: Automatically synchronize subtitles with video
#68From the README: "[...] the naive O(n^2) strategy for scoring all alignments is unacceptable. Instead, we use the fact that "scoring all alignments" is a convolution operation and can be implemented with the Fast Fourier Transform (FFT), bringing the complexity down to O(n log n)." I absolutely love it when something that, at very first glance, has no business in being solved in the frequency domain, gets solved in t…
Re: Show HN: Automatically synchronize subtitles with video
#69Earlier quoted context omitted.
A neat subtitle feature I found out mpv has, but no other video player: Hide those parts of the subtitle which are mainly for those with impaired hearing like '[loud noise]' etc, but keep the rest: `mpv --sub-filter-sdh ...` That logic could probably be extracted into a separate subtitle filtering tool.
If I remember correctly SubtitleEdit ( https://github.com/SubtitleEdit/subtitleedit ) had such a tool for removing the hearing-impaired bits.
Re: Show HN: Automatically synchronize subtitles with video
#70I used to have a script to “stretch” subtitles manually, but it’s quite fiddly: https://gist.github.com/jgthms/7dfc20db3478a938069a0191c4e30...