Comments (5)
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
from torrent-stream-server.
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.
from torrent-stream-server.
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
Online torrent content streaming without waiting for full download
On-the-fly content transcoding
Downloading torrent as ZIP-archive
subtitle subtitle transcoding, srt to vtt_
OpenSubtitles support
Streaming of external resources (including transcoding)
also awaiting for wasm player client side , here looking forward for a web assembly mkv player maybe in few years
from torrent-stream-server.
like to share this also, HLS streaming app, maybe this code could help out
from torrent-stream-server.
https://github.com/leeroybrun/webtorrent-transcode
This uses a custom video.js to implement time seeking. It works beautifully. I'm going to adapt the code to work with torrent-stream-server and hopefully submit a PR soonβ’
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.
from torrent-stream-server.
Related Issues (20)
- Heroku Build Failing HOT 1
- Add torlook.info tracker HOT 5
- What kind of engine is used? HOT 2
- Wrong torrent name when downloading with wget HOT 5
- Detect un-escaped streaming URLs and redirect to correctly escaped equivalents HOT 3
- Download as zip HOT 1
- MKV videos does not work on iOS HOT 1
- Remember me feature in UI when using password HOT 1
- Demo page
- Magnet links do not work when using 0 upload speed
- Deta One-Click deployment HOT 2
- Show latest logs in UI dashboard
- UI subtitles support
- Torrent search rework HOT 1
- Specify default torrents in the config file and show them in UI home page
- Deployment on Heroku does not work when using 17 NodeJS HOT 2
- heroku deployment not working HOT 1
- Use webtorrent-hybrid instead of webtorrent
- okteto button not working? HOT 1
- please update pages providers torrents HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torrent-stream-server.