Android :: Method To Capture Video From OpenGL App?

Sep 16, 2010

Does anyone knows some convinient method to capture video from OpenGL app on Android device? For example can we capture video from a view, opengl view? I just stopped on: 1) We can get frames using glReadPixels. (No video on this step?) 2) MediaRecorder can encode video, but how can we provide it our raw source, if possible? 3) Any working ports of ffmpeg(for example) or other encoding library? There are some tutorials of portng ffmpeg to use withing NDK. So, having raw frames and working port of ffmeg we can create video? Any issues on this step? Anyone managed to port any encoding library successfully?

Android :: method to capture video from OpenGL app?


Android :: Method To Capture Video To File Or Stream From OpenGL App?

Sep 16, 2010

Does anyone knows some convinient method to capture video to file or stream from OpenGL app on Android device? For example, can we capture video from a view, opengl view?

I just found out the following:
1) We can get frames using glReadPixels. (No video on this step?)
2) MediaRecorder can encode video, but how can we provide it our raw source, if possible?
3) Any working ports of ffmpeg(for example) or other encoding libraries? There are some tutorials of portng ffmpeg to use withing NDK. So, having raw frames and working port of ffmeg we can create video? Any issues on this step? Anyone managed to port any encoding library successfully? What components do I need from ffpmeg?

View 1 Replies View Related

Android :: How To Know An Opengl Method Is Implemented - In Runtime

Sep 13, 2010

I mean in runtime. Sometimes I get "called unimplemented OpenGL ES API" error but it can not be catched. Is there a way to figure out what function is implemented or not, in runtime?

View 2 Replies View Related

Android : Catching Button Behavior - Using OnTouchEvent Method To Capture ACTION_DOWN

Oct 20, 2010

I need to specify the full button images for both the up and down positions. My impression is that the most probable choice is to use an custom button based on the ImageView and specify the image for up and down positions. I am using the OnTouchEvent method to capture the ACTION_DOWN, but I'm not getting the ACTION_UP event.

Is there a better choice for creating a button that controls the full button image, catches the Down/Up and can subdivide the down time into time slices? If not, how do I catch the up event.

My application expects a screen touch on the "button" and not a keyboard action.

View 3 Replies View Related

General :: App To Capture Video When Watching YouTube Or Any Video?

Sep 19, 2012

Is there an app to capture video when watching let's say YouTube or any video? Was looking for something like that so I could capture my baby boys face as he watches videos .

View 2 Replies View Related

Android : Is OpenGL Faster Than Canvas / Drawable Method For Graphics?

Nov 6, 2009

Or does it merely provide more options for graphics?

View 2 Replies View Related

Android :: Method To Draw Bitmaps Faster On Droid Canvas / OpenGL?

Jun 15, 2010

I currently have a game written using the Android canvas. It is completely 2D, and I draw bitmaps as sprites on the canvas, and it technically works, but I have a few features that I need to add that will require drawing many more bitmaps on the screen, and there will be a lot more movement.

The app needs more power.

What is the best way to go from this method of drawing Bitmaps on a canvas to using OpenGL so I can draw them faster?

View 2 Replies View Related

Android :: How To Capture Video?

Jun 23, 2009

I would like to create a video recorder and so far haven't figured out how to set parameters in order to successfully go through MediaRecorder.prepare() method. Executing the following method

public void start() throws IOException{
String state = android.os.Environment.getExternalStorageState();
if(!state.equals(Environment.MEDIA_MOUNTED))
{
throw new IOException("SD card is not mounted. It is " + state + ".");
}
File directory = new File(path).getParentFile();
if(!directory.exists() && !directory.mkdirs())
{
throw new IOException("Path to file could not be created.");
}

recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
recorder.setVideoFrameRate(15);
recorder.setVideoSize(176, 144);
recorder.setOutputFile(path);
recorder.prepare();
recorder.start();
this.state = VideoRecorderState.STATE_RECORDING;
}

it throws an exception on line recorder.prepare(). Does anyone know how to set parameters in order to be able to capture video?

View 7 Replies View Related

Android :: Video Stream Capture For AR

Feb 24, 2010

I would like to be able to capture the video from an android phone camera, and then process this video. Processing involves adding a layer of AR to the live stream. Is this possible on android? Pretty sure it should be. I have looked at the android site [http://developer.android.com/guide/topics/media/index.html] but this seems to be concerned with video capture and storage. I would like to be able to play with the video pre-storage.

View 1 Replies View Related

Android :: Supports Video Capture Or Not?

Oct 13, 2009

Android 1.6 supports video capture, however, not all phones will support video capture. Is there a way I can tell if the phone I am running on supports video capture or not?

View 1 Replies View Related

Android :: Capture Video Of Alternative App

Nov 19, 2010

One of the alternative app stores is asking for unaltered, unedited capture from the app as a video. Plus I'm also interested in cleaner video than I get by focusing a camcorder on an Android on a table. Who knows how to do that? I think I found some posts that indicate Mark Murphy may have solved this with a tool that goes through DDMS. If so, I'll get that tool and donate.

View 10 Replies View Related

Android :: Capture Video From Screen?

Jun 18, 2010

Is there an app that captures what goes on my screen?

View 3 Replies View Related

Android :: Video Capture With Preview Available?

Aug 20, 2009

Can anyone share or point me to working example of "video capture" with preview?

View 2 Replies View Related

Android :: Capture And Loop Video To Screen?

Aug 9, 2010

I was wondering if anyone knows of a tutorial explaining how to capture the video from the camera on an Android device and then display the video in real time on the screen? I have looked up MediaRecorder, MediaPlayer, Videoview but they all seem concerned with recording audio/video to a file or playing audio/video from a file or a URL. I simply want to be able to take the data from what the camera is seeing and display it on the screen.

View 1 Replies View Related

Android :: Capture Frames From Video File?

May 20, 2009

Iīm trying to capture frames from a video file, but I donīt know how to do it. Are there any classes like FrameGrabbingControl (in JMF) for Android? Is it possible with MediaPlayer and MediaRecorder classes?

View 2 Replies View Related

Android :: Video Capture Doesn't Work In 1.5

May 28, 2009

I am trying to capture video since a week but still no luck. can anybody help me to figure out what i am missing in the code below:

final MediaRecorder recorder = new MediaRecorder(); ContentValues values = new ContentValues(3); values.put(MediaStore.MediaColumns.TITLE, "Recorded video"); values.put (MediaStore.MediaColumns.DATE_ADDED, System.currentTimeMillis()); // values.put (MediaStore.MediaColumns.MIME_TYPE, recorder.getMimeContentType());.......

View 5 Replies View Related

Android :: Capture Frame From Video And Save It

Jul 15, 2010

Is it possible to capture a frame from a video in android and save it or use it in any way in the application?

View 1 Replies View Related

Android :: Real Time Video Screen Capture?

Jul 1, 2010

I need to make a video as a DEMO for one application I have developed. I know that there are some experimental applications that use DDMS and achieve a framerate of 5-6 fps. This framerate is completely insufficient for my purposes since the application has smooth animations that i would like to show. Is there anyone that has found a way to do a real time screen capture on android? Should I settle for a capture of the emulator or a real video done with a real camera?

View 2 Replies View Related

Android :: Application That Blanks Screen During Video Capture

Feb 19, 2010

I overheard someone say there was an app that blanked or put a decoy screen on the screen while taking video, does anyone know what this app is called, if it exists?

View 1 Replies View Related

Android :: Phone Application Supports Video Capture?

Oct 12, 2009

How can I determine if the phone my app is running on, supports video capture?

View 2 Replies View Related

HTC Desire :: 720p Video Capture To Unlocked?

Jul 30, 2010

Official: HTC rolling out Android 2.2 and 720p video capture to unlocked European Desires this weekend -- Engadget. so i have jsut had a look on engadget web site and it saying that froyo 2.2 will be released to users whos desire is not carrier locked. my question is how do u tell if your htc desire is carrier locked i got my htc desire for vodafone and it has no sign of it having any vodafone features. dose any 1 no how to tell if myn is locked or open to this update that is ment to be coming this weekend. Could this be the week i finally get froyo to use on my phone..

View 49 Replies View Related

HTC Desire :: Video Capture Not Working After Updating To 2.2 Froyo

Aug 15, 2010

after updating (the official update) my HTC Desire to Froyo 2.2 I cannot capture any Video (any resolution). It happens that I press the trackball and the timer (on the upper-right corner) disappears and nothing works anymore (menu, etc...), only the Home button allow me to go back to the home panel. After doing that, the battery die in a few minutes and the phone is very slow: i.e. some video camera service is still up and running and consuming battery.

View 4 Replies View Related

General :: How To Record Video Using YIFY Method

Jun 25, 2013

I've been looking for some torrent films, and I have seen some users saying "Want YIFY", "when YIFY?". So on google I have searched for the meaning of YIFY and I have figured out that movies longer than 1.5hrs in 1080p had a size of 1gb approximately. But when I record 10 minutes video it takes 1gb.

My questions are, how to record video using the YIFY method? Do I have to go in root files and change the camera profile file?

Is it possible to record out in *.mkv format with low bitrate? Or any alternative to?

In clear, how to record 1080p videos with the smallest size possible?

LG Optimus G E975 on Android 4.1.2 Rooted & Bootloader Unlocked

View 1 Replies View Related

Android :: OpenGL Speed Issue - Code Contribution To Other OpenGL

Feb 25, 2009

Single Threaded OpenGL game ! (check bottom, you can download and use the helper class) Lighting disabled ! Depth Buffer disabled ! Culling enabled ! Textures disabled !

Just 176 integers (x,y values only) making 88 vertexes along with 132 index numbers making "44 triangles only"

Framerates I get is

with GL_BLENDING disabled - 145 fps approx only! enabled - 110 fps approx only!

I have the screenshot of exact code in the draw function here.. just 2 damn lines ! I have hidden only the comments.. click here to see it http://prasna991.googlepages.com/drawframe.png

variable details in the 2 lines of code =========================== ipts = 176 elements (only x and y for each vertex) totallinetriangles * 3 = 176 lineindexes = 132 elements - type "short"

Here is the screenshot of output drawing and how it will look like http://prasna991.googlepages.com/screen.png

OpenGL single threaded Initialization Helper ================================ Here is my OpenGL helper class.. makes the OpenGL initialization for newbies a cakewalk http://prasna991.googlepages.com/OpenGLHelperclass.txt

I tested by rendering on the touch event only.. frame rate drops only when u touch and drag and here I have just tested by tapping and releasing gently on the emulator and on the device

Is this the device limitations ? So graphics is actually a lot lot lot slower than on iPhone ?

View 8 Replies View Related

Android :: NDK OpenGL - Mixing Java And Native - C - Calls To OpenGL API

Jul 24, 2010

I would like to be able to use the OpenGL API from both Java and C (via NDK).

In Java, there is a GL object passed, which has all GL methods on it.

In C, you just talk to the native library.

In a single onDrawFrame callback (for which Java is passed a GL), can I use methods on the GL object, and also call NDK methods which access the openGL library?

In other words, is the GL object just a wrapper for the same instance of the native library?

View 3 Replies View Related

HTC Magic :: Install (PDF Viewer, Word, Excel, Capture Video Or Stills) Apps On Vodafone At Least PDF Viewer?

Apr 25, 2010

The HTC magic has following application:

* PDF Viewer
* Word
* Excel
* Capture video or stills

Is possible to install these application on Vodafone Magic or at least the PDF Viewer?

View 3 Replies View Related

Android :: Method OnBackPressed() Of Type FirstGroup Must Override Superclass Method

Sep 7, 2010

I'm trying to override the onBackPressed() method of the ActivityGroup class:

public class MyClass extends ActivityGroup {

@Override
public void onBackPressed() {
// do something
return;
}

but I'm getting the error The method onBackPressed() of type MyClass must override a superclass method. I'm relatively new to Java, I've seen here that people do it and it works for them Why I'm getting this error? I'm writing an app for android 1.5, could the problem be here?

View 1 Replies View Related

Android :: Show Method Definition - Eclipse Recognizes Warning On Method

Nov 22, 2010

In Eclipse, when I mouse hover over a built-in method, it displays a method definition including stuff like what the method does, input objects, return objects etc. If I have a yellow line (warning) under the method I'm trying to use, I can't get the mouse-over to show the definition. If I try hitting F3, I get a "The Jar of this class file belongs to container "Android 1.6" How do I show the definition of the method I am using when there is a warning?

View 1 Replies View Related

Android :: Method.getAnnotation( ) Or Method.isAnnotationPresent( ) Not Working

May 12, 2010

I am trying to use annotation - method.getAnnotation( ) or method.isAnnotationPresent( ) and it is not working. I am using eclipse emulator for 2.1 OS version with JDK 1.6. Following is information about what I did..................

View 4 Replies View Related

Android :: Created A Method In Another Class But I Can't Use It In OnClick Method From Main Class

Nov 1, 2010

I created a method called insertTable in a class called Table but i can't use it in my onClick method in the main class :

CODE:.......

I want to do a income.insertTable in the onClick method but eclipse say that i need to create a local variable.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved