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
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?
View 3 Replies
View Related
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
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
Aug 25, 2009
I want to stream a media file on web, and android developer website has said that MediaPlayer.setDataSource() can set the data source (file-path or http/rtsp URL) to use. But I got an error in both G1 device and emulator when streaming a rtsp url file: Command PLAYER_PREPARE completed with an error or info PVMFailure error(1, -1). Does anyone know what is this error, or anyone knows where can I get the error description (1, -1) means? the code can work successfully when playing a audio/video file or streaming a http protocal sudio/video file, but can't stream rtsp protocal file. Is android not supported rtsp streaming?
View 4 Replies
View Related
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
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
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
Nov 6, 2009
Or does it merely provide more options for graphics?
View 2 Replies
View Related
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
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
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
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
Jun 18, 2010
Is there an app that captures what goes on my screen?
View 3 Replies
View Related
Aug 20, 2009
Can anyone share or point me to working example of "video capture" with preview?
View 2 Replies
View Related
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
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
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
Oct 12, 2010
There is an online stream that is 512Kb MPEG4 and total size of 312mb online and if I'm correct after looking over docs in order to play the movie I just simply put:
CODE:..................
It is triggered to play after a button press which after a few seconds after pressing the button it plays the audio BUT doesn't show the video, why not? Do I have to use a surface view or something for visual playback of the stream.
View 2 Replies
View Related
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
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
Oct 12, 2009
How can I determine if the phone my app is running on, supports video capture?
View 2 Replies
View Related
Oct 2, 2010
I want to play video file that exists in one of my servers. I am using MediaPlay and VideoView classes and it works fine but the problem is that the video start to play only when it finished downloading the whole file. How can i stream it, meaning play the video while it continues to download?
View 4 Replies
View Related
Aug 31, 2009
I want to stream a video to Android, preferably over RTP. Session setup would be done with SIP. Any ideas where to start? I looked at sipdroid, but there is only audio.
View 2 Replies
View Related
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
Jul 10, 2009
I want to get the stream and send it to server directly by using MediaRecorder.
Actually, I am able to record the video,and able to store it into sdcard. Now I want to it to stream (live stream) to server rather than storing it.
View 5 Replies
View Related
Oct 4, 2010
I am trying to play the streaming video using the API demo application. I set the path to mp4 link from the web.
when i run it with Nexsus 1 (SDK 2.2.1) it is working as expected but on HTC Dream (SDK 1.5) it throws the following exception:
CODE:.......................
View 4 Replies
View Related
May 24, 2010
Currently I am developing an application that will stream video using RTP and SIP. I have this mostly working with audio working fine both ways using Java (and native) codecs. I can stream out video also from the camera to a windows client.
The problem comes from when I want to receive and decode the video on the android platform. I understand at this stage that Mediaplayer only supports RTSP streams. Ironically it does what I need (by getting the SDP information from using RTSP SETUP call and using that RTP/UDP information to receive the stream). But I can't seem to access this functionality, all it takes as input is a RTSP url. If you are unfamiliar the difference between RTSP using RTP and SIP using RTP. You can read about the differences here<http://www.cs.columbia.edu/~hgs/rtsp/faq.html#rtsp_sip> .
What I need to do is take an RTP stream encoded with h.263-1998 and somehow pass it to the mediaplayer (or even a lower level api if somebody can provide an example).
The only way I can think around this is to write another service to receive the RTP stream and provide an RTSP interface... but this is a really ugly solution.
View 10 Replies
View Related
Apr 30, 2010
I bought a cable, manufactured by HTC, which is supposed to give you the ability to stream video out via the device's usb connector. It has a usb connector on one end and splits out to three rca plugs on the other (the usual red, white, and yellow for audio and video). HTC claims that the cable is compatible with my phone (the HTC Eris). When I connected the cable and it didn't work, I wrote to HTC support, which replied that I need software to enable the phone to do this. I searched the anroid market and the web and could not find any such software. I wrote back to HTC asking for them to suggest software to me and they never responded. Does anyone know of such software? Would HTC manufacture a cable in anticipation of somebody developing the proper software?
View 4 Replies
View Related
Nov 28, 2010
Has anyone gotten vuze to stream video to their phone? If so what on the phone needs to be done, some app or setting? PS3 works great, although that I can actually see the vuze device fine. In vuze it see's my phone in the devices but I'm not sure what to do other than copy over the movie to the phone in vuze. Plus it looks like the phone is grayed out in vuze.
View 2 Replies
View Related