Live Video of Server

Discussion in 'Archived: Plugin Requests' started by woodzy, Apr 13, 2011.

  1. Offline

    woodzy

    a plugin that can stream a live 24/7 feed of a server from a point based on a "fake" players pos that an admin or mod can move with a command im thinking, u can open this live video feed from a custom webpage kind of like how dynmap works but closer like as an in-game player would see it.
    maby the commands could be something like err.....
    /video start <--starts the feed
    /video stop <---stops the feed
    /video move <--- would "pickup" the fake player and move with the admin/op that picked it up kind of like a tour maby. and if that player loged out it would stay put till moved or placed again, still doing the feed
    /video place <---you would have to be looking exactly what u want the video feed to show
    now to reduce server lag.
    have it run on a diffrent cpu core then the server so it would have its own cpu core. and have it have configabl file for max ram usage, max cpu usage, max users connected to it, transfer speed/type modem/dsl/cable/fiberoptic
    my set up if it helps
    ubuntu 10_10
    openjdk6
    apanche2 (webserver)
    mysql
    4GB ram
    6 cores (2.8Ghz each)
     
  2. Offline

    turtlelink2

    Oh my that sounds awesome but it also sounds memory intensive
     
  3. Offline

    Ne0nx3r0

    Seems like it would be easier to mount a -real- player someplace and fullscreen video it, rather than rendering it on your server.
     
  4. Offline

    woodzy

    i only have a CMD and a ftp i dont have a desktop on my server, so a plugin would be needed
     
  5. Offline

    Ne0nx3r0

    What I mean is do this on a desktop computer. There's no reason to burden your server with video rendering.
     
  6. Offline

    woodzy

    but i have cores not beeing used and my home pcs internet cant suppert something like this
     
  7. Offline

    Ne0nx3r0

    Cores yes, but RAM/IO/bandwidth?

    I'm just saying this would be the wheel exists solution, you wouldn't need to do any coding to get to this setup - there are plenty of services that could support this solution. (you would need an extra account, I suppose)

    I did ponder about exporting sections of the server to a web service as xml/csv or something, then having something like flash (or Java, I -guess-) model them locally in the users browser, but that seemed like quite a bit of work. Then I thought, why watch a video of the server when you could just play on it?
     
  8. Offline

    woodzy

    ram OK, IO plenty, bandwidth on server can we say fiberoptic :D
     
  9. Offline

    ks07

    I think this is a pretty sweet idea, but even with the mass of spare processor cores left after MC is running, I can't shake the feeling this could do with a graphics card to help render :p
     
  10. Offline

    woodzy

    its a vps type server the grafs are err well i dont how to say how there made but i can render my map with dynmap just fine (need to do a full render soon thro)

    some love for this?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  11. Offline

    croxis

    I agree that it does sound awesome, however it is outside the scope of bukkit. In order to pull this off you would need a modified client that outputs the screen to a streaming video file. This could run on the same or different machine as the server. It could be done as a plugin, but it isn't the route I would take.
     
  12. Offline

    woodzy

    well running a client on the same as the server is a bad idea but it would allow a non-stop stream but then how would you move the video? and could u make it as a flash-player kind of thing? mabe that would use less ram.as for the modded client you could do a non interactive localhost only type client? maby it would take less then 500MB ram, and errr......
     
  13. Offline

    croxis

    I'm not exactly sure what you mean by move the video?

    In order to make a streaming/flashplayer live video you need someway to render the information into video frames. Our normal game clients does this and outputs it on our screen. What is needed is a modified or custom client, which could be a standalone program, or a bukkit plugin I suppose. Instead of rendering the frames on the screen, the frames are rendered to an offscreen buffer or even a file in a ramdisk. The video transcoder would take these images and render them into a video, which can be streamed in a flash player or some other method. Controlling the camera could be done through a normal plugin interface.

    Here is what it would look like:
    Craftbukkit --- VideoControl plugin (start, stop, move camera) ---> Special client --- Video Transcoder --- Output

    There are some optimizations that can be done. Making the "screen" smaller will drastically lower memory, cpu, and bandwidth issues than trying to do it in "High Def."

    All the steps to do it exist or are trivial except for the special client. There are two options for it. One is either taking the current client, deobfuscate the code, remove all unneeded stuff and replace the current render with an off screen one, or building a custom client from scratch. Building a new client from scratch would probably be the most simple. All that would be needed is off screen render, a network layer to talk to both the plugin and the server directly, reading the minecraft texture format if you want to use texture packs, some logic to construct the geometry of the game world, maybe some physics logic for water and lava, and a memory manager to manage removing geometry from memory, and probably some other important stuff I forgot.
     
  14. Offline

    woodzy

    you sir jsut put my thoughts and ideas about this in to words lol, how about the ablity to but the "camera" on diffrent players and have it follow them? kind of like a 3rd person video game view. im hoping to get this in much more going be for i go big time with my server, were only 20 player max for now but when all is in place in hopeing to go to 100+ and maby if the minecraft gods are pleased be on the top 5 best servers list
     
  15. Offline

    croxis

    Attaching the camera to a person is possible as well.
     
  16. Offline

    SirHedgehog

    Would this not be possible by duplicating player packets server side to an embedded MC client (modified slightly to ignore the login)? You could even cycle through player views then too.
     
  17. Offline

    woodzy

    YES YES YES^^^
     
  18. Offline

    woodzy

    love?
     
  19. Offline

    Archelaus

    Quit bumping and read the sticky at the top.

    This isn't possible with bukkit. We cannot capture video.

    This, is possible. But extremely hard and would require a client mod. This is a bukkit request forum, for bukkit plugins. If you want to request this, request this part someplace else.
     
  20. Offline

    SirHedgehog

    I wasn't requesting anything, I was merely pointing out a potential solution.
     
  21. Offline

    Archelaus

    Was quoting you to highlight your suggestion, I know you were just suggesting it.
     
  22. Offline

    vlado2portos

    Hmm this would be a sweet function, but i have to agree this require stripped down client and probably bukkit plugin that would send other players coordinations when requested to "follow them", I might have a look at the solution, but my java coding skills are low :)
     
  23. Offline

    rockxz2135

    Ok sir to do this it would require a lot of hardware and hours of coding to pull this off and if anyone could do this it would require an incredible network connection like a T3 something server companys dont just hand out. Your better off paying some guy to have a minecraft account setup a livestream and dedicate it to minecraff either way this isnt going to happen
     

Share This Page