Slashdot Mirror


Researchers Test BitTorrent Live Streaming

An anonymous reader writes "TorrentFreak reports that the Swarmplayer, developed by the P2P-Next research group, is now capable of streaming live video in true 4th generation P2P style using a zero-server approach. With a $22 million project budget from the EU and partners, the P2P-Next research group intends to redefine how video is viewed on the Internet. The researchers have launched a streaming experiment where you can tune in to a webcam in Amsterdam, or a 5 minute weather report (not live) from the BBC. More details about how to set up your own BitTorrent live stream are also available."

33 of 129 comments (clear)

  1. Arrgh Matey by nurb432 · · Score: 4, Funny

    Its using BT so it must be piracy, right?

    --
    ---- Booth was a patriot ----
    1. Re:Arrgh Matey by dreamchaser · · Score: 3, Funny

      Indeed. I am waiting for a P2P technology that is so stealthy, nobody knows it even exists. Then I can be a Ninja and not a Pirate.

  2. Open source? by jaxdahl · · Score: 4, Insightful

    Is this open source?
    There's already a closed source p2p video system that was used, among other things, for the streaming of the Blizzard WWI event (Diablo III announcement). It's called Octoshape. How does this compare?

    http://en.wikipedia.org/wiki/Octoshape
    http://www.octoshape.com/

    1. Re:Open source? by Anonymous Coward · · Score: 5, Informative
    2. Re:Open source? by geogob · · Score: 2, Interesting

      I've been using octoshape for quite while now. Although the concept is interesting and the image quality is fairly good compared to analogue-SDTV, the system doesn't behave flawlessly.

      Quite often, the systems simply doesn't work. At some point, the client kept its connection up on the P2P network. Of course, this happened while I was out of town (I'm not the single user of the system) and didn't catch the issue until I came back home. In 3 days, it ate over 60% of my HS cable internet cap (100 GB up+down).

    3. Re:Open source? by geogob · · Score: 2, Insightful

      Canada's not the best place to have a decent communication plan.

  3. I see some issues here... by houstonbofh · · Score: 5, Interesting

    Not sure how smooth this would be, since BT usually sends packets in the order of availability, not how it streams... And I am not sure if it is a strange algorithm in my client or I am cursed, but the first file in a torrent is always the last to finish for me.

    1. Re:I see some issues here... by Grey+Ninja · · Score: 5, Interesting

      You can set priorities on the files, and your client will request those pieces first. In a streaming situation, I would imagine that everyone's client would be set to prioritize the chunks in order. Which I think would actually probably work really well. Everyone's client would become really bottom heavy as they watched the movie, and download speeds would start out really fast, and gradually taper off. If you had enough clients, I would imagine that it wouldn't be an issue.

      Very interesting concept, and I'm surprised nobody thought of it sooner. It could start a new p2p video service like the world has never seen. Instead of taking 2 hours to download the movie, then watching it, you can watch any movie on pirate bay, right now. The trick is just that everyone needs to be using a streaming client.

    2. Re:I see some issues here... by vanDee28 · · Score: 2, Insightful

      This system seems more usable for topset boxes than internet, in the long run. So your bandwith woudn't be affected. Assuming your internet connection is a differtent internet connection from your digital tv (as it is here in the netherlands).

    3. Re:I see some issues here... by DeadDecoy · · Score: 2, Interesting

      Hmmm...I wonder how long it will be then, until we see isp's whining about how we're clogging up their inter-tubes. If the wait time to view a streaming video is reduced, I imagine that it will increase the preference or desire to see such a video online versus not watching it or seeing it through some other medium.

    4. Re:I see some issues here... by Grey+Ninja · · Score: 3, Interesting

      I just installed the player and watched the videos. I'm running Linux, so it might work different in Windows (probably not a whole lot different though). When you open up the torrent with their player, it essentially functions like a normal bittorrent client, with a lot of automation. It will buffer for a bit, and then open up VLC (or whatever your default player is?) and start playing the stream. You don't actually see a list of all the torrents you are currently distributing, but it saves them to a cache somewhere, and seeds them even after you are done watching them. It just sits in the system tray and does its thing. Which is probably a necessity for this to work.

    5. Re:I see some issues here... by camperdave · · Score: 3, Informative

      So, like all torrents, only the popular stuff will play well. I'm not going to get a stream of Tales of the Gold Monkey in anything like real time.

      --
      When our name is on the back of your car, we're behind you all the way!
    6. Re:I see some issues here... by Hatta · · Score: 4, Insightful

      Why don't they just use multicast? This is what it was designed for.

      --
      Give me Classic Slashdot or give me death!
    7. Re:I see some issues here... by Joe+U · · Score: 3, Funny

      Mod parent down. Proper use of Internet protocols (except HTML) is frowned upon here.

      Seriously, for some reason people don't like multicast, I really don't know why.

    8. Re:I see some issues here... by RayNbow · · Score: 4, Informative

      Standard BitTorrent works because of the Tit-For-Tat incentive mechanism. The whole idea is that a peer exchanges pieces with another peer, so it can achieve a higher download rate than just getting pieces from the seed.

      Now, I won't go into details, but the reason you get your files in some arbitrary order is because a BitTorrent swarm is just like a marketplace. Certain pieces are rare and might have long queues, i.e. many peers are interested in it and are competing for it. Other pieces are so common, most peers are not interested in it and can thus be exchanged with fewer peers. So the trick to achieving high download speeds is to obtain the right pieces that are still valuable for further trade, while not spending too much time on obtaining such a valuable piece.

      Now, with video-on-demand (and live streams), the whole Tit-For-Tat system no longer works. In this situation, peers must obtain pieces in order for playback. The problem now is that a peer that wants the next minute of the video can only get it from a peer whose playback position is further ahead. The latter peer however is not interested in pieces from the former (since it already has these) and thus no exchange will take place.

      So, the solution the Tribler team came up with is the Give-to-Get incentive mechanism. A peer will only receive pieces from others if it sends its pieces to those that are interested, i.e. peers that have seen even less of the video. This requires some feedback, so a peer that receives some pieces will have to inform others that it recently has received data from a certain sender. Thus, you could say that the Give-to-Get incentive mechanism is based on reputation.

    9. Re:I see some issues here... by SanityInAnarchy · · Score: 2, Interesting

      multicast requires that everyone be watching it at the same time.

      If it's a live stream, isn't that a given?

      Otherwise, it could follow the same model as pay per view -- start a new multicast session every hour or so.

      And assume it isn't a stream -- Multicast is still an advantage. Imagine they simply replay it over and over, at a reasonable download speed -- then bandwidth costs are close to zero, for everyone involved.

      What I don't understand is why everyone keeps trying to s..t...r.e...a....m stuff over the internet.

      Two reasons.

      First, if it's actually live, it kind of has to be a stream. Otherwise, well, it wouldn't be live. Kind of the point, and that one's a "duh".

      I don't care for most things, but it's not difficult to imagine wanting audience participation, or simply putting up a live stream of whatever's going on in a particular area right now -- thus, whenever you tune it, it's there, but no point even caching it on the server.

      Second, it helps protect against piracy. Well, not really, but it means you have to reverse engineer the app doing the streaming and/or the protocol, not just a file sitting somewhere in the cache.

      --
      Don't thank God, thank a doctor!
    10. Re:I see some issues here... by vanyel · · Score: 2, Insightful

      OK, RTFA ... Uggh. p2p'ing 1 minute buffers. What a hack. But the problem with multicast is that it requires isp support (which I know *we* don't have setup, and I doubt many do or are willing to do --- it's hard enough to get people to think about ipv6 and it has a lot more compelling justification), or non-trivial tunnel setup, where as this just works as is. On that basis, I have to admit grudging admiration for cleverness, but ugggh! It's still s..t..r.e.....a.m...i.n.g...

    11. Re:I see some issues here... by SEWilco · · Score: 3, Informative
      There is no "video", there is but a stream.

      In the example, the streaming is actually taking place from 15 minute pieces. When enough of the current piece has been collected, the video starts playing on your machine. While you're watching the stream, the rest of the 15 minute piece is collected and shared. The next 15 minute piece is collected/shared when it appears. A while (I don't remember if it was 15 or 30 minutes) after you saw it, the older pieces are deleted from your machine.

      This is similar to how some Internet radio streams work. You're actually listening to a bunch of short streams encoded in some audio format. The major difference here is that a slightly modified BitTorrent protocol is being used.

    12. Re:I see some issues here... by hatchet · · Score: 2

      Because it's very hard to get it to work correctly over NAT.

    13. Re:I see some issues here... by asnare · · Score: 2, Informative

      If I understand multicast (in particular IGMP) correctly, it is one of the few IP-related protocols where NAT is irrelevant.

      The real problem is that multicast requires routers to support it, and the vast majority don't. This includes both your ISP and most consumer modem/router devices. The main reason for this these days is due to what economists call network-effects. No pun intended.

  4. $22 billion for what? by Anonymous Coward · · Score: 3, Insightful

    If you want broadcast, broadcast. Sending countless duplicates of the same data in unicasts is WASTEFUL!

    1. Re:$22 billion for what? by Arterion · · Score: 2, Informative

      You realize that even traditional "broadcast" (e.g. streaming from youtube) has to send countless duplicates of the same data, right?

      --
      "That which does not kill us makes us stranger." -Trevor Goodchild
  5. UGH by pxc · · Score: 5, Funny

    I don't understand why people keep making this association!

    Pirates HATE torrents. I can't even tell you how many beautiful vessels we've lost to the fuckers. Ugh.

    Sincerely,

    The Racketeering Industry Association of America

    PS: RAmen.

  6. The entire POINT is to handle slashdot effect by Ungrounded+Lightning · · Score: 2, Insightful

    The entire POINT of torrent-style protocols is to, not just handle, but take advantage of, the Slashdot effect.

    The more participants in the torrent, the more robust it is. It is potentially faster for the new participants as well (though this depends on the dynamics of growth and the number of simultaneous downloads per playing node).

    )The average latency will increase as the torrent grows. No way to avoid that.)

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  7. Already existing by Anonymous Coward · · Score: 2, Interesting

    They call it Zattoo
    it's using encryptet contents over bittorrent.

    1. Re:Already existing by freelunch · · Score: 4, Informative

      They call it Zattoo
      it's using encryptet contents over bittorrent.

      I watched the World Cup Futbol championship on Zattoo and it was sometimes more "real time" than broadcast TV. How do they do that? This bittorrent prototype buffers for a full minute. And I notice the live stream isn't even doing any sharing (according to the status page).

  8. Maby a good idea for the future, forget it today by xiando · · Score: 4, Interesting

    My ADSL connection is 2.5Mbit out, 23Mbit in. It was 0.5Mbit/8Mbit until the local telco reciently upgraded some central. I can not send as much out as I take in, nor can most other Internet users. Thus; live video streaming will simply not work as long as the large majority simply can't send as much video out as they require in in order to view the video.

    It really does not matter that it takes longer to download than it takes to view the video when viewing television series from tv-channels like eztv, which is why BitTorrent is so popular.

    This BitTorrent streaming idea is great in theory and it will work great if we upgrade all end-user connections, backbones and so on. The future will be great! But I do not think the tubes are ready just yet.

  9. Not so simple.. by Junta · · Score: 2, Informative

    First off 'broadcast' packets have poor meaning outside of a single layer2 network. In networking, broadcast means to send to everyone, whether they like it or not.

    I presume you meant multicast, which is a bit more sane, but at the same time, I haven't been convinced that an at-scale situation would work with networks generally as configured today. I wager a good number of arbitrary routers out there would fubar multicast. This, of course, doesn't get rid of the duplicates, it moves some of the problem to the networking backbone a bit and still you end up with retries for the clients that missed pieces. For streaming, it's particularly interesting if a client misses a packet. Generally, when not dealing with real-time considerations, multicast clients save what they can, then at the end ask for pieces they missed. With streaming, that is going on all the time as a client can't wait til the ill-defined 'end' to be orderly.

    Now, with all the networking infrastructure being pretty unicast tolerant, and not guaranteed much else, the p2p stuff makes some sense. Are there some inefficiencies on the host side, probably, but unicast is dead simple for networks to get correct.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  10. It works. by lkypnk · · Score: 3, Interesting

    Apparently, I am watching a live stream in moderate resolution at full frame rate from the roof of a building in the Netherlands.

    It works.

    I cannot even begin to imagine the ramifications of this if it is adopted by the "pirate" scene. I know its been done with closed source software before, but none of them work as fluently as this trial is. Live streaming television of any channel in the world, or at least, anyone who wants to hook up a capture card, for starters.

    I think we're watching the Internet change, fundamentally and dramatically, before our very eyes.

    1. Re:It works. by SanityInAnarchy · · Score: 2, Insightful

      I cannot even begin to imagine the ramifications of this if it is adopted by the "pirate" scene.

      That's because there really aren't any.

      Ramifications, that is. Seriously, piracy is all about redistributing existed content. What would we have a live stream of, PirateBryan's ass?

      Live streaming television of any channel in the world, or at least, anyone who wants to hook up a capture card, for starters.

      Any show that people care about is online within an hour of airing. Maybe two.

      And this wouldn't be as reliable as a straight download, either -- a straight download can die for a few minutes, and you lose nothing. You can download something in three hours that has a running time of two hours, for better quality. But this has to be realtime, and it's going to be hurt by the asynchronous/throttled nature of most connections.

      I think we're watching the Internet change, fundamentally and dramatically, before our very eyes.

      I think that's a vacuous statement -- the kind of thing a PHB or a politician would say to make himself sound in touch.

      The Internet is always changing. It's always dramatic, and often fundamental -- or never fundamental, depending on how you look at it (we still use TCP, IP, UDP, ICMP...) That's the nature of the beast.

      Moore's Law, and similar properties -- simple raw numbers changing, in terms of bandwidth, storage, processing power, and mobile power/size/weight/features/battery life -- all of these proceed, for months or years at a time, simply making our lives easier.

      Then, suddenly, someone realizes that this extra capacity has made something new possible. Suddenly, the Internet is ubiquitous enough that Google Docs is acceptable. Suddenly, bandwidth is fast enough that YouTube is possible. Suddenly, Google has enough sheer CPU hours to do a search engine via voice recognition.

      There are other ways in which change happens, but it is the nature of the beast for technology to change.

      In other words, what you just said is roughly equivalent to this. I'm not so much disagreeing with you as saying "Duh!"

      So no, I don't think that "streaming BitTorrent" will be that earth-shattering. It will be cool -- it might even become as cool as YouTube. But if you have some perspective, YouTube is hardly the biggest thing that ever happened to the Internet.

      --
      Don't thank God, thank a doctor!
  11. Well that depends on the ISPs, doesn't it? by Ungrounded+Lightning · · Score: 2, Insightful

    If you want broadcast, broadcast.

    When the ISPs all support multicast in a compatible way (or even support it at all) we can switch over to that. Unfortunately many have not chosen to do that - at least so far. (Not surprising, since many of them are broadcast media conglomerates. Multicast-for-the-masses would enable their competition on a shoestring-budget level.) Meanwhile, live torrents do the same job for the users without additional support from the ISPs.

    Yes it's not "efficient". But the main cost of the inefficiency falls squarely on the pocketbooks and infrastructure of the ISPs - the very people who have chosen not to provide the more efficient form of transport. How poetic.

    Perhaps, as this begins to deploy and places an additional load on the ISPs' infrastructures, they will change their minds about promoting multicast and rush to deploy/enable it.

    If they hurry they might head this off. If they wait until it's widely adopted they'll probably be stuck with it. Why should the users switch to something that's more efficient for the ISPs - but incompatible with what they're using now - when what they're using now does the job for themselves just fine?

    So if the reduction in latency and upstream traffic from going with multicsast isn't enough to convince the users to switch, the ISPs will be stuck begging the authors to upgrade the code to use multicast distribution where available as a friendly gesture. B-)

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  12. Interesting parallels by cheekymatt · · Score: 5, Insightful

    This is hilarious. The transport layer can theoretically handle this perfectly well, via UDP multicast.

    But here we are, implementing a multicast-like streaming system higher in the stack to overcome the fact that most ISPs have disabled multicast at their routers. If something like this takes off, maybe this would actually encourage ISPs to enable multicast.

    Also, I find this whole development awfully similar to the fact that many firewalls block everything other than HTTP on port 80, so now many apps have just moved to talking HTTP on port 80, or inventing pseudo-protocols on top of HTTP.

    Ahhh, the Internet...

    1. Re:Interesting parallels by Relic+of+the+Future · · Score: 2, Insightful

      I'm just reply so that my signature is attached to this.

      --
      Those who fail to understand communication protocols, are doomed to repeat them over port 80.