Android :: How To Get The Video Stream From MediaRecorder

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.

Android :: How to get the video stream from MediaRecorder


Android :: MediaRecorder Does'n Work With Incoming Calls Stream

Sep 6, 2009

Why android doesn't permit to record audio from speakers, for example in incoming calls ?

I've searched in the web and there is no way to record incoming stream audio...the only why is the follow :

Java: MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC);

that records from microphone. Why this terrible bug?

I have founded some app that records incoming calls,

View 5 Replies View Related

Android :: Video With MediaRecorder

May 6, 2009

Does anyone know how to use the MediaRecorder to API to capture video?

I am writing an application where I want to be able to capture video. I am trying to use the MediaRecorder API in 1.5, which is supposed to support video capture. However, there are no examples in the documentation on how to use this API for video (only for audio, and that works perfect). Basically what I do is the following:

CODE:...............

This gives me the following error: E/CameraInput( 37): No surface is available for display E/MediaRecorder( 7609): prepare failed: -2147483648

OK, so I have to have a surface to preview the video? Could be useful I guess, but not something I really need.

Could I use the VideoView widget for this, or is that only for playback?

Or am I supposed to use a SurfaceView to preview the video? I saw someone use that to capture images, but they used android.hardware.Camera to open the camera and capture a frame, and did not use MediaRecorder.

HOw to capture video, or even better have some example code?

View 1 Replies View Related

Android :: MediaRecorder Buffers 1 Second Of Video

Aug 30, 2010

I'm using MediaRecorder.setOutputFile(FileDescriptor fd) over a UNIX socket, so that local code on the device can see the encoded stream in real time (for video streaming out).

What I observed is that the encoder doesn't write encoded frames continuously, when they are produced, but by "bursts", exactly one second apart. I tried both containers (THREE_GPP and MPEG_4) and all three available codecs (MPEG_4_SP, H263, H264), the behavior is always the same. This one-second period is notably unrelated to framerate or bitrate, so it is not flushing by size; rather, it seems to be flushing by time (possibly to mask SD card write overheads ? Bummer, I 'm not using the SD here !). Is it a known limitation ? Is there a known workaround ?

View 2 Replies View Related

Android :: PV MediaRecorder Native Video Recording Error

Aug 7, 2010

Dear PV engineer: I have try several days for this. We want to add video conference function in PV opencore, so we need to create video capture node in native mode, I try the following code to capture video, My code is like this:

CODE:......................

View 2 Replies View Related

Android :: How To Use MediaRecorder To Record Highest Quality Video

Jan 28, 2010

Is there a way to get the best quality of video recording possible using MediaRecorder? the camcorder app does a lot better in terms of quality.

View 5 Replies View Related

Android :: How To Change Video Orientation In MediaRecorder To Portrait

Oct 10, 2010

When I record video by MediaRecorder, it always records in landscape mode, regardless of real device orientation. How to force MediaRecorder/Camera use real orientation ?

View 1 Replies View Related

Android :: MediaRecorder Class To Record A Video - Exception

Jun 17, 2010

I try to use the MediaRecorder class to record a video but I get an exception : failed to get Camera parameters. Prepare failed.

Here's my code :

CODE:.....................

View 1 Replies View Related

Android :: How To Use MediaRecorder To Record Video Without Causing A Segmentation Fault

Nov 30, 2009

I'm trying to use android.media.MediaRecorder to record video, and no matter what I do the android runtime segmentation faults when I call prepare().

Here's an example:

CODE:....................

View 2 Replies View Related

General :: Record Video Via MediaRecorder?

Apr 12, 2012

I have a question regarding the Android MediaRecorder -

My test device
HTC Desire HD
Firmware 2.3.5

I want to write an app, which records a video. This should be implementet via the MediaRecorder (not via Intents). On the Google-Developers site I found a "tutorial" [URL]

My problem:

I followed the whole tutorial. When I'm starting my application on my test device it throws an exception ("start failed") at recorder.start() if I set the quality to high (CamcorderProfile.QUALITY_HIGH). If I change the setting to QUALITY_LOW the app starts recording for 1-2 seconds. After that the screen freezes and my LogCat tracks the following errors:

media server died!
camera server died
ICamera died

I also get ERROR 100

View 2 Replies View Related

Android :: Android: How To Initialize MediaRecorder Without A Valid Surface For Video Preview

Aug 9, 2009

I am building a camera app, where videos are continuously being captured and saved to the SD card. The videos are short (few minutes), and their length are preset with setMaxDuration().

The whole process works fine, while the main activity is in the foreground. But, when I go to another activity (e.g. settings), the video recording works in the background only until max duration is reached. The file is saved, but a new sequence can not be started
because prepare() fails, apparently because setPreviewDisplay() doesn't like not having a proper surface to attach to.

I tried to use a dummy Surface, a dummy SurfaceHolder, lockCanvas(), and various other tricks, but nothing works. Is there a way to initialize MediaRecorder without a valid surface?

View 3 Replies View Related

Android :: Video Stream - MPEG4 Video - Not Showing On Android Using MediaPlayer

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

Android :: How To Stream Video

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

Android :: Stream Video Over RTP

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

Android :: Problem To Run Video Stream In 1.5

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

Android :: RTP Stream Video Decoding

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

Android :: Stream Video Out Via The Usb Connector

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

Android :: Stream Video Via Vuze

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

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 :: App To Stream Music / Video From PC To Phone?

Mar 9, 2010

I've searched several forums but it's been hard to find a clear-cut answer for the app I'm looking for. There is an app for iphone called "here file file" that from what I understand allows a user to access and play pretty much any file such as audio and video on their iphone that is on their Mac. You don't have to be at home using your own wifi connection or any wifi connection for that matter. So basically you can access your Mac files from anywhere and play them on your iphone. I've seen remote desktop apps but I'm not sure they do the same thing and I've seen mention of things like orb and vlc but does anyone know if they do what I'm looking for? I have a new Samsung Moment and would love to be able to do this.

View 16 Replies View Related

Android :: Phone Won't Stream Audio Or Video

Jul 18, 2010

I have a Samsung Moment with Android 2.1 on it and lately I cannot stream music or video in any app that I try. The YouTube app says "Sorry, this video cannot be played." for every single video, and if I try to use something like DroidLive (for shoutcast and such) it has a connection error every time. Grooveshark has an "Unknown MediaPlayer error." I tried a few other random apps off of the market to try to rule things out and none of them would play. Music that is stored on my SD card plays just fine.

It doesn't only not work sometimes, it doesn't work 100% of the time now. Happens when I have 3G and even if I'm connected to Wifi. I did a factory reset last night thinking that maybe an app had messed with a setting somewhere and it still doesn't work. I have no clue what else I could possibly try.

EDIT: As requested by the stickied thread:
1.) Model Number - SPH-M900
2.) Firmware Version - 2.1-update1
3.) Baseband Version - S:M900.8.0S.DD03
4.) Kernel Version - 2.6.29
5.) Build Number - ECLAIRDD03

And the hardware version is M900.8.0

View 2 Replies View Related

Android :: Youtube Fails To Stream Video

Jun 29, 2010

playing youtube videos in android. I have tried the RTSP but it fails to stream the video.

View 2 Replies View Related

Android :: Rtsp Client For Stream Video?

Jun 28, 2010

say if android supports an RTSP stack? We've an RTSP server that we'd like to stream video to an android rtsp client if thats possible

View 8 Replies View Related

Video Stream For Media Player Android

Jun 23, 2012

I'm developing an application that makes video stream to an internal network, so I need to broadcast to listeners devices (connected to this network), found an application called VPLAYER receiving video stream, but it performs HTTP, which makes the broadcast. So, I wonder if there is any player that receives video stream and run under the UDP or whether it is possible to develop an application that receives the video stream and pass to the player's native android.

View 1 Replies View Related

Android :: Unable To Play MPEG4 Video Stream On SDK 1.6

Jul 16, 2010

I am sending a MPEG4 video stream in RTP format over RTSP to my android emulator using ffmpeg and ffserver. I use the Android VideoView to play the RTSP stream. I do not see the video. The error in LogCat is pasted below. Is there some specific that I need to do? If I use the Android 2.2 to run the same code, the video plays fine.

I also tried coding video using H263, but that stream does not play in 1.6/2.2 emulator ===========================================================================­======== 07-16 15:50:46.073: DEBUG/PlayerDriver(554): buffering (6) 07-16 15:50:46.273: DEBUG/PlayerDriver(554): buffering (6) 07-16 15:50:46.474: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:46.683: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:46.884: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.092: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.293: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.492: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.703: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.902: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:48.113: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:48.123: DEBUG/PlayerDriver(554): buffering (100) 07-16 15:50:48.162: ERROR/SW_DEC(554): PV SW DECODER is used for MPEG4 07-16 15:50:48.223: INFO/MP(807): onPrepared called 07-16 15:50:48.223: INFO/MP(807): vv start 07-16 15:50:48.252: INFO/mediaDuration3(807): -1 07-16 15:50:48.384: ERROR/PlayerDriver(554): HandleErrorEvent: PVMFErrCorrupt 07-16 15:50:48.652: WARN/PlayerDriver(554): PVMFInfoErrorHandlingComplete 07-16 15:50:48.652: ERROR/MediaPlayer(807): error (1, -10) 07-16 15:50:48.652: ERROR/MediaPlayer(807): Attempt to call getDuration without a valid mediaplayer 07-16 15:50:48.652: ERROR/MediaPlayer(807): error (-38, 0) 07-16 15:50:48.794: ERROR/MediaPlayer(807): Error (1,-10) 07-16 15:50:48.794: DEBUG/VideoView(807): Error: 1,-10 07-16 15:50:48.794: INFO/MP(807): onError called 07-16 15:50:49.063: ERROR/MediaPlayer(807): Error (-38,0) 07-16 15:50:49.072: DEBUG/VideoView(807): Error: -38,0 07-16 15:50:49.072: INFO/MP(807): onError called ===========================================================================­========

View 10 Replies View Related

Android :: Stream Video From IPhone - Droid To RTMP?

Jul 31, 2010

Is there any way to Stream video From iPhone Or Android to RTMP Server using Red5??
i searched over internet and there is only 2 application that mange to do this successfully
(UStream , Qik)
the problem they closed source So if anyone could help me find some code snippets that make this possible ??

View 1 Replies View Related

General :: Air Video Transcode / Stream Alternative For Android?

Aug 3, 2010

I used to have the iphone 3gs, but now i have a Samsung Galaxy with Android 2.1.

I had a great program called Air Video, it was so great, i almost chose not to upgrade to android cause it wasnt on the Andriod platform.

You installed a client on the phone, and a transcode server software on your pc, and then the magic began, you could stream any kind of video format straight from your PC to your phone in realtime. It supported mkv, divx and a whole lot of other formats. I could even stream video from my satelite tuner straight to my phone with this software. It was totaly mindblowing, and it worked both on 3g and over wifi, you just adjusted the quality of the stream in the client program on the phone. I could lay in bed, and watch my whole video archive straight from my pc on my phone, i could watch it from work and anywhere with 3g coverage.

The great thing about this program, was that everything was on the fly, and went automaticly, you didnt have to convert EVERY video file to mp4 (or simular) before you started streaming.

View 9 Replies View Related

General :: Stream Video Between Android Devices (wirelessly)?

Jul 22, 2013

What's the best way to stream video between Android devices? (wirelessly)

A bonus would be if I could choose where the video decoding happened (on the source or destination)...

View 2 Replies View Related

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 :: Possible To Display Video Information From An Rtsp Stream In Droid App UI?

Mar 23, 2010

I have managed to get a working video player that can stream rtsp links, however m not sure how to display the videos current time position in the UI, i have used the getDuration and getCurrentPosition calls, stored this information in a string and tried to display it in the UI but it doesn't seem to work code...

View 6 Replies View Related







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