#20 Download option.

Open
opened 6 years ago by n2omatt · 2 comments
n2omatt commented 6 years ago

Since we're talking about freedom, I think that this would be relevant to discuss about.

As programmers our job is make the life of people easier, and more pleasant. We must deliver free tools that empower people to accomplish what they want to!

Libreflix itself, is a great example of this, it enables user watch movies while retaining their freedom!

Taking a step further, why not let the users download the movie itself? It can be done by adding just a button that let the users download the movie :D

The simpler way that I think is about using https://rg3.github.io/youtube-dl/ and streaming the output of the youtube-dl to a output connection in the client's browser.

This will get just the media file itself. We of course can do better and making "a package" with the info the we already have in the libreflix. For example, if a user download movie X, he'll get:

  • A zip file (Libreflix - Movie X)
    • The background image.
    • An txt with the movie's description.
    • The movie itself (in open formats)
    • An .url file linking back to libreflix.
    • Anything relevant ;D

What do you guys think about? I don't see any problems with copyright at all, since we're already sharing the content anyway!

Let's discuss!!!!

Since we're talking about freedom, I think that this would be relevant to discuss about. As programmers our job is make the life of people easier, and more pleasant. We must deliver free tools that empower people to accomplish what they want to! Libreflix itself, is a great example of this, it enables user watch movies while retaining their freedom! Taking a step further, why not let the users download the movie itself? It can be done by adding just a button that let the users download the movie :D The simpler way that I think is about using https://rg3.github.io/youtube-dl/ and streaming the output of the youtube-dl to a output connection in the client's browser. This will get just the media file itself. We of course can do better and making "a package" with the info the we already have in the libreflix. For example, if a user download movie X, he'll get: * A zip file (Libreflix - Movie X) * The background image. * An txt with the movie's description. * The movie itself (in open formats) * An .url file linking back to libreflix. * Anything relevant ;D What do you guys think about? I don't see any problems with copyright at all, since we're already sharing the content anyway! Let's discuss!!!!
guilmour commented 6 years ago
Owner

Thank you again, Matt. This feature is really about to being Libre!

A thing that was needed since the begging was a field telling the license (if it exists) that the film was released.

I'm updating it and will have to update the database in every production. Since there isn't so much information about licenses (sometimes filmmakers, you know, just wanna make films), the standard license to productions (as now are all hosted on Youtube) will be the Youtube Standard License, that guarantees us the right to stream the content as it is hosted there, but do not guarantee the right to download the content directly of Youtube even if the content is released with Creative Commons or the creators authorize us (Libreflix) to have (and distribute) a copy of their arts.

Streaming with YoutubeIframeAPI is okay, according to youtube terms: Section 4.A:

4A. You agree not to distribute in any medium any part of the Service or the Content without YouTube's prior written authorization, unless YouTube makes available the means for such distribution through functionality offered by the Service (such as the Embeddable Player).

But, unfortunately, provide a link to download directly isn't: Part 5.B of the terms:

5B. Content is provided to you AS IS. You may access Content for your information and personal use solely as intended through the provided functionality of the Service and as permitted under these Terms of Service. You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content. You shall not copy, reproduce, distribute, transmit, broadcast, display, sell, license, or otherwise exploit any Content for any other purposes without the prior written consent of YouTube or the respective licensors of the Content. YouTube and its licensors reserve all rights not expressly granted in and to the Service and the Content.

So, the solution I was thinking is all about webtorrent/webrtc!

After we clarify with which license each production was released, we can host ourself (and them stream) all the films with permissive licenses.

So then we can "pack" (and your idea about this is awesome) the files as a torrent file and distribute them. On the website, we offer a link that downloads with the browser by the webtorrent network or for the enthusiast users we offer the magnet link (or .torrent file) so they can become seeders and help other users and the community. With more seeders, we gain in streaming velocity and it's cool because we can choose exactly which file inside the "pack" to stream. So the pack can contain the trailer of the film as well.

What do you think? The initial problem is about the streaming quality in the beginning if we switch to webtorrent for the permissive license content, but maybe we can go to the universities (#4), use archive.org or even get new webservers to help seed the content (and so start some financial fund to pay them).

Cheers! Newton is born! <3

Thank you again, Matt. This feature is really about to being Libre! A thing that was needed since the begging was a [field](https://notabug.org/libreflix/libreflix/commit/f18f1c9eaaf39312ca7951f7a50c8f329c95db3a#diff-f56ea765c7218907873cb3e56bf7ef07f9d5ee2) telling the license (if it exists) that the film was released. I'm updating it and will have to update the database in every production. Since there isn't so much information about licenses (sometimes filmmakers, you know, just wanna make films), the standard license to productions (as now are all hosted on Youtube) will be the Youtube Standard License, that guarantees us the right to stream the content as it is hosted there, but do not guarantee the right to download the content directly of Youtube even if the content is released with Creative Commons or the creators authorize us (Libreflix) to have (and distribute) a copy of their arts. Streaming with YoutubeIframeAPI is okay, according to [youtube terms](https://www.youtube.com/static?gl=US&template=terms): Section 4.A: > 4A. You agree not to distribute in any medium any part of the Service or the Content without YouTube's prior written authorization, unless YouTube makes available the means for such distribution through functionality offered by the Service (such as the Embeddable Player). But, unfortunately, provide a link to download directly isn't: Part 5.B of the terms: > 5B. Content is provided to you AS IS. You may access Content for your information and personal use solely as intended through the provided functionality of the Service and as permitted under these Terms of Service. You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content. You shall not copy, reproduce, distribute, transmit, broadcast, display, sell, license, or otherwise exploit any Content for any other purposes without the prior written consent of YouTube or the respective licensors of the Content. YouTube and its licensors reserve all rights not expressly granted in and to the Service and the Content. So, the solution I was thinking is all about [webtorrent](https://webtorrent.io)/[webrtc](https://webrtc.org)! After we clarify with which license each production was released, we can host ourself (and them stream) all the films with permissive licenses. So then we can "pack" (and your idea about this is awesome) the files as a torrent file and distribute them. On the website, we offer a link that downloads with the browser by the webtorrent network or for the enthusiast users we offer the magnet link (or .torrent file) so they can become seeders and help other users and the community. With more seeders, we gain in streaming velocity and it's cool because we can choose exactly which file inside the "pack" to stream. So the pack can contain the trailer of the film as well. What do you think? The initial problem is about the streaming quality in the beginning if we switch to webtorrent for the permissive license content, but maybe we can go to the universities ([#4](https://notabug.org/libreflix/libreflix/issues/4)), use archive.org or even get new webservers to help seed the content (and so start some financial fund to pay them). Cheers! Newton is born! <3
n2omatt commented 6 years ago
Poster

Sorry for the late reply, I was in the country and net connection at there is gold!

Well I see, unfortunately we don't have many options to overcome this issue then! I mean, not in the straightforward way!

I do not know about webtorrent/webtrc - I heard about, but never even laid my eyes on it. I'll try to study it hard to help the development.

About the servers, Amazing Cow would happily provide some storage for free (as beer and as speech) for libreflix. It's crappy Hostgator storage but at least is unlimited in web traffic so we will have some consistent storage to rely upon.

Well, when the webtorrent is done we would provide some nodes at the the host as well.

At short, I think that webtorrent would be the way that we should go!

Sorry for the late reply, I was in the country and net connection at there is gold! Well I see, unfortunately we don't have many options to overcome this issue then! I mean, not in the straightforward way! I do not know about webtorrent/webtrc - I heard about, but never even laid my eyes on it. I'll try to study it hard to help the development. About the servers, Amazing Cow would happily provide some storage for free (as beer and as speech) for libreflix. It's crappy Hostgator storage but at least is unlimited in web traffic so we will have some consistent storage to rely upon. Well, when the webtorrent is done we would provide some nodes at the the host as well. At short, I think that webtorrent would be the way that we should go!
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.