Uploading video from phone - android

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

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

Stream video file and camera from Android and display it in wpf app

I want to stream video file (any supported format) from Android phone device and display it directly in another desktop app built using WPF.
I want also to make the same thing but video comes from Camera live.
For the camera, I found some solutions. one of them is this library https://github.com/Teaonly/android-eye but I have a problem with it because there is no direct url to stream. it has ip like this http://192.168.238.102:8080/ and it opens web page with settings and buttons and the video display url is http://192.168.238.102:8080/stream/live.jpg?id=58 which mean I should read images one by one. I don't know if this is a good streaming mechanism.
Also I found this article : http://www.androidhive.info/2014/06/android-streaming-live-camera-video-to-web-page/ but it requires server implementation on the .NET side and we need to buy a license.
I still did not find something for the video playing. And also I'm looking for a simpler way for the job.

How to play MJPEG(live stream) video in Media Player

I am working on an application in which I have to play video stream inside my app using Media
Player in android. Its a live streaming video from CCTV, so I don't even know whether we can give Media Player a link to play video or not. Currently I am using a WebView to open the url from my app only but there is one more hurdle that this Video is only accessible from Mozilla FireFox, not from the other browser, so if the user dont have that browser it his/her device then it will not work. Thats why I am opening selection of browsers using the following code :-
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
But it will take the user to the selected browser outside the app,so I just want to know how can I resolve this to make it working.
No matter whether it can be done using Media Player or a webview but I want it within my app only, not outside my app.
Any help would be appreciable.
Thanks

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.

Android: Recorded Video is not saved in Gallery

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.

Categories

Resources