Menu

Streaming

Anonymous
2014-05-09
2014-05-14
  • Anonymous

    Anonymous - 2014-05-09

    I want to draw a shape on each frame and upload to server frame by frame what is the best approach to do this?

     
  • Jonathon Hare

    Jonathon Hare - 2014-05-09

    I think the proper way to do it is to use xuggle to encode to an rtmp stream which you can then publish with a streaming server like red5.

     
    • Anonymous

      Anonymous - 2014-05-09

      I am very new to video streaming but is that the only solution? As of right now I am encoding each processed frame using xugglevideowriter save about 20sec worth of frame and encoding it as a .mov and then uploading to server. So each upload has about 20sec worth of playtime.

       
  • Jonathon Hare

    Jonathon Hare - 2014-05-10

    I guess it really depends on what you're trying to accomplish; if you want actual streaming video, then I think that is a pretty standard approach. If you don't care about framerate, then you could get away with uploading a still frame, and writing a web-page that periodically displays the latest picture. I'm definitely not an expert in this area though, so there might be other alternatives that I'm unaware of...

     
  • Anonymous

    Anonymous - 2014-05-14

    The ultimate goal is to record video from webcamera and upload to server for storage after analyzing each frame lived. My issue is I don't know the fastest way to upload the video as it is being analyzed.

     
  • Jonathon Hare

    Jonathon Hare - 2014-05-14

    Do you want the video file on the server to just get bigger over time and have users always play it from the beginning?

     
  • Anonymous

    Anonymous - 2014-05-14

    yes but i want the sending of each frame to be sent to server as soon as it finished processing.

     
  • Jonathon Hare

    Jonathon Hare - 2014-05-14

    I don't know of any standard ways of doing this - you need a video format that allows new frames to be written to the end of the file. Perhaps you could do something using the Motion JPEG format (essentially it's a video file made up of multiple JPEG compressed frames) and have the server append each frame to the file. Unfortunately you wouldn't get very good compression, so the video file is likely to be massive.

     
  • Anonymous

    Anonymous - 2014-05-14

    thanks for pointing out motion Jpeg I think that might be the way I will go about doing it. I really appreciate your response.

     

Anonymous
Anonymous

Add attachments
Cancel





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.