it uses node.js which is javascript but not browser JS. the section that does the streaming is in js/frontend/player.js and it just implements peerflix for it's torrent streaming.
prior to your post i hadn't looked at node.js for some time for thanks for that.
They use this apparently: https://github.com/mafintosh/peerflix
As for the torrent streaming protocol, that has existed for a long time. If you use utorrent, you can see on the right that you can start to stream the movie.
PT is a UI which "strings" together a bunch of APIs using different libraries. Not sure what you expect them to "share back" .
The "streamer" is peerflix (https://github.com/mafintosh/peerflix) which is a separate project, worked on and improved by other people.
En réalité c'est juste du torrent. La différence avec un client torrent classique réside dans le faire que popcorn-time telecharge les morceaux du torrent dans l'ordre.
Tu peux avoir exactement le même résultat avec peerflix https://github.com/mafintosh/peerflix/blob/master/README.md
Donc pour faire simple, aux yeux de ton FAI tu fais du torrent.
Apparently is uses this: https://github.com/mafintosh/peerflix which uses node.js
I had no idea you could use node.js to make desktop applications. Can anybody point me in the right direction to learn how to make an app like this?
Currently we're using the libraries feross/webtorrent as well as mafintosh/peerflix to accomplish Alexandria streaming capabilities. I believe seeding begins as soon as the stream process starts, but there are settings to throttle it. We need to add those settings to the front-end of our application still.
Additionally, if you're worried about seeding potentially harmful data, we are planning on releasing curated filter lists (on an opt-in, subscription basis) to prune out the "bad" stuff.
This is something I've repeated like 10 times on this subreddit, but you don't need to wait for a torrent to finish to start watching it. Literally every torrent client in the past decade supports downloading first piece files first, so you don't have to wait for the download to finish and can start watching it immediately. There's even stuff like peerflix which makes it easier.
You're probably looking for a different project, PT was never designed to run through a web browser.
There are indeed websites calling themselves "popcorn"-something but they have nothing to do with the Popcorn Time project. My guess is they're using some port of peerflix to stream into a web browser, most of these projects use peerflix at some level.
A script for peerflix.
In Firefox when downloading a .torrent file, just choose to open it with this script to watch a movie.
#!/bin/sh xterm -e peerflix "$1" --remove --mpv --no-quit --path=/path/to/temp
If you just close xterm window the file won't be deleted. If you close it with ctrl+c it deletes the file. I find it a feature not a bug.
The torrent engine used is a highly modified version of Peerflix ( https://github.com/mafintosh/peerflix ), that I've been using in Powder Player for years now and have tinkered to presumable perfection. Peerflix was built for torrent streaming so it highly prioritises stream range requests, sequencial downloading, etc.
Just a guess about what they're doing because the page is light on details:
Project butter will have all the software that powers popcorn time but not the built in listings of movies. You'll probably have to add that yourself. This would allow github to host it just like any other bittorrent application.
I know Peerflix, a nodejs application that works just like popcorn time has been sitting at github without any issues.
For shows/movies that can't be found on Popcorn Time, I recommend peerflix, which was made by the creator of the torrent-stream library used to create Popcorn Time.
It's important to note that peerflix is a command line application and you have to use the command line to install it as well.
For casting to Chromecast, use peercast, which was created by the same person.
Both of these require you to install Node.js
Why not just use Peerflix, the underlying technology of Popcorn Time? It's much easier to install and use, and you're not limited to just YIFY torrents. Uses VLC player.
https://github.com/mafintosh/peerflix
Just install it and use "peerflix magnet-link-or-torrent" on the CLI. Note that you need to install NodeJS first if you dont't have it.
https://github.com/mafintosh/peerflix
It's what popcorntime is based on. A neat cli app that simply streams a torrent into a video player of choice.
Doesn't really replace it if you want the library feature, though. But the selection in popcorntime was always pretty bad anyway.
Yeah the utility needs some refining. I am porting my other install scripts to it and will probably remove pocorn-time, corrupter etc which were basic proofs of concept.
I needed a video player to which you can drag .torrent files - popcorntime does that well but also comes with the pirate movie feeds. butter would clean this up but it's not ready yet. I could replace it with peerflix but why not wait for something else, not based on node...
I personally prefer peerflix.
It’s a command-line program that is actually the backbone of many torrent streaming programs (eg popcorn time).
It’s super easy and minimal and can stream any file to VLC.
Pour le streaming de torrent tu peux utiliser peerflix. Avec un peu de chance tu pourras ouvrir le fichier qui se trouve dans /tmp avec Videostream.
Vivement que VLC supporte le Chromecast ...
This is re: the incoming TCP port used for incoming connections.
e.g. for uT this under Options/Preferences/Connection/Listening Port, in Deluge this is under Edit/Preferences/Network/Incoming Ports.
I'm not sure if peerflix has a flag for that.. but if it does it would be nice to expose it in the UI :)
Without an open forwarded port the torrent peer is "firewalled' & can only make direct connections to peers in the swarm that have their own port open & forwarded.
The flipside of that is that peers with open forwarded ports are able to connect directly to all peers thus make connections much faster with less delay.
EDIT: Actually peerflix seems to support it as the -x flag aka peer-port.
In linux, with peerflix (not peerflixr) installed you can run "peerflix 'magnetlinkhere' --vlc" in terminal to stream in vlc without peerflixr. So, if i'm inderstanding correctly, you wouldn't need peerflixr at all to run your script. All Peerflixr does is take out the searching for magnet links and typing in that command when you want to play it. Information on Peerflix can be found here - https://github.com/mafintosh/peerflix. Does that help? Again, i'm not entirely sure what your question is.
I have a limited knowledge of how the bittorrent protocol works but i'm pretty sure its actually peerflix choking them to avoid too many connections, Reference: https://github.com/mafintosh/peerflix/issues/23
No, I just saw his landing page with the hosting problem. The developer is called UFUK https://twitter.com/ufukaltinok , he is from turkey.
If you type in github keywords as "streaming" and "torrent" there are interesting projects as Peerflix.
What do you thing about?, does MIST will be able to have a DAPP supporting VLC conecting torrents seeds?
For the problems (other than the sound), I'd recommend going to submit an issue over at the peerflix github, seeing as peerflix is what handles all of the torrenting for Popcorn Time.
Because the magnet link contains so many "&" characters in it you gotta encapsulate it in apostrophes. So it's more like:
./node peerflix '$magnetlink' -v
Do you have an ARM chromebook? Did you get this up and running on yours?
>Since when does peerflix support magnet links
I've been using peerflix, which is a node package which streams torrents. I just searched through the pirate bay to get the magnet, works well for TV shows and Movies, but I don't think it will work with albums, since IIRC it downloads the biggest file.