×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    8

    Recording video with 6600?

    Is recording of video possible in 6600? Capturing/recording of audio works fine, but I can't get the recording of video working.

    This will capture audio well:
    --
    player = Manager.createPlayer("capture://audio?encoding=gsm");
    output = new ByteArrayOutputStream();
    player.realize();
    recordControl = (RecordControl)player.getControl("RecordControl");
    recordControl.setRecordStream(output);
    recordControl.startRecord();
    player.start();
    ...
    recordControl.commit();
    player.close();
    byte [] audio = output.toByteArray();
    --

    Showing the live video on display works. But when trying to record video, the RecordControl.setRecordStream() method will throw a NullPointerException.
    --
    player = Manager.createPlayer("capture://video");
    output = new ByteArrayOutputStream();
    player.realize();
    videoControl = (VideoControl)(player.getControl("VideoControl"));
    recordControl = (RecordControl)(player.getControl("RecordControl"));
    recordControl.setRecordStream(output);//this line will throw an Exception. Worked with audio capture, but not in here.
    ...
    recordControl.startRecord();
    player.start();
    --

    Also System.getProperty("video.encodings") doesn't return anything.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    15
    Yes, seems that 6600 does not support video recording. I suppose the Player returns null when you try to obtain the RecordControl. Try grabbing all the controls with getControls() & show them in canvas or something to find out what controls you have when capturing video.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    8
    Jep, when capturing video, getControls() returns only VideoContol. So that's it.

  4. #4
    Registered User
    Join Date
    Nov 2003
    Location
    Bhutan
    Posts
    8
    This question is especially for the NOKIA Experts out There, and original poster!
    Does this mean that it is impossible to write a seperate video recording application for the 6600?
    I am most interested in learning if you can extend the recording time / size limit. Is this Possible?
    Thank you very much
    Last edited by ugenldorji; 2003-11-30 at 06:19.

  5. #5
    Registered User
    Join Date
    Mar 2004
    Posts
    1

    Re: Recording video with 6600?

    What's phone can video recording?? Can you tell me? Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×