RblSb / SyncTube

Synchronized video viewing with chat and other features (one-channel web service)
MIT License
247 stars 52 forks source link

Ability to play avi\mkv videos #39

Closed shizzgar closed 1 year ago

shizzgar commented 1 year ago

Hi, @RblSb! First of all, thank you for your job! It works like a charm with ifames and mp4 videos. Now i have no problem to sync video with my girlfriend!) Keep same way :)

But a like to download some videos from different sources, And some times it's only mkv\avi is available. Is it possible to add mkv\avi support for your SyncTube ?)

Thank you in advance!

RblSb commented 1 year ago

Sadly there is no browser support for these containers, so you need to convert them with ffmpeg or similar tool for yourself first. https://opensource.com/article/17/6/ffmpeg-convert-media-file-formats If video has supported in web codecs, you can recreate mkv/avi containers to mp4 with tools like ffmpeg or mkvtomp4, instead of re-rendering video.