110 karma · joined January 28, 2019
const times = 1000;
function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); }
async function run() { for (let i = 0; i < times; i++) { await sleep(10); play(Math.floor(Math.random()*3)); } }
run();
It seems to me that the overall interest in Facebook is decreasing. The social network hasn't had any interesting feature added to it in the last couple of years. It's becoming boring and boring, so that's why I believe people are leaving.
Still, Instagram and WhatsApp are running strong with barely no competition. We don't see any news about their user base decreasing and news channels don't seem to dislike them. Facebook is doing a good job making sure their biggest three platforms are seem as independent from one another, keeping Instagram and WhatsApp almost free from controversy.
Personally I see no loss for them here. Besides, they will promptly acquire any new players that look promising, or shamelessly copy them as they did with Snapchat.
It reads:
====
Although it can usually work if all you have is the video file, it will be faster (and potentially more accurate) if you have a correctly synchronized "reference" srt file, in which case you can do the following:
subsync reference.srt -i unsynchronized.srt -o synchronized.srt
====
I believe you should explain that if you have a reference file in another language which is correctly synchronized with that video, you can use that file instead of the video, as its timestamps will serve as references when synchronizing the target .srt file.
Now this has raised a question, what if the reference file has a different block count? For example, in some languages (like Chinese or Japanese) we can say a lot with fewer characters than in English. So in Chinese a text will stay on the screen for a long time, whereas in English the corresponding text would be split into two or more blocks. Wouldn't that make synchronization less accurate?
BTW that's a cool project. Thanks for sharing!
`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?