-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transcoding support #181
Comments
I tried it before (to convert MKV to MP4). The issue was, that it needs a stream from the start. So you lose skipping support (you can only watch video from the start without skipping anything). Maybe it is possible to implement skipping (like cache meta info from the start and then skip and transcode) Another issue is that transcoding requires a lot of CPU. |
there is a established project which is already doing what you describe, i am not sure if you are aware of it , check out webtor.io it also has subtitles and chromecast support . Features also awaiting for wasm player client side , here looking forward for a web assembly mkv player maybe in few years |
like to share this also, HLS streaming app, maybe this code could help out |
KiraLT check this out, i think you were talking about this, if you are planning on adding ffmpeg have a look at his code, maybe this could be added later or give you better understanding how it works. his project hls-vod |
https://github.com/leeroybrun/webtorrent-transcode It is quite hacky upon inspection, but it works. It doesn't work if you try to remux the video instead of transcoding it though. My fork adds an additional play button that triggers a transcoded stream, which by default transcodes the video into x264 MP4 stream with hard English subs if they exist in supported containers. Haven't gotten to adding a plugin for changing subtitles yet. |
it could be interesting when clicking play, the system could transcode with ffmpeg to formats compatible with the player. Some formats are not visible on the web.
The text was updated successfully, but these errors were encountered: