Sonic and Sega Retro Message Board: Looking for a torrent client - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Page 1 of 1
    Locked
    Locked Forum

Looking for a torrent client that probably doesn't exist

#1 User is offline Hivebrain 

Posted 04 April 2016 - 05:19 PM

  • Posts: 2670
  • Joined: 15-January 03
  • Gender:Male
  • Location:53.4N, 1.5W
  • Project:HivePal 2.0
  • Wiki edits:6,176
Is there a torrent client that'll download the header of a compressed archive, and then let me use that information to selectively download files from within the archive? Same for MP4/MKV files, where I can select which video and audio tracks to download.

It wouldn't work for solid 7Z/RAR archives, but it should in principle be possible for everything else.

#2 User is offline sonicblur 

Posted 06 April 2016 - 07:17 PM

  • Posts: 1094
  • Joined: 18-February 08
  • Gender:Male
  • Wiki edits:6

View PostHivebrain, on 04 April 2016 - 05:19 PM, said:

It wouldn't work for solid 7Z/RAR archives, but it should in principle be possible for everything else.

I don't really think the principle is possible for MP4 and MKV files though.

Torrents are broken into pieces of a fixed size (usually 512kb, but they can differ based on the size of the download and the tools used to create it) and video containers have audio and video tracks interleaved throughout the file. Although you can sometimes estimate where the audio and video data is inside a file, it's not always going to be easy to know especially if the data isn't constant bitrate. I don't know about MP4 and MKV specifically, but at least on MPEG2 containers the video is broken into blocks (similar to how a torrent is broken into pieces) and the only way to know the data type for each block is to read the header of that block. Since you need to download torrents in pieces, you basically need an entire piece just to know what type of data is contained in the blocks in that piece.

The archive idea is really cool, sadly I don't have an answer to help.

Page 1 of 1
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users