Menu

Streaming the torrent's file(s) -- how to

cfp p2p
2014-08-01
2015-09-28
  • cfp p2p

    cfp p2p - 2014-08-01

    This post explains streaming guidelines and advanced streaming.
    There is another post:
    Streaming - The Simplified HOW TO .

    Some of the worst things you can do to harm the swarm is to download with very low or no upload speed, or to stop immediately after completing files ( hit and run ) and with never uploaded anything at all. Even if you only download a portion of the files of a multi-file torrent you should still seed what you've got. Lets never do these type of things.

    This feature will attempt to download the pieces in order, not the torrent's individual files. To prevent detrimental effects to the swarm don't use with small incomplete swarms, only those with plenty of good seeders. A torrent with multiple webseeds, a large swarm of seeders and very few or no leechers is best. Don't abuse. Try the "Weak" mode first before any of the stronger modes.

    When streaming the file(s) of a torrent, the buffer at the front of each file helps maintain the swarm health buffered streaming buffered streaming but you should still only stream under the ideal conditions described above.

    Seed as long as you can and keep as high of an upload rate as possible.

    1.) set streaming mode
    Weak, Priority, Weighted or FORCED
    GUI set streaming
    WEB set streaning
    .
    .
    .
    .
    2.) toggle the file to do-not-download then back to any download priority.
    GUI toggle DND
    with the web client UN-check/check the file(s) or use Deselect All / Select All buttons
    WEB toggle DND

    Step two is important else the piece's streaming order attributes are not automatically reset.

    The steps are needed whether a new download or resetting a partially complete.
    streaming
    reset to streaming

    I required the step two toggle as it leaves so as to stream some files and not others within a single torrent and also regular individual file priorities are still maintained.partial streaming
    .
    .
    .
    I don't know why anyone would want to simultaneously stream and regular download within the same torrent but if you do... First set the streaming mode to "Priority". Then set the files you want streamed to a higher priority than the files you don't want streamed. With the GUI you can do this when toggling out of do-not-download state GUI toggle DND and with the web client you can do this after already toggled back to download.web priority Setting the other files to a lower priority will work too. If all the files have the same priority the streamed files have no priority over the others and all files are downloaded at once. Streamed files will still be downloaded in piece order. If you use streaming mode "FORCED" or "Weighted" with simultaneous stream and download within the same torrent, regular file priorities are ignored and the files selected for streaming within the first 4096 pieces ( usually the whole torrent ) will be streamed simultaneously with downloading non-stream files. Equally prioritized files with simultaneous stream and download will have the files past 4096 streamed after everything else. The 4096 boundary does not apply in other cases.

    Reset streaming mode to Off for a torrent if you're all done streaming files and you'll be continuing to download the files never set to stream to begin with. The regular weighting for the pieces would be left less than optimum.

    "Weighted" streaming might sometimes be better than "FORCED" when you have a partially complete non-streamed file and you change it to stream instead, but it might not necessarily be faster. "Weighted" will try to choose between pieces close to the front of the stream that have the most probability of completing blocks fastest where as "FORCED" always tries to choose the next piece in line no matter what.

    "Weak" streaming tries to choose the next piece in line only when no regular transmission precedence is found.

     

    Last edit: cfp p2p 2014-09-22
  • cfp p2p

    cfp p2p - 2014-09-22

    Above explains streaming guidelines and advanced streaming.
    Here I wish to explain how simple it can be to stream files.

    1.) Torrent should be paused.

    2.) Set Streaming Mode to FORCED with either the GUI or the web client.

    GUI ( Peers 999 )
    GUI set streaming

    Web Client ( Streaming Forced )
    WEB set streaning

    3.) First set the file to Don't download.
    Then back to download ( any priority ).
    So you'll be using the menu twice.
    GUI toggle DND

    with the web client UN-check/check the file(s) or use Deselect All / Select All buttons
    WEB toggle DND

    4.) Start the Torrent.

    5.) Wait a minute or two for buffering, then begin play with your favorite media player.

    That's all there is to it!

     
  • cfp p2p

    cfp p2p - 2014-12-29

    I suggest for the playback of your streaming that you use
    "Media Player Classic Home Cinema: MPC-HC"

    http://mpc-hc.org/
    https://sourceforge.net/projects/mpc-hc/

    This I have used with great success.

     
  • cfp p2p

    cfp p2p - 2015-05-06

    There is with the 2015-05-06 release a new settings.json setting
    "stream-mode-default": 0,
    change to whatever you want for a default when a torrent is added
    and you won't need to toggle the files to begin streaming.

    TR_STREAMING_OFF = 0,
    TR_STREAMING_WEAK = 1,
    TR_STREAMING_PRIORITY = 2,
    TR_STREAMING_WEIGHTED = 3,
    TR_STREAMING_FORCED = 4,

    You can alter the settings via the shift Admin
    or shift Trackers and Que portion of the web client.
    http://sourceforge.net/p/transmissiondaemon/discussion/general/thread/b4eea1a5/
    In the Session window you will see all available
    settings that can be changed. You don't need to stop
    the daemon for the settings to take effect.
    Or, you can stop the daemon, then edit
    settings.json directly.

     
    • george gray

      george gray - 2015-09-28

      work outstanding set TR_STREAMING_FORCED = 4,
      thumbs up

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.