Hello, I am looking for direction or suggestions in creating a dynamic torrent creator. What my goal is, is to use the torrent protocol to create unique video files based on different preference settings. For example, user 1 downloads a torrent file that contains one file named movie.avi- Within this file would be a selection of clips arranged in a specific order. So the portal would generate a unique torrent file that would select different clips and arrange them in a way that the user would download one avi file that contained all selected clips in one single file. I know that torrents work by breaking down large files into small pieces, and I wish to understand is it possible to take advantage of this feature and create dynamic content. There is much more to this concept and I believe a portal of this nature could be very popular if used in a workable manner. Key Questions: If it is possible to create a unique torrent file that amalgamated multiple clips together, could the torrent also seed across different users with different torrents? What I mean is could someone who is downloading clips 1,3,5, also seed those clips to someone who is downloading clips 4,5,8, if the video format was created in such a way to allow parts to be interchangeable? I hope this makes sense. I greatly appreciate any feedback or suggestion.
Looking for advice on creating dynamic torrent portal?(using original legal content only)
Something like this would be possible but impractical. You could make a service that lets users select clips to concatenate and then generates a torrent based on the finished file. Concatenation could be done using for example mkvmerge:
mkvmerge -o out.mkv in1.mkv + in2.mkv
However, the torrent created from in1.mkv+in2.mkv would not be the same as in2.mkv+in3.mkv and thus you would need to add both torrents to seed to both swarms, as a full seeder in one and a partial one in the second. You'll also have problems making clients find the correct pieces in the first place.
Furthermore, you would need to add a torrent for every combination that is possible to make with the file in1.mkv to the client for it to seed to everyone who wants to download something containing in1.mkv.
If you can make your own client though, you can probably overcome these problems.
Thank you very much for this comment. The combinations of torrents would be reasonably small I guess. The goal behind my project would be to add localized video advertisements within video files. If someone was browsing the portal in Las Vegas, and clicked on a movie, I would have pre-edited this movie to contain essentially 5 15 second blank spaces for insertion of advertisements. The torrent file would have to be dynamically created based on IP address geo information. I want the swarm to be able to seed the base movie file, with the advertisements being seeded by my own seedbox and within the geographical area of anyone who had the same exact torrent. It would not make sense to have separate torrent files for every geographical location as the swarm would not benefit from size. This concept is easily available from numerous video websites, but they do not offer the same customization and or zero bandwidth cost for dsitribution that torrents can. My goal is to make a method for independent filmakers/tv producers to be able to monetize(even if very small) torrent downloads. I see torrents as the future and wish to create a legal method of geographical video advertising.
Why not just use a CDN like everyone else? What you are wanting to do with torrents isn't really possible unless the user downloads and installs a specially created 3rd party torrent client.