cove icon indicating copy to clipboard operation
cove copied to clipboard

source code please

Open aicynide opened this issue 2 years ago • 12 comments

aicynide avatar Sep 04 '23 11:09 aicynide

This project is closed source for now. The majority of it is implemented with anacrolix/torrent, and anacrolix/confluence, which are open source.

anacrolix avatar Sep 05 '23 08:09 anacrolix

hello I would like to understand how the video stream being downloaded through a torrent client is transcoded with ffmpeg and played in the browser. I believe the currently downloading file isn't a complete video, so it might not be usable with ffmpeg.

Also, I wanted to ask if you have any plans to open-source this project, and if so, when do you roughly anticipate doing that?

I would appreciate any idea about this,thanks in advance

JackYinpei avatar Nov 03 '23 07:11 JackYinpei

@JackYinpei do you have a specific example file that you're not sure about?

For transcoding, the file is downloaded in its entirety before being transcoded. The transcoded file however is streamed using HTTP byte range requests to the browser (the same happens directly from the torrent if the file is playable by the browser without transcoding).

Unfortunately it's not straightforward to transcode on demand (that is transcode just the parts the browser needs to stream without doing the whole file), although I have attempted it.

Also for various reasons I download the entire file before transcoding due to errors I've encountered in ffmpeg if it doesn't have a local file, although it does purport to support taking the input over HTTP.

anacrolix avatar Nov 03 '23 08:11 anacrolix

hello I would like to understand how the video stream being downloaded through a torrent client is transcoded with ffmpeg and played in the browser. I believe the currently downloading file isn't a complete video, so it might not be usable with ffmpeg.

Also, I wanted to ask if you have any plans to open-source this project, and if so, when do you roughly anticipate doing that?

I would appreciate any idea about this,thanks in advance

This part is mostly open source, I'll provide the link shortly.

anacrolix avatar Jan 14 '24 21:01 anacrolix

@anacrolix what about the indexer, do you plan to open source it?

zkvsky avatar Jul 31 '24 22:07 zkvsky

This part is mostly open source, I'll provide the link shortly.

@JackYinpei @Technetium1 https://github.com/anacrolix/webtorrent-public/tree/master/services/transcoder

anacrolix avatar Aug 01 '24 07:08 anacrolix

@anacrolix what about the indexer, do you plan to open source it?

I'm considering it.

anacrolix avatar Aug 01 '24 07:08 anacrolix

@anacrolix hello, not sure why I got mentioned. The linked code seems alright 👀

Technetium1 avatar Aug 01 '24 16:08 Technetium1

Ah sorry, I saw you emojied on the comment about providing the link. FWIW the transcoder has been heavily used for over 10 years, it's pretty robust but probably not interesting to anyone else but it does solve the quoted problem.

anacrolix avatar Aug 02 '24 01:08 anacrolix

Ah, I was indeed watching this from a distance. Always happy to have more source available!

Technetium1 avatar Aug 02 '24 18:08 Technetium1

I am considering open sourcing again, particularly if people are interested in contributing.

anacrolix avatar Nov 17 '24 23:11 anacrolix

Hi, I'd be interested in adding support for PostgreSQL.

amaumene avatar Feb 14 '25 02:02 amaumene