P2PSP / core

Implementation of P2PSP: An application layer protocol for the real-time streaming of multimedia content over the Internet.
http://p2psp.org/en/p2psp-protocol
GNU General Public License v3.0
81 stars 58 forks source link

Download a channel thumbnail from a remote location #92

Closed cristobalmedinalopez closed 7 years ago

cristobalmedinalopez commented 8 years ago

In the GUI (gui brach: https://github.com/P2PSP/p2psp/tree/gui) would be interesting to download a thumbnail of the channel from a URL and save it into a local location. Also, the use of the relative path instead of absolute path would be great.

iharsh234 commented 8 years ago

ffmpeg -i http://upload.wikimedia.org/wikipedia/commons/7/79/Big_Buck_Bunny_small.ogv -r 0.1315097317201473 -s 480x270 -an -f image2 thumb_%d.jpg This command generates some thumbnails of given URL using ffmpeg multimedia framework. We could do this at real time as well and at same time when we transcoding video from URL.

ffmpeg -i http://upload.wikimedia.org/wikipedia/commons/7/79/Big_Buck_Bunny_small.ogv -ss 10 -vframes 1 -an -f image2 snapshot1.png Using this we can get custom thumbnails by changing vframes.

cristobalmedinalopez commented 8 years ago

Hi @iharsh234,

Thanks! It sounds very interesting (we could do it!) but I meant to something much more simple. In the GUI, when you add a channel, you can enter a URL for the channel thumbnail, the problem is that in this moment it only works with local images.

vicente-gonzalez-ruiz commented 7 years ago

The GUI stuff should be discussed in a different repository.