Live Video Capture

When doing live video cpature , if you have your
dataSource (the name and format of the videoCapture card) , is it enough to just create a player after that with the following line :
player3 = Manager.createPlayer(dataSourceCurrent);
or do I have to use medialocator or URL or anything else?
If so how do you set the mediaLocator to a datasource.
I know you can set it to a string or URL but how about a datasource?
Thanks
Melissa

When doing live video cpature , if you have your
dataSource (the name and format of the videoCapture
card) , is it enough to just create a player after
that with the following line :
player3 = Manager.createPlayer(dataSourceCurrent);
this should work. I found an example:
try{
file = new FileInputStream( new File( "yahtzee.mp3" ) );
catch(Exception e){
System.out.println("File open failed");
try{
dataSource = new StreamDataSource( file, "audio.mpeg" );
player = Manager.createPlayer( dataSource );
player.addControllerListener(this);
player.realize();
player.start();
} catch (Exception e){
e.printStackTrace();
The StreamDataSource is something a personal implementation from someone else, extending the PullDataSource.
As long as your dataSourceCurrent is by some means a DataSource/related to the DataSource (there is a diagram in the JMF API guide, showing the relations) ...
- Sascha

Similar Messages

  • How to display live video captured by a webcam on another computer?

    I am now writing a program to display live video captured by a webcam on another computer which is in the same network and I need to make it display on a applet page.
    I have already figured out how to capture live video on my own computer and display it on applet.(thank for people in Java forum). But for a webcam which located on another computer in the same network,what should I do? what technique do I need to achieve that?
    can anyone help me?
    Thank you very much

    Hi AbSoiLoki,
    Thank you for your reply. I have been able to locate a couple of different options here for you to try. There is a previous post for a different printer that is having the same issue with the printer mapping a Z:folder.
    The link here will direct you to a post on the HP Forums with some trouble shooting steps for you to try.  Click Here.
    I have also included another document on How to stop printers from grabbing drive letters, Click Here,
    Please let me know if this has been able to help you resolve the issue.
    I worked on behalf of HP

  • 1080p live video capture from camcorder to MacBook

    Is there a device or adapter that will connect the 1080p from a video camcorder's HDMI out to a MacBook's thunderbolt or usb port with QuickTime receiving the camcorder's video and audio when "New Movie Recording" is selected from that application?
    Or more succinctly, can I turn my 1080p camcorder into a webcam?
    Camcorders have better image quality than webcams (okay, maybe not necessarily JVC, but Canon's do) and more features, such as 38x zoom.   And my MacBook has a much nicer and bigger screen than that little LCD fold-out piece all camcorders have.   So combining the superior video capture of the camcorder with the superior display capability of the MacBook along with the advantage of live recording directly to the MacBook's harddrive (no intermediate SD card file transfer step from device to device) would result in an enhanced video capturing experience.   All that is required is some adapter that will take HDMI from the camera and translate it into something the MacBook will see as a webcam (usb or thunderbolt).   So where do I find such an adapter?

    What brand and model is your camcorder?
    From this we can determine what format it outputs in, because you capture with the output format from your camcorder. You then, after editing, use PRE to Share your project as MPEG2.
    These are the import video sources supported by PRE:
    If your camcorder manual is telling you that it outputs MPEG2 (this is a standard definition format) try the 'DVD Camcorder or PC DVD Drive' format.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children

  • Live video capture while playing back another video track?

    Is it possible to capture live video while another video track is being played back? I would like to do this for multitrack video recording of music: a) record a video track, then b) record a second video track while listening to/watching the first. Exactly like multitrack recording of audio as in Garage Band, but with video.
    A similar question was asked here, but I want to avoid manual synchronization. http://discussions.apple.com/thread.jspa?messageID=11712024&#11712024
    As an example, there are lots of multitrack videos on youtube, but you can often tell synchronization has been done manually as the audio and video are out of sync (even if only slightly):
    http://www.youtube.com/watch?v=a2RA0vsZXf8&feature=related
    Many thanks!

    I'm not too familiar with video editing (yet), so please forgive me if I've misunderstood your suggestions. I think what I'm talking about would have to be done post (after shooting multiple video tracks?), and couldn't be done with video switching (live switching between multiple video feeds?). Here's a much better example of what I'm trying to do: http://www.youtube.com/watch?v=PGKErn2Zr88
    What it boils down to in my mind is precise synchronization of a new capture with something pre-recorded (be it audio or video). If no software can do this (yet), perhaps there's a way to do it with additional hardware, for example playing video on a monitor while simultaneously recording with a camera, assuming the devices can be synchronized somehow?
    Thanks!

  • Live video capture/log? (filming football games)

    Filming football games over the weekend has been pain-free and enjoyable. What I need to find a solution to is the bulk of editing I have after the games which could be easily solved if I could avoid having to capture and log plays AFTER the games and instead handle it DURING the games. Here is my general workflow:
    Film game from two angles (sideline and endzone)
    Capture video from both cameras (each tape is about 40 minutes of real-time capture)
    Using a football software editing demo, which does not allow for live capturing, I then catalog each play as either OFFENSE, DEFENSE, or KICK. I then put all of the O,D,K plays together with one another and burn to a DVD for coach in which there are three chapters: O,D, and K.
    This is relatively easy but I need some advice people! How can I run a live capture, preferably from BOTH cameras which are pretty far away from each other, which would allow me to log each play? There's tons of software out there that claim to do it but I'm not comfortable dropping thousands of dollars on their software; especially since I do not know if it works the way I want it and because I already have CS3 Master Collection.
    I am hoping there's a way to run the sideline camera straight into the laptop and then the sideline camera straight into an external hard drive (or get really fancy and run it wirelessly) so that I can simply copy and paste the 2nd camera's footage to my laptop.
    It's a pretty easy process but I'd love to be able to avoid capturing after the game and spending hours logging when I could easily have paid assistants handle the filming while I log the plays live.
    www.webbelectronics.com is the site we are using some demo software from FYI. Thanks everyone!

    Tricaster wont do what we're looking to do although I do like Tricaster!
    Ok, will one of these harddrives allow me to capture video to it from a handheld camcorder live?
    http://www.buy.com/cat/firewire_hard_drives/450.html
    If I can find one that will, and get the software to run the other camera to into the laptop, this will cut down and nearly eliminate capture times!

  • Can I mark multiple edit points during live video capture

    I'm scheduled to provide edited video clips immediately following a live event coverage. I know I can capture live signal via uncontrollable source, but  how can I mark edit points on the fly for quick turnaround edits once the event is complete?
    I'm using a new 2011 MBP 17" i7, 8GB RAM, SSD and FCP Studio 3, connected to firewire feed from another device being fed by the camera operator.
    Thanks all

    Thank you Andy, Nate and Patrick.
    I took Cut Notes with me on my wife's iPad to the shoot this morning and was thrilled with the speed and ease of use that got my project completed, selected clips edited and posted and the customer happy before leaving the venue.
    You can see some of the clips here: http://www.youtube.com/results?search_query=rnc+chair&aq=f
    Portions of the audio will be used on NPR this evening.
    Any thoughts whether this capability might make it into FCP X so I won't need to carry the iPad to my next shoot?

  • Is blackmagic decklink monitor capture card compatible with Pr CS6 for live video capture?

    any assistance is greatly appreciated.

    About using the speed test:
    http://forums.creativecow.net/thread/124/864289
    I would invest in an external RAID controller.
    You can find a variety of such from AMUG in RAID5/6 that will support higher sustained thruput.
    http://www.amug.org/amug-web/html/amug/reviews/reviews.html
    http://www.amug.org/amug-web/html/amug/reviews/articles/highpoint/4322/
    http://www.barefeats.com/hard115.html
    http://www.amug.org/amug-web/html/amug/reviews/articles/highpoint/3522/
    http://www.barefeats.com/hard101.html
    Those should also give you a better feel for what to do with those numbers and what to look for.

  • Problem in video capture at server and fetching by client

    hi
    I am doing final year project it has server at one end which is connected to video capturing device-webcam in my case
    and the client is mobile.
    I want the live video captured be transmitted to the mobile client on fetch video request.
    I have tried implementing it but facing some problems so would like to know the reason behing and also ask if the way i am following is correct or not
    At server end i tried to extract frame as follows:
    //the datasource handler class is as follows
          * Inner class MyDSHandler takes the Output DataSource form the
          * Processor and extracts the frame from it.
          * It implements the BufferTransferHandler so that it can receive
          * Buffer from the PushBufferStream.
         public class MyDSHandler implements BufferTransferHandler
              DataSource source;
              PullBufferStream pullStrms[] = null;
              PushBufferStream pushStrms[] = null;
              //Buffer readBuffer = null;
              int i = 1, j = 1;
              * Sets the media source this MediaHandler should use to obtain content.
              * @param source the DataSource from the Processor
              private void setSource(DataSource source) throws IncompatibleSourceException
                   // Different types of DataSources need to handled differently.
                   if(source instanceof PushBufferDataSource)
                        pushStrms = ((PushBufferDataSource) source).getStreams();
                        // Set the transfer handler to receive pushed data from the push DataSource.
                        //pushStrms[0] since we need to handle only the video stream
                        pushStrms[0].setTransferHandler(this);
                   else if(source instanceof PullBufferDataSource)
                        System.out.println("PullBufferDataSource!");
                        // This handler only handles push buffer datasource.
                        throw new IncompatibleSourceException();
                   this.source = source;
                   readBuffer = new Buffer();
              * This will get called when there's data pushed from the PushBufferDataSource.
              * @param stream the PushBufferStream obtained from the DataSource
              public void transferData(PushBufferStream stream)
                   try
                        stream.read(readBuffer);
                   catch(Exception e)
                        System.out.println(e);
                        return;
                   if((readBuffer == null) || (readBuffer.getLength() == 0))
                        System.out.println("Null or Empty buffer encountered..");
                        return;
                   // Just in case contents of data object changed by some other thread
                   Buffer inBuffer = (Buffer)(readBuffer.clone());
                   // Check for end of stream
                   if(readBuffer.isEOM())
                        System.out.println("End of stream");
                        return;
                    * we can apply frame control here by deciding whether to process
                    * the frame or not
                   processBuffer2(inBuffer);
              public void start()
                   try{source.start();}catch(Exception e){System.out.println(e);}
              public void stop()
                   try{source.stop();}catch(Exception e){System.out.println(e);}
              public void close(){stop();}
              public Object[] getControls()
                   return new Object[0];
              public Object getControl(String name)
                   return null;
               * Processes the Buffer , i.e converts it into an image and
               * transfer its content via Socket
               * @param inBuffer the buffer received from the PushBufferStream
              public void processBuffer2(Buffer inBuffer)
              {         //extracting frame from video and writing image on stream
                   //RGBFormat format  = (RGBFormat)inBuffer.getFormat();
                   System.out.println(inBuffer.getLength());
                   YUVFormat format = (YUVFormat)inBuffer.getFormat();
                   Image img = (new BufferToImage(format)).createImage(inBuffer);
                   BufferedImage bimg = (BufferedImage)img;
                   if(bimg != null)
                        try
                              * encodes the image in the JPEG format and writes it to
                              * the socket
                             ImageIO.write(bimg, "jpg", clientOut);
                             System.out.println("Data Written to stream");
                             logArea.append("\n Image Data Written to Stream");
                        catch(Exception e)
                             System.out.println(e);
         }and how can one control the frame rate of the video like if i require the speed of 7 frames per second and the resolution
    also
    i am trying to convert the frame fetched to jpeg and at client , tried making use of jpeg image property by detecting the img start and end by reading the image data in bytes from the inputstream (0xffd8 as strt of image and 0xffd9 as end)
      byte[] img_data = new byte[4*1024];//buffer to read and hold one image info
    try
                    while((data = dis.read()) != -1)
                        //System.out.print(Integer.toHexString(data));
                        if(data == 0xFF)
                            fm = true;
                        else if(fm)
                            if(data == 0xD8)
                                //start of the image
                                System.out.print("Start of image found  : ");
                                //ctr should be zero at this stage here
                                //writing to byte[]
                                img_data[ctr] = (byte)0xFF;
                                ctr++;
                                img_data[ctr] = (byte)0xD8;
                                ctr++;
                            else if(data == 0xD9)
                                //end of image
                                //writing to byte[]
                                img_data[ctr] = (byte)0xFF;
                                ctr++;
                                img_data[ctr] = (byte)0xD9;
                                ctr++;
                                // consrtucting image from the byte[]
                                img = Image.createImage(img_data, 0, ctr-1);
                                if(img != null)
                                    repaint();
                                    System.out.println("Image drawn");
                                else
                                    System.out.println("Image is null");
                                    /*try
                                        Thread.sleep(500);
                                    catch(Exception e)
                                ctr = 0;  // ctr back to zero for the new image
                                //break;
                            else
                                //writing to byte[]
                                img_data[ctr] = (byte)0xFF;
                                ctr++;
                                img_data[ctr] = (byte)data;
                                ctr++;
                            fm = false;
                catch(Exception e){}
        }The problem i am facing is the client gets the black image just for a fraction of second and then the application hangs and no video is visible.
    I have very little time left to complete this project as deadline is very close
    please would be very grateful if guided timely.

    equator07 wrote:
    Thanks for the reply.
    i saw in recent posts some protocols had been made use of like rtp i am not making use of any of these
    will it effect?I can see that you're not using RTP... and "will it effect?" doesn't make any sense AT ALL...
    is the way i have made use of jmf correct?There's no correct way to use an API... but no, you're not doing things in even remotely a "tradional" way...
    *like the way i am extracting the frame,
    and how can i set the resolution of the video taken by cam and adjust the frame rate?*I have no idea if your code works. I assume that you would have tested it, and proved it to either be producing a valid JPEG image or not. If you've not done that testing, then you obviously need to.
    because i want live video to be seen at client end i am seriously confused and the progress as just come to an hault at this point and am in real need of guidance.You should probably be using RTP and the tradional way of using JMF then...
    [http://forums.sun.com/thread.jspa?messageID=10930286#10930286]
    Read through all of the links I gave the person on the above thread and you'll be on a lot better footing as far as using JMF goes.
    shall i send the server side code.Till now server and client are both on local host.No, I don't need to see any more of your code. I'm not a proof reader, and I'm not going to debug it for you. Do you own work.

  • Video capture and than transmit it

    After I made live video capture from (and play it with Man Media Player) I want to transmit this stram (using RTP) to other computer. How could I do this? Thank you.

    I used VideoTransmit.java sample from Sun (JMF solutions...). My problem is: I want see what I transmit. For this I need a Player for my Data Source. If I used a player for my Data Source I cann't used it for transmit. It is already allocated. I could clone my data source and use one for player and the other one for transmit. It works thus. I tried it. But the stream locks from time to time. I need other solution. If I used JMStudio->File->Transmit... the stream is played and transmited very good.

  • Capturing live Video From DV Camera

    I Tried to capture a church service using iMovie. I Expected multiple files because of the file size limit and imovie braking up the file. I also assumed that these files butt seamlessly together, but to my surprise they do not. How can i get a hour+ of continues live video recorded?

    Please note that I don't believe your camera will put out a proper full-resolution, full-quality HD signal via HDMI while in record mode. DSLR cameras are notorius for not allowing you to fully turn off info overlays on the HDMI output, or even if you can on your particular camera, the output signal is somewhat cropped or otherwise not a proper HD signal.
    We're a reseller of the Atomos Ninja portable recorders and this has been a huge issue - DSLR shooters want to use Ninja for the exact purpose you mention, for long, uninterrupted recordings, but the HDMI outputs from those cameras are just not suitable.
    Do this - connect the HDMI out from your camera to an HD display and start recording with the camera. Do you get a perfect, full-screen image without any overlays or any cropping, and at full quality? My understanding is that they all "dumb-down" the output signal in some regard while recording, unlike video cameras that will all put out a perfect HD image. The only 2 DSLRs that I'm aware of with "clean" output are the Panasonic Lumix GH2, and the new Nikon D4.
    As mentioned, even if a DSLR camera will put out a good image, you will need a "capture device" with HDMI input such as BMD Intensity or Matrox MXO2 Mini connected to Mac or PC.
    Thanks
    Jeff Pulera
    Safe Harbor Computers

  • Why i can not open Video Capture Device Settings in  Adobe Flash Media Live Encoder?

    Hi! I've got a problem with Adobe Flash Media Live Encoder 3.2. Why i can not open Video Capture Device Settings? I'm clicking this button, but it doesn't appear, there is just a blinking of the camera's window. Please help me, i'm looking like a shining red pig! Need to change the light or contrast.

    "The audio preview in FMLE indicates there IS audio being input"
    How do you know this?
    are you "Saving to file"? how is the audio in the saved file?
    Adninjastrator

  • ISight Capturing Live Video

    hi all,
    I just got a macbook with a built in isight camera. The isight works fine for photobooth and iMovie. The problem i have is capturing live footage. I'm unable to have a video chat on ichat. Also, i tried using it on ustream.tv. It doesn't work. I changed the settings on the adobe flash player but it still didn't work. So, I think the problem is capturing live video.
    please help! It's frustrating me
    Thanks,
    Labze89

    Thanks for clearing that up, Labze89
    Based on that info, your iSight can certainly capture live video.
    Ustream identifies itself as a beta site, so you should expect to encounter some problems, but you should be able to resolve them.
    Good quality streaming video requires broadband speed. More info below on this subject. Contact your ISP if you need to purchase additional speed (bandwidth.)
    Streaming live video also involves proper settings for your modem (and router, if you have one). If you have not recently rebooted (shut down for about a minute and then restarted) your modem and router, do so now. Be sure to let the modem's self-test finish before starting the router. Let the router's self-test finish before restarting your Mac. Rebooting sometimes is all that is required. If restarting does not correct your problem, you will need to consider other possibilities.
    At least for users in the USA, enabling your router's "UP-n-P" setting is often all the router configuration that is required. However, sometimes manual port configuration is required. If so, the instructions for your router will give you the info on how to check and change the settings. What setting values you must use will come from the service (Ustream or iChat) you want to use.
    If you have enabled your Mac's System Preferences > Sharing > Firewall, enabling your router's "UP-n-P" setting may allow you to stream video without additional configuration of your Mac's Firewall. If the problem persist when your Mac's Firewall is set to "On" and your router's (if you use one) UP-n-P setting is enabled, you may need to configure the necessary ports on your router and in your Mac's Firewall. Search "Help" on your Mac or see this link for Mac OS X 10.4 Help: Setting advanced firewall options.
    Also, your ISP must not be blocking any ports required by the service you are attempting to use. See the ustream.tv FAQs for help on your ustream.tv problems. For your problem with streaming video, check FAQ #s 9, 7, and 15 first.
    To minimize possible conflicts, disconnect all unnecessary A/V peripherals (such as eyeTV, game consoles, iPods, etc.) and quit all other applications while troubleshooting your problem. You can try adding them back one at a time once you can make your streaming work reliably.
    If these and the other FAQs do not help you resolve your ustream.tv problems, and if you do not get help from some other Ustream user here, click ustream.tv's Contact Us link for email help directly from the people who determine how the site works. They should be your best source.
    <hr width="85%">
    If you use dial-up, or if your broadband speed is not fast enough, iChat AV will also have video problems.
    The Mac OS X 10.4: iChat AV system requirements show all requirements for using iChat AV. For instance, you will not be able to use iChat's video if you do not have at least 100 Kbps broadband both up and down. You can test your internet service's uplink and downlink speed (bandwidth) at Speedtest.net.
    If you need to post back for more iChat AV help, please confirm that your system meets all system requirements and list your uplink and downlink speeds in your response.
    Jim
    PowerBook 1.67 GHz   Mac OS X (10.4.10)    G5 DP 1.8  External iSight

  • Capturing live video

    I am trying to capture soccer games live and while searching through this forum I found it was very easy to capture live video with a DV camcorder so hopefully my next question is possible as well.
    Am I able to upload (stream?) this video instantaneously so other people can view the video live?
    MacBook Pro 2.16 GHz Intel Core Duo, 1 GB DDR2 SDRAM Mac OS X (10.4.7)

    Daniel,
    Have you considered using conference recorder along with ichatav? I think it's freeware (not sure).
    Keep in mind iChat quality won't even come close to iMovie quality. That's a given.
    However, on my own G4 733 DA Mac system I am able to use both iMovie6 and ichatav3 at the same time (I have 3 ADS FW web cams on my system that i can switch back and forth from at will, as well as a sony 3 chip camera and a video capture card from canopus)
    In fact yesterday I used iMovie6 with an internal Canopus video pci card to capture a TV show to my HD, while also holding an ichatav three way video chat. And if that wasn't impressive enough all on it's own ; i was also able to launch QT Broadcaster and Safari on a third FW web cam.
    So yes, it is possible but I don't necessarily recommend doing this because it tends to overwork the cpu and at worst it can cause a kernel panic. However, mine worked smoothly & flawlessly .... although each additional app I opened slowed performance down significantly on most other open apps.
    Btw.... Don't try this at home because at worst, it could trigger a kernel panic.
    I'm fairly open to risk taking myself because I have mult. systems to work from. And I've only had a kernel panic twice in my life (both of them on my laptop).
    Lastly. this should tell you something about laptops in general. Don't expect to overwork them like you can a full size G4 or G5 tower. Most laptops simply aren't built for this.
    SDMacuser

  • Capturing live video for streaming

    Hello everyone
    I know this is a Premier hardwere forum
    But I could not find a better place to ask
    i want to capture live video (i have avchd camcoder vixia hfs 21)  to my laptop and stream it  in the same time with the Adobe Flash Media Live Encoder
    i read about the Black magic Solution like the  Intensity Shuttle, with good price,  but i understand that this machine good for cupture but dont work well with the FMLE.
    Does anyone have a solution for me that can fit a laptop too.
    tanks gavriel

    Harm Millaard wrote:
    Can't be done. You can't capture from that camera, only import, it can't be done live and it can't be streamed live in Flash format.
    Even if I have a HDMI output port and a\v output?
    If so what kind of equipment do I need to do the job properly?

  • How can I capture live video and still image by a DirectX compatible USB webcam using LabView ?

    Dear forum members
       I'd like to design a user interface which shows a live video and capture still images for it by a DirectX compatible USB webcam using LabView or NI Vision Toolkit, how can I do this ? and If this is possible How can I reach the webcam DirectX filter properties and set them using LabView ? I would be grateful to anyone Who lead me to the correct solution.
        Sincerely
        Cem DEMiRKIR

    Cem,
        With our example programs you can acquire and save an image (IMAQ >> File Input and Output >> Snap and Save to File.vi) from one camera, if you double the VI's to create the image and the image task, you can easily have one program acquire and save for two cameras.
        I may need more information on what you mean by calibration.  Do you mean basic camera setup?  That can be done in Measurement and Automation Explorer by setting up the options within the IMAQ settings for each camera.  Or do you mean more complex calibration for special types of images?  The more description of what you mean, the better I will be able to help you get it done.  You mentioned zoom and motion parameters, what kind of motion?  Our vision drivers only control triggering the camera to acquire, then analyzing, processing and displaying the resulting image.
        If you have more details on exactly what you want to do, that would be great.  Let me know if you have more questions, thanks!
    -Allison S.
    Applications Engineering
    -Allison S.
    Calibration Services
    Product Support Engineer

Maybe you are looking for

  • Change of supplier move-in error

    hello everybody, i am executing change of supplier. In the distribution company i have the following error in the WF log: "A move-in is already due on 01.03.2009 for installation XXXXX (contract YYYYYYY)" i checked and prior to the execution of Chang

  • How can i find total no of records in a cursor

    Hi Its very helpful if anybody reply my doubt I have a cursor declared in a procedure. i opened that cursor, i want to know the count of records in the opened cursor, means total count of records. is it possible?? Pls reply ASAP

  • Error while upgrading the NW04 engine

    Hi All, I got following error while upgrading the NW04 engine. "error while reading sdmrepository.sdc file. return code 16." I tried from stand alone. same issue. It would be great if somebody gives solution quickly. Thanks Vincent

  • Preventing duplicates in Aperture?

    I'm using the Import function (not dragging from the Finder) JPG photos and I have the box checked "do not import duplicates" - yet when I import files into the same project I'm getting duplicates and they are the exact same file name.  Is there some

  • 10.5.8 combo update.......will take 1 day 15 hours........

    Hi- like many of you, I have experienced a slow-slow-slow internet connection since upgrading to 10.5.8. I have a MBP. I have a new TC (dual band) that was working very well prior to the upgrade. I have been reading a few threads and tried a few thin