Saving video stream from webcam periodically!!!

Hi there, I want to catch every 1 minute video stream from the webcam, or video file, and save it into separate files. Of course I woudl like to have possibility to save many streams simultaneously. Any idea?
Best regards

Hi,
I want to do the same thing ... I was able to stream audio through the socket but could not stream video.
I posted my question at http://forum.java.sun.com/thread.jspa?threadID=674676&tstart=15
and presented a sketch of my implementation design. But until now no one has answered my question.
This is how you should hook up the components on the transmitter side
Webcam --> Processor --> Custom DataSink --> PushBufferStream --> PushBufferHandler --> Socket --> Network.
You can implement the transferData() method of the PushBufferHandler to write to a socket.
And on the Receiver side the components should be hooked up like this
Network --> Socket --> PullBufferStream --> custom DataSource --> Player
Now as I mentioned in
http://forum.java.sun.com/thread.jspa?threadID=674676&tstart=15
the audio works fine but the video does not. The video does not render on the receiver side.
Note: I tried TCP sockets with audio and it is terrible (not practical at all) so I reverted to UDP datagrams and the result was better than I expected. I didn't take care of the ordering of received packet at the receiver but it still worked fine.
I am still looking waiting for some help in why video is not rendering and how can I sovle this problem.
I am workning on a project and time is running out.
Any help?
-Adel

Similar Messages

  • Video Stream from Webcam with socket possible?

    Hello there,
    i want to stream a live feed from my webcam in a chat, but i have no idea how to manage it... ( i dont want RTP ) ...
    I can allready display it on my screen, but how do i stream this ?
    Can i create a Socketstream from this ?
    And how can i transmit the format info to the other side?
    What i have is the following:
    The Component of the Camera:Component live = player.getVisualComponent();And the Formatsprivate static Format[] availableFormats;
    availableFormats = deviceInfo.getFormats();Any Ideas ?

    Hi,
    I want to do the same thing ... I was able to stream audio through the socket but could not stream video.
    I posted my question at http://forum.java.sun.com/thread.jspa?threadID=674676&tstart=15
    and presented a sketch of my implementation design. But until now no one has answered my question.
    This is how you should hook up the components on the transmitter side
    Webcam --> Processor --> Custom DataSink --> PushBufferStream --> PushBufferHandler --> Socket --> Network.
    You can implement the transferData() method of the PushBufferHandler to write to a socket.
    And on the Receiver side the components should be hooked up like this
    Network --> Socket --> PullBufferStream --> custom DataSource --> Player
    Now as I mentioned in
    http://forum.java.sun.com/thread.jspa?threadID=674676&tstart=15
    the audio works fine but the video does not. The video does not render on the receiver side.
    Note: I tried TCP sockets with audio and it is terrible (not practical at all) so I reverted to UDP datagrams and the result was better than I expected. I didn't take care of the ordering of received packet at the receiver but it still worked fine.
    I am still looking waiting for some help in why video is not rendering and how can I sovle this problem.
    I am workning on a project and time is running out.
    Any help?
    -Adel

  • Capturing, timestamping and saving a video stream from a webcam ?

    Hello everybody,
    Glad to be in this forum.
    I got to do a program in java doing :
    - a capture of a video stream from a webcam
    - adding time and date on it
    - saving the video stream in a video format compatible with linux and windows
    Is it possible to do that in java (using JMF I guess) ?
    Could anyone help me to progress on my project ?
    thx a lot
    agussi

    Hi agussi, yes, it's possible to do that in Java using JMF.
    I'm not a JMF expert, but I've found this code very useful: http://forum.java.sun.com/thread.jspa?threadID=570463&tstart=50
    This piece of code shows the webcam stream and you can take snapshots with it. With a little tweak you can do what you are expecting.
    I hope this helps.
    Ivan

  • How to take advantage of H.264 video streaming of webcam BCC950

    We used flex 4.6 to develop an web app using Logitech webcam of BCC950, We used Graphedit of Directdraw to know BCC950 has pin 0 to support i320,RGB24,and mjpg stream, and pin 3 to support H.264 stream. We also set h264videostreamingsettings in as code to ask for H.264 data directly from the webcam, but from the CPU consuming we can judge flash player only fetch pin 0 uncompressed data instead of H.264 data directly. We need to take advantage of BCC950 H.264 support to get webcam hardware compressed H.264 streaming data to avoid compression by CPU/software. As we know flash does not give programmers choice to define the pin to get data, then what we need to do to make sure we can get H.264 video stream from the webcam directly? thanks. Henry

    ...well I did follow that article on playing an h264/mpeg4
    video in flash. It works well, but how would you add playback
    controls?
    FLVPlayback component only allows you to source an FLV video
    not h264/mpeg4.
    This is probably a simple as3 answer...but I am not
    knowledgeable on as3 to know what code to add.
    Any suggests or direction that I should look would be great.
    In the meantime I am researching actionscript 3 to find and anwer.
    E.

  • Slow video streaming from internet

    When playing a video stream from a website, I get choppy playback. The playback works in 10 second groupings, then stops to retrieve more data, plays a little more, then repeats process. A 3 minute video can take 6 minutes of frustrating playback. I'm trying to start with Firefox, Windows 2000 machine (yes, it's a dinosaur) to see how to speed it up.

    This can be a problem with the file [http://kb.mozillazine.org/sessionstore.js sessionstore.js] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Firefox stores session data every 10 seconds to make it possible to restore a crashed session.<br />
    If you have (security) software that interferes with that or have many tabs open then that cause cause a delay.
    Some have reported that increasing the session store saving interval worked for them.
    See:
    * http://kb.mozillazine.org/Session_Restore
    * http://kb.mozillazine.org/browser.sessionstore.interval

  • Can I see video stream from a website on my tv from my desktop with apple tv

    I am trying to watch a weekly video stream from a website using my Mac desktop on my tv with Apple Tv..can I do this?

    If your computer is a Mac and new enough (2011+) then maybe.  See required specs here:
    http://www.apple.com/uk/osx/specs/
    If you have an older Mac or Windows machine try airparrot.
    AC*

  • HT3819 video stream from amazon prime to my TV

    i want to video stream from amazon prime to my TV  via my ipad, mac book using my apple TV device..

    there is no reason to get rid of Apple devices, not when a Chromecast, Roku, or FireTV can be acquired so cheaply. 
    This is a true statement, but this is a bad option in the long term since your content will be split between different sources, DRM rules, apps, access options, etc.  You are going to constantly be running into issues were you want to watch a show that is not available on the device (phone, tablet, etc) you are on.  I share "Disgusted_with_apple" frustrations in that Apple has not updated in three years now leaving Amazon FireTV and others with better interfaces and features but having my content locked into Apple's DRM.
    Apple was really first to market with a viable TV interface device, and has completely turned the market over to its competitors just by not showing up.  And now ATV can not play content, or provide features that ALL of the competitors have.   I recently bought an Amazon FireTV and love it.  The only advantage Apple has left is the iTunes Store still has more content, but that is not likely to last.

  • Need some help in saving video message from viber to my Iphone. I disabled the thing that would save photos and videos automatically then, there comes a video I want to save. After loading and watching it, I press the "save to gallery"

    Need some help in saving video message from viber to my Iphone 5S with new ios 8's program . I disabled the thing that would save photos and videos automatically then, there comes a video I want to save. After loading and watching it, I press the "save to gallery" thing but it doesn't save in gallery. I tried all, restarting my phone, rebooting then turning on the save automatically thing and when I watch it again, it still wouldn't save.

    Probably a good question to ask Viber or look at their support site.

  • Video streamed from YouTube using the Apple Composite AV Cable

    I used to have video streamed from YouTube on my iPad to my TV using the Apple Composite AV Cable, this was in previous versions till the iOS 6 release, then YouTube no longer streams video through this cable :'(
    Very annoying really to miss a feature through a software upgrade!
    Please help me.

    Looks like the connector that goes into the iPad doesn't precisely connect all pins and lock the whole thing in place as well as we would think an Apple-branded product would. I discovered after four hours that if I pull my AV composite cable from the iPad without turning the iPad off (not the Apple recommended way - perhaps there's a better way, like replugging with it off?) and plugging it back in, *poof* I get video again. Now, Netflix still isn't working, but U-Tubes and photo slideshows are back with awesome-quality sound. I believe I'll get similar results when I try this on my iPhone 4.
    I guess Apple TV is really the only way to get the luxury back of being able to stay focused on your entertainment and not this equipment because this was spozed to be a movie nite for me four hous ago. I just wish Apple TV had as much content as the Roku.
    Anyway, just plug and re-plug, but don't be too hard on it. You might also have to turn widescreen off and back on again.

  • IIS7 configuration, blocked broadcast video stream from third party host

    I have a client that recently replaced a windows server 2003 with windows server 2008 R2 as their webserver.  This was a big change to IIS7.  An application that I developed for them has stopped working and I believe this is related to the IIS7
    configuration.  The application uses SilverLight technology to display a broadcast video along with some powerpoint slides.
    Here is the URL going to the server from a link on an html page. 
    http://iiscast.wlf.org/vod/broadcast/sctr01/0/start.html?media=http://iiscast.wlf.org/vod/broadcast/unit2.asx
    The iiscast.wlf.org is the public name for the IIS server.  When we click on the link it does properly display the start.html content but fails to connect to the video stream.  The video stream is hosted by a third party and the contents of the
    unit2.asx file has the url for that video stream.  When a put the
    http://iiscast.wlf.org/vod/broadcast/unit2.asx portion in IE it does properly display the video stream on mediaplayer.   All this worked prior to moving to the new server.   When I use F12 in IE to debug this, I see a brief message appear
    in the debugger that it is opening unit2.asx.  After that the debugging is very limited except I know I’m getting an exception in the silverlight and the video doesn’t display.   Other similar Silverlight apps on the same server that display
    archived video are working.
    Here is the content of unit2.asx
    <asx version = "3.0">
      <Title>Unit2 Bdct</Title>
      <entry>
        <ref href = "http://easylink.playstream.com/winlive/wlforg2.wvx"/>
      </entry>
    </asx>
    Playstream is a video stream hosting company.  When someone links to them, it pulls the video stream from my clients media server broadcast point. 
    wlforg2.wvx contains the link back to the media server broadcast point at my client.
    We have a lot of connections going on but keeping in mind that  http://iiscast.wlf.org/vod/broadcast/unit2.asx will display the video and
    http://iiscast.wlf.org/vod/broadcast/sctr01/0/start.html?media=http://iiscast.wlf.org/vod/broadcast/unit2.asx
    Is not displaying the video although all this worked on the old server.
    My guess is that something in the IIS7 is blocking this process.
    FYI the old server completely died so I can’t look into its configuration which was done in 2004 by someone else.

    This was entered in the iis.net forum as suggested.  The problem has been resolved.  The hosting service determined they had an edge server that was faulting.  Their edge servers were automatically assigned by geography which meant
    that depending on how/where we accessed the system for troubleshooting we used a different edge server.  Hence some tests always failed and others always passed.  FYI the hosting service had this problem for over a month and did not detect it
    themselves.  Fortunately we connected with a dedicated service technician late on a Saturday night and he figured it out.  

  • EA6300 cannot video stream from computer to Ipad on my local networt

    I was previously using Video Stream (from Connect3) to stream videos from my computer to my Ipad with no problem. I was using a WRT400n and now have upgraded to the EA6300. Now my Ipad can no longer acces the server on the computer. I tried port forwarding but that didn't work. I assume that some setting(s) on the router is blocking it. The computer is connected to the network using usb wireless. It was connected via cable when using the 400n.
    Computer IP 192.168.1.118, ipad IP 192.168.1.40. Does anyone have any idea why the Ipad and computer cannot connect?
    Solved!
    Go to Solution.

    Are you able to stream videos to ipad if you connect the pc to router using ethernet only? It may need driver update if it works fine when the pc is directly connected to router using ethernet.
    I can see that your router detected the ipad twice in the device list. In this case, try turning off your ipad. Once it is offline, remove it from the device list. Turn it back on, then go to connectivity and select local network. Click on DHCP reservation and reserve the ip address of the ipad. Check is streaming works after that.
    You may also need to check if the router's firmware version is up to date. In the Connectivity>Basic tab, click on check for updates button. Proceed with the update if it prompts for it.
    Another cause of this issue could be your Video Stream app. Try uninstalling/reinstalling this app or you may also try other video streaming apps like twonky.

  • ATV2 - 4.2.2 Update - Video stream from desktop quits after 2 minutes

    ATV2 - 4.2.2 Update - Video stream from desktop quits after 3 minutes after most recent ATV2 software update
    ATV2 is connected wired to router, desktop is 802.11n

    Reset ATV2, router, and desktop machine and everything appears to be working normally now.
    False alarm.

  • How to acess a PTC camera video stream from DVR card/PCI-slot

    I have a security camera which i connected to PC using PCISLOT/DVR Card.
    My requirement is to get the video stream from this camera and show in my program using java
    if it is possible using java and how to do this.
    Thanks in advance

    Believe it or not, this isn't really a Java question. You should begin by looking around your camera manufacturer's website for Java APIs, then their forums if they have any, contacting support and so on. Hoping that a general Java community will know exactly what is required here is a bit pie-in-the-sky.

  • Why is my ipad2 not buffering videos streaming from web as quickly as it can play them and keep making my videos stop playing?

    When I try watching videos streaming from itunes or u tube or any streaming source the ipad2 does not buffer the videos as fast as they are being played. This makes the videos stop playing within a few seconds after they start and I have to continuously hit the play button to watch videos in bits and pieces. This makes the streaming of videos on this device virtually impossible.

    You may be having some problem in your local network or your internet connection is not fast enough to properly stream the videos.
    What type of internet connection are you using (cable, DSL, etc?)
    What sort of local network do you have? router make/model, etc.
    What other traffic is on your network?

  • Saving video messages from viber to Iphone

    Need some help in saving video message from viber to my Iphone. I disabled the thing that would save photos and videos automatically then, there comes a video I want to save. After loading and watching it, I press the "save to gallery" thing but it doesn't save in gallery. I tried all, restarting my phone, rebooting then turning on the save automatically thing and when I watch it again, it still wouldn't save.
    I would appreciate your suggestions. Thank you!!!

    I have tried it myself, and it actually works. However, it takes a rather long time for it to show up in your gallery.
    It requires a little bit of patience.

Maybe you are looking for