Recording with video camera
Hello
I don't know if maybe the camera Documentation is not aligned with the API documentation. I was wondering if someone could guide me toward the Dev Alpha camera to record. The following code gets the camera started correctly.
// Initialize Video Cam QmlDocument *qml = QmlDocument::create("asset:///videoCam.qml"); mVideoCam = qml->createRootObject(); Camera *camera = mVideoCam->findChild ("myCamera"); camera->open(CameraUnit::Front);
And then I push the camera into the view with:
mNavPane->push(mVideoCam);
The camera is running. What is not clear to me, I get the following error when I "startVideoCapture()":
Dec 16 22:22:17.933 com.example.DiveBook.testDev_le_DiveBook7e1553ee.15999178 default 301 CamControllerInternal::StartVideoRecording Error -> Invalid vf mode. (vf mode:1) Dec 16 22:22:17.933 com.example.DiveBook.testDev_le_DiveBook7e1553ee.15999178 default 301 CamControllerInternal::ExecuteCommand STARTVIDEORECORDING = result (15) Dec 16 22:22:17.933 com.example.DiveBook.testDev_le_DiveBook7e1553ee.15999178 default 300 void bb::cascades::multimedia::CameraPrivate::onRecordingFailed(CamResult) called. Dec 16 22:22:17.933 com.example.DiveBook.testDev_le_DiveBook7e1553ee.15999178 default 9000 OrientationSupportPrivate::setSupportedDisplayOrientation: displayOrientation: All Dec 16 22:22:17.933 com.example.DiveBook.testDev_le_DiveBook7e1553ee.15999178 default 9000 OrientationSupportPrivate::setSupportedDisplayOrientation: successfully changed to All Dec 16 22:22:17.934 com.example.DiveBook.testDev_le_DiveBook7e1553ee.15999178 default 9000 onVideoCaptureFailed signal received with error 3
I guess that means Mode VF 'invalid', I have to set something correctly bound to my viewfinder? Can someone show me and example?
Here is my videoCam.qml for reference:
// Default empty project template import bb.cascades 1.0 import bb.cascades.multimedia 1.0 Page { // This is the camera control that is defined in the cascades multimedia library. Camera { id: camera objectName: "myCamera" onTouch: { if (event.isDown() && !camera.videoCaptureStarted()) { // Take photo startVideoCapture(); } } // When the camera is opened we want to start the viewfinder onCameraOpened: { camera.startViewfinder(); } // There are loads of messages we could listen to here. // onPhotoSaved and onShutterFired are taken care of in the C++ code. onCameraOpenFailed: { console.log("onCameraOpenFailed signal received with error " + error); } onViewfinderStartFailed: { console.log("viewfinderStartFailed signal received with error " + error); } onViewfinderStopFailed: { console.log("viewfinderStopFailed signal received with error " + error); } onVideoCaptureFailed: { console.log("onVideoCaptureFailed signal received with error " + error); } } }
Thank you
Kerdum
I think I solved it. I had to fill an instance of the CameraSettings class, and then apply it to my camera photo using "camera.applySettings ()".
Tags: BlackBerry Developers
Similar Questions
-
Video recorded with digital camera includes the text
All the videos that I download from camera screen "Current Frame", "CPU load", "Output size" and "Size of entry". Help me get rid of it?
After recording a video from my digital camera and then download it, while I watch the video, there are words anywhere in the entire video.
Saying:
The current image: 27 (* just a bunch of numbers, running up to and upwards and upwards)
CPU load: 26% (* any percentage, running up to and upwards and upwards)
Entrance Dimensions: 320 x 240
Format: 320 x 240-What this means and how do I get rid of him? I can't even burn these videos on a DVD without him appearing on the disc.
Is the camera, with that I use to download videos my camera digital; Sony Cyber-Shot. Model DSC-S730
Hello1. have you had this problem since the first time you connect your Sony Cyber-Shot. Model DSC-S730 to Windows 7?2. on what application you are trying to watch the recorded video?Issue seems to be with the camera.Contact Sony because I think they are the best people to offer assistance in this regard.Aziz Nadeem - Microsoft Support[If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]
-
whenever I have to video chat with anyone with front camera on they won't listen to me. Even when I record with fromt camera microphone does not work with the camera back, everything works correctly and even with siri, I can't talk more but when I take a call they can hear perfectly
Get help with microphones on your iPhone, iPad and iPod touch...
-
acquisition and video recording of the camera
Hello world
I developed a VI to acquire and record the video with my camera. For now check in is every time I run the VI but not know that I try to implemant it is able to record video only when I press the button "Save". The first results are good, I can get the video and display it on the screen with or without saving it. I can record the video by pressing the right button while it on the screen. But in the economy, the displayed video is listening (delay, changing color, etc.) and then I opened my .avi file, I had the same problem.
Do you know where it comes from.
Sincerely,.
Julien
Can you post a snippet/VI where you save it and view operation. Long back, I had the same problem with a video capture of web cam but resolved some how.
-
Is webcam in W530 - possible to record a video with her?
I have just boight my first Lenovo - Thinkpad W530 laptop.
The built-in camera works well... but I can ONLY take photo with her.
Is it possible to record videos with the camera? Do I need to install software or a driver?
Thanks in advance,
Carlo
-Win7 64 bit
Fixed!
I can use Windows Live Movie Maker to record video using the built-in webcam. Happy I have succedded - a webcam cannot save videos is pretty useless in my humble OPINION... -
I'm having a difficult time to audio from the videos I recorded from my camera
I have recorded 4 videos using my camera Sony Cybershot DSC - P71 yesterday. I tried EVERYTHING to hear the sound that was recorded with my video. Can you help me with this?
Well, after some research on the camera, I came to realize that it has no audio capabilities! Boo I say! Laughing out loud.
-
I have Windows Vista on my PC at home. I have a 2005-Sony DIgital Handycam video camera recorder. I have video saved my son and I would download on my PC. DVD software is not compatible with Windows Vista. How can I fix? Any helpful ideas?
Hello
see if Sony has a solution to workaround or upgrade to a model compatible vista
-
Problems with importing video camera mini dv JVC
I turn on my camera and put it on the playback mode. I have IE 1394 plug in my port on the camera and the pc. I open windows dev and click Import from digital video camera. A noise of error made. A message appears "import video is already launched and running on this computer. You cannot start another instance of import video until the first instance has stopped. To correct this issure, wait for the video to be import, close import video, wait a second w fe then start import video. »
I'm doing this, but I know that I do not have started to import anything. I can sit there all day and wait and try again and again and the same message appears. I also tried to restart the pc and start the process again. Same thing is happening. I tried on my friends laptop same thing occurs. I recorded it before on a destop with another type of fire wire but my laptop cannot use the 1394 cable.I turn on my camera and put it on the playback mode. I have IE 1394 plug in my port on the camera and the pc. I open windows dev and click Import from digital video camera. A noise of error made. A message appears "import video is already launched and running on this computer. You cannot start another instance of import video until the first instance has stopped. To correct this issure, wait for the video to be import, close import video, wait a second w fe then start import video. »
I'm doing this, but I know that I do not have started to import anything. I can sit there all day and wait and try again and again and the same message appears. I also tried to restart the pc and start the process again. Same thing is happening. I tried on my friends laptop same thing occurs. I recorded it before on a destop with another type of fire wire but my laptop cannot use the 1394 cable.==========================================
Maybe the following will help:Windows Vista-
Import video from a videotape
http://Windows.Microsoft.com/en-us/Windows-Vista/import-video-from-a-videotapeImport video in Windows Vista
http://maximumpcguides.com/Windows-Vista/import-video-in-Windows-Vista/Download video from your camera to your computer
http://www.Microsoft.com/windowsxp/using/MovieMaker/getstarted/DLmovies.mspxWindows Vista-
A problem of import
files in Windows Movie Maker
http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-importing-files-into-Windows-Movie-MakerWindows Vista-
Troubleshoot importing video problems
http://Windows.Microsoft.com/en-us/Windows-Vista/Troubleshoot-importing-video-problemsWindows Vista-
Importing files into Windows Movie
Manufacturer: Frequently asked questionsJohn Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.
-
video recording on the camera application function does not
My app windows photo 8 shows the video recording features, however nothing happens when I try to use it. I had no chance in the troubleshooting update and windows updates to fix this problem. How can I get the video camera recording function to work? Currently when I select the video mode, it absolutely nothing happens.
Hello
Are you able to take pictures using photo app?
It seems that there is something wrong with the camera application.
So, I suggest you follow these methods and check.
Method 1:
Run applications troubleshooting
Download and run the troubleshooter modern UI App.
http://download.Microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab
Method 2:
I suggest you follow the steps in the article. Here is the link for your reference.
What to do if you have problems with a soft
http://Windows.Microsoft.com/en-GB/Windows-8/what-troubleshoot-problems-app
For reference: app photo and webcams: FAQ
http://Windows.Microsoft.com/en-in/Windows-8/camera-app-FAQ
Please report if you are still having the problem. I will be happy to provide you with the additional options that you can use to get the problem resolved.
-
How to record a video created with adobe VOICE (for ipad) in FILM format
I made a video with the VOICE adobe for ipad app. Anyone know if it is possible to record the video in. MOV format. I see it just allows me to upload video and share it via email, FB, Twitter or message.
You can save it to your camera as a movie
-
I have a video with two cameras, in two pieces. Sometimes only one camera is running (because they both turn off to some lengths of clip). I'm cutting them using the multicamera window, but I get no audio track 2. How can I get audio track 2. (My tinkering is to cut the original sound track 2 and move it to channel 1).
«To record the audio from the camera selected for the audio track, select Audio video follows in the multiple camera monitor Panel menu.» Deselect this option to record audio from the audio track selected in the source sequence. »
A quote from the CS5.5 Pr help page "editing multi-camera sequences.
-
How to capture (record) streaming video online with his partner is on El Capitan?
Someone can advise or recommend including many different programs available that I must use to capture (record) streaming video online with it's associated audio on El Capitan? I tried MacX DVD Converter Pro, but believe it or not, it does not record the audio aspect of video stream. They claim there is a work around, but after 3 days of trying various corrections, none seems to work for me.
I tried the Safe Mode Terminal command string: turn off the csrutil. restart, but which did not allow audio capture of MacX DVD Converter Pro driver to install their Audio System driver.
I tried sudo nvram boot-args = "kext-dev = 1 mode" method, but then again, playback of the recorded video was silent, even though I have heard the audio during recording. "
I downloaded SOUNDFLOWER, but again, I have heard audio when the screenshot, but Quicktime playback was silent.
I have hard to believe after that 3 days I am still unable to record what I see and hear at the same time on my screen a video streaming like a Charlie Rose interview with Martin Scorcese discussing Felini. I don't like what it costs; I care only about the easy, professional and perfect results. One of the two reasons why I BOUGHT this iMac 27 "with El Capitan was so I COULD record streaming video with audio if I choose so, and after a month, I still can't do and I ran out of the online help after searching dozens of sites to find answers! So I now turn to the Apple community. Thank you!
Anthony
SnagIt œuvres
-
I have problems with my view i camera on my Mac Book Pro. Suddenly the video camera does not work (no green light on) FT or Photo Booth. The screen is black, if I restart it, it works but after closing the lid it stops and I have to restart the computer. I use V10.11.3. An idea about what is happening
Hello mpm068,
Thank you for using communities of Apple Support.
Since your iSight webcam works up to the time that your Mac goes to sleep, I would like you to start please help desk trying to replicate this problem then to reboot in safe mode:
Choose the Apple menu > shut down.
After your Mac stops, wait 10 seconds, then press the power button.
As soon as you hear the startup tone, hold down the SHIFT key.
You must press the SHIFT key as soon as possible once you hear the startup tone, but not before.
Release the SHIFT key when you see the gray Apple logo and progress indicator.
To exit safe mode, restart your Mac, but no press during the startup.
OS X El Capitan: start in safe mode
Take care.
-
I bought a Sony handy cam, the disc that came with the camera does not work on my computer and I can't even play videos from my camera through my screen. I want to be able to download and edit with music and cut off the stuff, but I can't do anything yet. Help, please
I bought a Sony handy cam, the disc that came with the camera does not work on my computer and I can't even play videos from my camera through my screen. I want to be able to download and edit with music and cut off the stuff, but I can't do anything yet. Help, please
Your question has been marked as answered, only you do not mark it as such.
I feel compelled to ask whether and how you solved your problem?
The marked answer * not * have one you used and for the benefit of those who might ask the same question in the future it is better the original poster mark their own answers, in my opinion.
-
All of my 10-20 second mp4 to wmv (via FormatFactory) videos will be 1000 minutes s growing to record with WMM. Is this a common problem? Help, please!
This will happen if you add a single .wmv file converted to the timeline?
Does make a difference if you are going to... Tools / Options /.
Tab compatibility... and left click Restore all default settings?
Maybe you are looking for
-
If I work online and leave for a few hours and then go back and go open a new tab or even reload an existing tab or go to a new Web site using an already open tab, the only thing I get is the "circle of rotation of the dead." Then I have to exit out
-
I'm looking for apps that I bought years ago
I'm looking for a few applications that I bought years ago and may not be fArrondi in the story bought?
-
HP Pavilion dv7-3190em problems with volume band and "base system device" in Device Manager
Hello I just installed Win 7 (64-bit) and my volume control does not work properly. It does not turn the sound up and down, but the blue band is not displayed on the screen. In addition, I seem to have a device or devices for which there is no driver
-
Could not launch a downloaded program
I downloaded the Rosetta Stone and tried to run, but a box pops up saying that wrapperp Application has stopped working and needs to close. If I couldn't start my program.
-
Wireless - 5510 Photosmart printing
I have set up wireless printing I can print without problem. But after a few days I can not print more. I use HP Print and scan doctor and the printer is detected on the network. But still cannot print. To start printing again I must remove the print