Android: Recorded Video is not saved in Gallery - android

I 'm creating the application to record the video and to display the recorded video. I followed http://android-er.blogspot.in/2011/10/simple-exercise-of-video-capture-using.html.
but video is started to record, and i stopped the recording. but it is not displayed in Gallery. Where it will be...? or anything i missed to save the recorded video?

Follow the Camera example that Android Developers supply on their Dev Guides.

Related

Record Screen video along with the audio

I want to implement screencast feature in my Android app, i.e. Recording the audio and the screen video at the same time and converting it to a .mp4 file.
I got to know that there are some Media Codecs inbuilt in the Android SDK, but the issue with those ones is that I will need to record video and the audio separately and then stitch both of the elements together to create a complete video.
I want to know if a library exists which can directly record both the Audio and Video without the need to stitch them later on.
Thanks in advance!
this project can help you get started here

Export video from android application to SD card

I am using below demo for creating slow and fast motion video in android application.
https://github.com/google/grafika
I am able to play slow and fast motion video in application but now i want to export this video to SD card.
I use TextureView to show video in app.
I use this java file to control speed of video.
https://github.com/google/grafika/blob/master/src/com/android/grafika/SpeedControlCallback.java
How can i do this?
any help will be appreciated.
Hi you have to use a MediaMuxer, call AddTrack for the video track and write the data to this track to the muxer after encoding each frame. You can see some examples in grafika page, one of them could be this: https://github.com/google/grafika/blob/master/src/com/android/grafika/ContinuousCaptureActivity.java (here you canhow to do both displaying on screen and recording on SD)
and another one: https://github.com/google/grafika/blob/master/src/com/android/grafika/CameraCaptureActivity.java
Also you can find more examples here:
http://www.bigflake.com/mediacodec/
Thanks

Uploading video from phone

I have a website where the user of my application can upload a video from the Android Gallery. I want to make it so that when the user opens the file chooser it has an option to record a video and upload it from the Androids stock camera. Is this possible or would I have to create an application that would handle the video recording and post the video to the file chooser? Either way it would be nice if someone could point me in the right direction.
I will suggest you to write your application, it will me be more customize and can be handles completely on your way . This link will help you related media recording Media Recorder and for uploading to server you can look in to this Uploading video

MediaRecorder video storage after confirmation

Capturing a video is part of an application I'm currently working on. Video capturing and storing works fine.
I followed the android tutorial for video capturing and all recorded videos are stored directly after the recording stops.
Is there any way to let the user decide (via dialog) if he/she wants to store the video?
I don't really want to delete the video afterwards.

Video is not displayed in videoview in android?

My application uses a simple VideoView .It uses an 3gp file from assetsbut all i can see is a blank screen and music of that video.
Would someone help me to display the video?
P.S-I am trying it on emulator?
Do not use emulator for testing video playback. Its ability to handle video playback is very limited. You should use actual device to play videos.
Check https://stackoverflow.com/a/3005928/1341006 by Commonsware for more details

Categories

Resources