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

Similar Messages

  • Stops and starts in video streaming from iphone to tv using apple tv and airplay.Both devices have latest software and are capable.

    When try to stream content (specifically, videos from Acorn.com) to my TV through my apple TV from my iphone 5,The video  freezes, stops and starts continually, even though it is playing smoothly on the screen of my iphone.  both iphone, Apple TV  are capable models and have latest software updates.
    What's wrong here?

    Not necessarily, but right now you don't have a stable network and there are a lot of factors that can compromise that. I didn't say ethernet was the only option, again you can get a report of your network to see the status.  Would have to change things in order to strengthen the wifi signal (i.e. router location, channel,placement of ATV etc). I am running on wireless without issue, same as most users, and if you took it to a controlled environment (like Apple) you would see similar results.

  • 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

  • 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?

  • 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.

  • 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.

  • Does Premier Elements allow me to record video streaming from the internet?

    Does Premier Elements allow me to record video streaming from the internet?  If so which version and how?

    kc42k
    Although Premiere Elements is not going to record streaming video from the Internet but there are other programs that can, you should consider the terms of service for the web site that is the source for the streaming video.
    Online, there are very comprehensive articles on numerous programs that will do the recording.
    But, even those articles point out that many of the Internet web sites that you target for their videos have terms of service that would legally prohibit the recording of streaming video from the named web sites, one example, YouTube, if no download button and depending on the terms of service.
    Please consider. Any questions about the above, I can point you to the appropriate documentation on the matter.
    Thank you.
    ATR

  • 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

  • Streaming from Vivotek webcam

    Hello guys,
    I'm a novice in Adobe Media Server. I installed the latest version of this product and now I don't know, howto configure it. I have sucessfuly installed the AMS server in my local network and now I'm need to configure it to stream the content from my Vivotek IP camera. Can anyone help me, how to do this ? The IP webcam needs the user authenticifaction - username: webcamuser password: webcampassword. May I ask for help ? My business partner is thinking for buy the Professional version. I'm very need help. The usage is for live video stream from IP camera. Thanks, Petr. .......OS Linux, CentOS 6 with AMS Started. 

    I was disillusioned by Adobe company. Competitive society (WOWZA) solve my problem in few minutes when I contact their support over the email and they help me with TRIAL licence and setting up their product for my solutions in our environment. Please close this discussion. This is not professional support !

  • Capture video stream from network

    Hi all,
    I have application to broadcast video to network.
    And I want to write app use jmf to capture video stream.
    if you have any sample source code, please send to me
    (my mail: [email protected]).
    Thank you.

    yap
    avtransmit2 is giveing ERROR (line:123 "Couldn't create DataSource") so i thing medialocator is not finding so datasource is not created but variable locator is not NULL.
    i am trying to transmit from webcam (realtime).

Maybe you are looking for

  • Sso session timeout per partner application

    Hello, I was just wondering if it is possible to configure SSO session timeouts per partner application? I'm looking to log out users of a particular application after 15 minutes, but don't want this change to affect any of my other SSO enabled appli

  • Error while creating a view

    Hi All, I am getting the below errors while creating view. ORA-03135:connection lost contact ORA-03134:not connected to ORACLE Please suggest. Thanks AJR

  • Encoding Video to watch on TV

    I have just about every video program known to man. That said which program and more importantly what settings should I use to to encode a video for the ipod that I can watch on TV. I have a plasma and would like decent quality. The settings should b

  • Nokia lumia 710 update 7.8 for airtel user

    Hi can anyone let me know when will 710 will uopdate to 7.8 as at present i am on 7.5. I am on airtel carrier & when i check over online its showing tht 710 is updating to 7.8. but my phone is showing no update. plz help me........

  • Trouble starting CentOS after installing XE

    After tackled XE on Window XP and 10g DS, I moved on to Linux. I installed CentOS 4.2, and everything seemed to work fine. Then I installed 10g XE with Start XE when CentOS boots up. Everything seemed to be fine, and I was able to login through the X