Record video in JAVA

hi is there any media player with recording functions etc in JAVA??? to record video from IP Axis camera.
advance thanks.
regards.

hi,
did you find a solution ?
I also need to get a streaming video from an ip axis camera.
thanks

Similar Messages

  • Record video using webcam in webapplication

    HI all,
    I have a requirement like, need to record video through webcam in my webapplication. can u please guide me how can do that. i dont know anything how to do this. please guide me in solving this requirement.
    thanx in advance

    API
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/apidocs/]
    Examples
    [http://www.cs.odu.edu/~cs778/spring04/lectures/jmfsolutions/examplesindex.html]
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/index.html]

  • Capture and Record Video - Helppppppp

    my application capture video from a web cam using WDM.
    when i start my record video function, i got a message "capture device in use".
    how can i capture and record video at same time ???
    is there anybody there that can send me an example????
    thanks a lot..

    There was an example that does this: AVTransmit3.java, try some googling.
    If you do not find, go to: http://www.cs.technion.ac.il/Labs/dsl/projects/JazzEnsemble/completed_projects/IpCTalk.htm
    download the exe file, install it with the source (custom) and have a look at
    MonitorStream.java
    MonitorCDS.java
    CaptureUtil.java and InitVIdeo.java

  • Camcorder profile android runtime record video blackberry 10

    I am porting an android app to bb10 that records video, but when i select one of the camcorder profile availables,
    it always record with a high resolution, i cant record a video with a low resolution(that's what i want) can anybody help me? . 
    The video always get recorded those are my parameters:
    protected void startRecording() throws IOException 
       mrec = new MediaRecorder();  // Works well
       mCamera.unlock();
       mrec.setCamera(mCamera);
       mrec.setOrientationHint(90);
       mrec.setPreviewDisplay(surfaceHolder.getSurface());
       mrec.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
       mrec.setVideoSource(MediaRecorder.VideoSource.CAMERA);
       mrec.setProfile(CamcorderProfile.get(CamcorderProfile.QUALITY_LOW));
       java.util.Date date= new java.util.Date();
       String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(date.getTime());
       mrec.setOutputFile(Environment.getExternalStorageDirectory()+"/VID_"+timeStamp+".3gp"); 
       mrec.prepare();
       mrec.start();
    also in the logcat the device prints this:
    04-08 00:31:38.315: I/MediaProfiles(16224500): MediaProfiles::initProfilesLocked()
    04-08 00:31:38.315: I/MediaProfiles(16224500): MediaProfiles::initCamcorderProfilesFromCache()
    04-08 00:31:38.317: I/MediaProfiles(16224500): createCamcorderProfile: camera: 1, width: 320, height: 240, bitrate: 666666, quality: 7, duration: 60, timeLapse false
    04-08 00:31:38.317: I/MediaProfiles(16224500): createCamcorderProfile: camera: 1, width: 320, height: 240, bitrate: 333333, quality: 1007, duration: 60, timeLapse true
    04-08 00:31:38.317: I/MediaProfiles(16224500): createCamcorderProfile: camera: 1, width: 176, height: 144, bitrate: 220000, quality: 2, duration: 60, timeLapse false
    04-08 00:31:38.317: I/MediaProfiles(16224500): createCamcorderProfile: camera: 1, width: 176, height: 144, bitrate: 110000, quality: 1002, duration: 60, timeLapse true
    04-08 00:31:38.317: I/MediaProfiles(16224500): createCamcorderProfile: camera: 1, width: 352, height: 352, bitrate: 1075555, quality: 0, duration: 60, timeLapse false
    04-08 00:31:38.318: I/MediaProfiles(16224500): createCamcorderProfile: camera: 1, width: 352, height: 352, bitrate: 537777, quality: 1000, duration: 60, timeLapse true
    04-08 00:31:38.318: I/MediaProfiles(16224500): createCamcorderProfile: camera: 1, width: 720, height: 720, bitrate: 4500000, quality: 1, duration: 60, timeLapse false
    04-08 00:31:38.318: I/MediaProfiles(16224500): createCamcorderProfile: camera: 1, width: 720, height: 720, bitrate: 2250000, quality: 1001, duration: 60, timeLapse true
    04-08 00:31:38.318: I/MediaProfiles(16224500): createCamcorderProfile: camera: 0, width: 320, height: 240, bitrate: 666666, quality: 7, duration: 60, timeLapse false
    04-08 00:31:38.319: I/MediaProfiles(16224500): createCamcorderProfile: camera: 0, width: 320, height: 240, bitrate: 333333, quality: 1007, duration: 60, timeLapse true
    04-08 00:31:38.319: I/MediaProfiles(16224500): createCamcorderProfile: camera: 0, width: 176, height: 144, bitrate: 220000, quality: 2, duration: 60, timeLapse false
    04-08 00:31:38.319: I/MediaProfiles(16224500): createCamcorderProfile: camera: 0, width: 176, height: 144, bitrate: 110000, quality: 1002, duration: 60, timeLapse true
    04-08 00:31:38.319: I/MediaProfiles(16224500): createCamcorderProfile: camera: 0, width: 352, height: 352, bitrate: 1075555, quality: 0, duration: 60, timeLapse false
    04-08 00:31:38.320: I/MediaProfiles(16224500): createCamcorderProfile: camera: 0, width: 352, height: 352, bitrate: 537777, quality: 1000, duration: 60, timeLapse true
    04-08 00:31:38.320: I/MediaProfiles(16224500): createCamcorderProfile: camera: 0, width: 720, height: 720, bitrate: 4500000, quality: 1, duration: 60, timeLapse false
    04-08 00:31:38.320: I/MediaProfiles(16224500): createCamcorderProfile: camera: 0, width: 720, height: 720, bitrate: 2250000, quality: 1001, duration: 60, timeLapse true
    so i think the camcorder profiles exists, but why the video resolution is not a low resolution when i select low camcorder option??????

    That's because you don't open bar files. You load them directly onto the device using an app like DDPB. You can get it here: http://ddpb.dauden.vn/
    The process is called "sideloading." You install the bar file on the BB10 or Playbook device and then it will run on the device.
    Here are some steps to do it:
    1. Install DDPB
    2. Put the Z30 in Development Mode
    3. Connect to PC and open DDPB.
    4. Enter your password when prompted and enter it in the password field in DDPB.
    5. Scan for IP addresses and select 169.254.0.1
    6. Click Connect.
    7. At the top right click "Add file" and select the bar file you wish to load. It will add it to the list.
    8. Check the box for the bar file you wish to load and click "Install" at the bottom.
    That's it. When you're done take the device out of Development Mode.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Recording video  - BufferingInputStream

    Hello,
    I recorded a video using InputStream to get the
    video bytes, and FileOutputStream to save it in a file. Using a buffer array size of 8 bytes in the read(byte[] b) method of InputStream the recorded video appears perfect. The problem is that using just 8 bytes of buffer length the cpu has to work more than if used a large buffer size (The cpu processing time got up to 100% while recording!). The more the buffer size is increased , the less cpu processing is needed and the video quality gets significantly worse.
    Later, I used a BufferedInputStream with the InputStream and a
    BufferedOutputStream with the FileOutputStream. I can use a buffer of 16bytes and get a good video quality, but the cpu
    processing is still to high. I tried increasing the buffer size but the video quality gets awfully bad.
    It seems that in this case using BufferedInputStream
    didn't really help. Is there something else I could do ?
    Thanks in advance,
    WIlson

    Why is the video quality getting worse as the buffer size increases?
    My guess: There is too much time taken filling (and emptying?) the buffer; this means the video viewer is being only sporadically updated.
    Really wild guess: Try organizing the reading of data and the use of data into two threads. Use a pipe to connect them.
    Caution: java pipes are notoriously slow. If you really want to try this, update the post and I'll put up some alternative pipes.

  • Record video online

    hi,
    i want to run this code for that install Wireless Toolkit 2.5 but it doesn't work .i want to record video online on my websit can any body give me code for that.i really want it.
    import java.io.IOException;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.*;
    import javax.microedition.media.control.*;
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.media.control.VideoControl;
    public class VideoMIDlet extends MIDlet implements CommandListener {
    private Display display;
    private Form form;
    private Command exit,back,capture,camera;
    private Player player;
    private VideoControl videoControl;
    private Video video;
    public VideoMIDlet() {
    exit = new Command("Exit", Command.EXIT, 0);
    camera = new Command("Camera", Command.SCREEN, 0);
    back = new Command("Back", Command.BACK, 0);
    capture = new Command("Capture", Command.SCREEN, 0);
    form = new Form("Capture Video");
    form.addCommand(camera);
    form.setCommandListener(this);
    public void startApp() {
    display = Display.getDisplay(this);
    display.setCurrent(form);
    public void pauseApp() {}
    public void destroyApp(boolean unconditional) {}
    public void commandAction(Command c, Displayable s) {
    if (c == exit) {
    destroyApp(true);
    notifyDestroyed();
    } else if (c == camera) {
    showCamera();
    } else if (c == back)
    display.setCurrent(form);
    else if (c == capture) {
    video = new Video(this);
    video.start();
    public void showCamera() {
    try {
    player = Manager.createPlayer("capture://video");
    player.realize();
    videoControl = (VideoControl)player.getControl("VideoControl");
    Canvas canvas = new VideoCanvas(this, videoControl);
    canvas.addCommand(back);
    canvas.addCommand(capture);
    canvas.setCommandListener(this);
    display.setCurrent(canvas);
    player.start();
    } catch (IOException ioe) {} catch (MediaException me) {}
    class Video extends Thread {
    videoMIDlet midlet;
    public Video(VideoMIDlet midlet) {
    this.midlet = midlet;
    public void run() {
    captureVideo();
    public void captureVideo() {
    try {
    byte[] raw = videoControl.getSnapshot(null);
    Image image = Image.createImage(raw, 0, raw.length);
    form.append(image);
    display.setCurrent(form);
    player.close();
    player = null;
    videoControl = null;
    } catch (MediaException me) { }
    import javax.microedition.lcdui.*;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.control.VideoControl;
    public class VideoCanvas extends Canvas {
    private VideoMIDlet midlet;
    public VideoCanvas(VideoMIDlet midlet, VideoControl videoControl) {
    int width = getWidth();
    int height = getHeight();
    this.midlet = midlet;
    videoControl.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, this);
    try {
    videoControl.setDisplayLocation(2, 2);
    videoControl.setDisplaySize(width - 4, height - 4);
    } catch (MediaException me) {}
    videoControl.setVisible(true);
    public void paint(Graphics g) {
    int width = getWidth();
    int height = getHeight();
    g.setColor(0x00ff00);
    g.drawRect(0, 0, width - 1, height - 1);
    g.drawRect(1, 1, width - 3, height - 3);
    }

    Hello Dan:
    I thought of trying that after I posted the message. Your
    suggestion confirms I wasn't crazy so I'm going to give it a try. I
    work for a government agency and we need to record online video of
    scam artists trying to rip off people so this is pretty important.
    Without the audio, we can't go to court and prove our case.
    Thanks,
    Robert

  • Recorded Videos after Sync: The requested URL was not found on this server.

    A few days ago, i recorded a couple of videos. They were saved properly and i could watch them after it in the Camera Roll of my iPhone. Because my memory was almost full, i connected my iPhone to my MacBook and synchronized about 900 old pictures with iPhoto and selected to delete the pictures after the sync. I did not select the recently recorded videos.
    After the sync, i opened the Camera Roll on my iPhone and tried to watch the videos again. But now, they all have a grey icon and it says the duration is 0:00 minutes. When i click on a video, it shows me the following error message:
    The requested URL was not found on this server.
    When i connect my iPhone to iTunes, it says that there is about 350 MB of "Documents and Data" on my phone that I have no idea where it is coming from. Do you think it is possible that the videos are still saved on my phone but my phone doesn't recognize it as videos and can't assign it to the icons in the Camera Roll? Do you have any tips how I can access the videos in case they are still saved somewhere on my iPhone?
    Thank you very much in advance for your help and tips!

    I have the same problem too!! I was deleting some photos and videos in my phone when the next picture I swiped to was a blank picture with JPG in the middle~ after I closed camera roll and reopened it my photos and videos after that picture are all gone~ and I'm left with 3 videos I took about 30 mins before with 0:00 and when I tried to play them the message popped up saying "requested URL cannot be found on this server" T^T does anyone have a solution to this problem?

  • Recording Videos

    I am having trouble recording video from really anything (tv, dvd player, vcr, etc). I have a friend who is using a MAC and a box called a Miglia Director's cut (http://www.miglia.com/products/video/director2/)
    all he does is hook up the director's cut to the tv w/regular composite cables and it hooks to the MAC with a firewire. So then to record something off the tv all he does is open quicktime player, go to file and click record movie. Now i have tried to do the same exact thing, only im using windows and the option is not available to select "new movie recording" only "new audio"? i have found this little bit on the Support section of apple.com (http://helpqt.apple.com/qthelpwr3/english/QuickTimeHelp/pgs2/qtFmSet3.htm)
    and it does say a MAC can record video but doesnt say anything about a windows machine. is there something im doing wrong or can you not use quicktime 7 pro to record movies on a windows machine??? Please help

    From
    http://www.apple.com/quicktime/pro/faq.html
    QuickTime 7 Pro for Windows currently supports audio capture only.
    iFelix

  • Recording Video to SD - 4GB Limit?

    I've encountered a bug with the video camera on the Z10.  I'm using what I assume is the latest version of the software that was pushed out recently (10.2.1.2102).
    I was recording video and after half an hour or so I received an error message stating there was an error saving the video.  When I checked on the SD card I can see the file with the correct date/time and file extension however the file doesn't open.  I notice the file is 4GB which is the file size limit on FAT32, so it appears that the camera doesn't automatically stop recroding and write the mp4 info, or start a new file, when it nears this limit on SD cards.
    1 - can this be fixed?
    2- is there any way of recovering the video?  The footage I have isn't really replacable.  I've tried VLC and mp4box with no luck.  
    Thanks!

    Welcome to the forums.
    VLC would have been my first suggestion, there are a number of other MP4 web sites and apps out there I suggest you keep trying.
    http://mp4repair.org/
    If you've been helped click on , if you've been saved buy the app.
    Developer of stokLocker, Sympatico and Super Sentences.

  • I'm using ezcap.tv 116 ezgamer capture card to record my PS3, this is on a windows laptop, Im then moving the recorded videos in mpg format over to my MacBook Pro to use IMovie to edit them to upload to youtube but it won't let me import them.

    I'm using ezcap.tv 116 ezgamer capture card to record my PS3, this is on a windows laptop, Im then moving the recorded videos in mpg format over to my MacBook Pro to use IMovie to edit them so i can upload them to youtube but it won't let me import them, even after changeing them to MP4 format, it just comes up with the message: "No Importable Files None of the selected files or folders can be imported. Change the selection and try again."
    Ive even tried opening in itunes and copying from thier but they wont open in Itunes, no message or anything they simple just dont open. its strange because it does open in quicktime player.
    please if anyone has any ideas that can help me please let me know XD thanks.

    First problem: You're fine. The hotter it gets, the more the fans spin up. The computer is designed so that at max load, at max fan speed, it won't overheat (unless it's obstructed by something, e.g. sitting on your bed swallowed by a comforter). It's not the best thing to keep it that toasty for days at a time, but a couple hours at a time shouldn't be a problem.
    Second problem: If something in the trash won't delete, just use Secure Empty Trash and it should be fine. Since .torrent files are quite small, it should only take a couple seconds.

  • I am after using my ipad for 2-3 hours to record video, it will be while traveling so I could do with being able to set it up so it just records while I drive. Is this possible?

    Hello as stated I wondered if there is an app that I could use to record a journey that I will make, it will take aprox 3 hours I can charge my ipad up as I go so battery life is not a problem and I have quite a bit of room on my I pad. Is it possible?

    Sure why not. The camera app will record videos and there are car chargers for the iPad that you can purchase. You will need some sort of stand to place the iPad into, but those are available as well. You might need to adapt the out of the box car stands to face in the direction that you want, but there are lots of them out there.
    You should set the iPad to not go to sleep in Settings>General>Auto Lock>Never until you are done recording.
    Car chargers
    https://www.google.com/search?q=car%20charger%20for%20iPad%202
    Car Stands
    https://www.google.com/search?q=iPad%20car%20stands%20
    Sorry, I just realized that you have a charger.
    Message was edited by: Demo

  • I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    A third-party app probably cannot obtain a stream from another app. To the best of my knowledge, such a capability is not provided in the software development kit, apps being "sandboxed" from each other and so allowed to communicate only in very specific and limited ways.
    I'm not completely sure what you mean by "limitations on video capture". An iPhone, to the best of my knowledge, can natively record video only through it's built-in camera, and audio while doing video recording only through the built-in microphone or mic/headphone jack. There might be a video recording app that would allow audio input from an external device connected to the dock connector, but I'm not sure.
    Regards.

  • Start recording video at a set time of day and off at a set time of day, and or can start rec video when motion detected, till no motion detected for a set period

    is there an app for iphone which can be set to start recording video at a set time of day and off at a set time of day, and or can start rec video when motion detected, till no motion detected for a set period. basically someone is vandalising my vehicle and i really really want to catch the mongrel
    thanks for any suggestions

    Nope.

  • Iphone 3gs will no longer play my recorded video's

    i downloaded just dance autodance app onto my iphone and everything was fine and normal now all of a sudden my recorded video's no longer play but still play the sound to it the just dance app works fine on my boyfriends iphone, i have tried removing it and re-installing it but its still the same, can anyone help please x

    These are the symptoms of a loose or detached Flex Cable # 6 at the top of the Logic Board.

  • Error message when trying to record video?

    PowerMacG5
    OS 10.5.6
    QT 7.5.5
    iSight camera
    When I try to record a video using QT Pro I get the following error message:
    Operation Could not be completed due to an unknown error.
    (error Domain= NSOSStatusError Domain code= 1852797029
    If I try to use iChat, iSight is working fine. After getting the error message in QTPro then iSight does not work anymore even in iChat....
    I have to unplug iSight then plug it back in to get iChat video working again.
    I deleted QT pref, no luck.
    Any suggestions?
    Thanks
    Fred

    after several hours of searching for and testing of lots of different video capture applications, i have finally found one. There were several that worked. But the one that was the best of the ones i tested was *EvoCam (http://www.evological.com/evocam.html)* I haven't used it for long but from what i have seen so far it works sweet. The one main thing i wanted it to do was create video recordings. that it does. it also has several cool options and effects you can apply to the video.
    hope this helps.
    i still have not been able to get QT to record video with the iSight, or find any explanation from anywhere or anyone as to why. here is a list of a few of the other software apps i tried:
    camtwist - (Really cool effects that you can apply to your cam for chats ect.)
    BTVPro
    capture magic
    dreamn capture
    gawker
    ishowU hd
    periscope
    UseeMe
    webcam tweaker
    Rons video grabber

Maybe you are looking for

  • MIghty Mouse Scroll Ball

    Not really a MacBook Pro question, but it's the laptop I have so I wasn't sure where else to put it. The scroll ball on my mighty mouse has been acting up lately. Yesterday it wouldn't scroll down, but it would go up. I noticed when I pressed down re

  • Apple TV streaming problem.

    Whenever I rent an HD movie on my Apple TV and start watching it half way through the movie it freezes on a particular scene and I can't finish the movie. _The strange thing is that the movie timer keeps going as if the movie is playing but the scree

  • Hello all. Having a problem with presenter 10.

    I recorded a presentation and saved it to my computer. Shouldn't I be able to preview the the presentation by going to the power point and selecting preview?

  • Issue while installing fresh Windows XP on Tecra 9000

    I have a Tecra 9000 running Linux. I would like to Install windows XP but the Installation CD I have loads drives and then locks up at windows is loading screen. I don't have any recovery or driver disks for this computer as I bought it used. and I d

  • WHERE IS THE SHUTDOWN OPTION IN LION ? I ONLY HAVE ,SLEEP,LOGOUT

    ALL I have under the Apple Logo is sleep,logout & force-quit,i dont have ,Restart or Shutdown ,So I do not know how to shutdown my MBPro since i upgraded to Lion? I have tried to suss what the problem is but the only way I can safely shutdown is to p