Camera MediaRecorder / CamcorderProfile

All your problems with Audio, Video and Images.

Camera MediaRecorder / CamcorderProfile

Postby undying1983 » Mon Jan 17, 2011 2:29 pm

Hi all

This is my problem, I'm developing a software that uses the camera and records video, everything is working but I cannot spot how to manage the settings, for example I've got a Samsung galaxy S that can record video at 1280x720, but when I set this resolution with:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. CamcorderProfile profile;
  2.  
  3.                         profile = CamcorderProfile.get(CamcorderProfile.QUALITY_HIGH);
  4.                         profile.videoFrameWidth = 1280;
  5.                         profile.videoFrameHeight = 720;
  6.                         profile.videoFrameRate = 30;
  7.                        
  8.                         recorder.setProfile(profile);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


the logcat shows these messages:

01-17 14:22:28.706: WARN/AuthorDriver(2782): Intended video encoding frame width (1280) is too large and will be set to (128849019680)
01-17 14:22:28.706: WARN/AuthorDriver(2782): Intended video encoding frame height (720) is too large and will be set to (1078895784755680)

and the parameters are automatically scaled to 800x480

If you can help me thank you
undying1983
Freshman
Freshman
 
Posts: 6
Joined: Fri Dec 10, 2010 3:32 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 14 guests