Android :: Video Record - Upload - Transcode - Download - Play
Aug 31, 2010
I'm researching the development of an Android (2.2) app/service that will enable users to record short (I do emphasize short, < 30seconds) video on their phones and then upload that video (HTTP) to a server that will then transcode the video to other formats. That same user can download videos from other Android users and play them.
Now, I get a bit lost with everyones recommended approaches to all the issues in doing something like this because I haven't seen any ask this in a cohesive context. Ideally I would like a non commercial solution to this (as in no vendor/service being needed for the the video hosting/transcoding), but, feel free to include those as a recommendation (I've marked this as a wiki) as I know many like to use youtube and vimeo for the middle layer in all this.
The questions are
What server technologies do yo recommend for hosting and transcoding? What technology do you recommend for streaming the video (it would be nice to offer a high and low quality encoding depending on the users network connection) What video format and software do you recommend for converting the uploaded video on the server to be viewable later by other Android owners. Im assuming it's bad to do any transcoding on the phone prior to upload (battery/proc issues), but, if I'm wrong with that assumption what do you recommend?
The video will only need to render on an Android device, and in the future in a webkit html5 browser.
Bandwidth isnt cheap (even with numerous 30 second videos), so a good mix of video quality and video file size is important (streaming if needed to ensure quality vs. download). This is for android 2.2 devices with a video camera of course and medium to high density screen of 800x400 min. Open source solutions (server to receive the uploads, code to do the transcoding, server to do the streaming) are preferred, but not required. CDN's are an option, but I don't think that really figures in to the picture right now.
View 1 Replies
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
Jan 13, 2010
I'm trying to play videos from a site, its a MP4 and when I click on it loads but then I get an a message of "Cannot play video, Sorry, this video cannot be played." The video also gives me the option to play it as a WMV, when I download the WMV version it wont play. All it does is play the audio, the actual video won't play. Am I doing something wrong or do I need to download an app, if so what app?
View 1 Replies
View Related
Aug 7, 2011
Im using Eclipse created new android project.First thing i added to the menifest xml file two lines:
Code:
uses-permissionandroid:name="android.permission.INTERNET"></uses-permission>
<uses-permissionandroid:name="android.permission.STORAGE"></uses-permission>
And this is the complete menifest file code:
Code:
xmlversion="1.0"encoding="utf-8"?>
manifestxmlns:android="http://schemas.android.com/apk/res/android"
package="com.AllFormatsVideoPlay"
android:versionCode="1"
android:versionName="1.0">
[code]....
Now i tried to play a video file .3gp from the internet youtube link via my android device ! not emulator. And it worked! But when i tried to play a video file .3gp or .mp4( i converted the mp4 from 3gp ) its not working. Im getting error "Cannot play video Sorry, this video cannot be played"
Tried to play with the link to my device wich is: I:DCIM100MEDIAVIDEO0030.3gp or .mp4 or tried this: I:/DCIM/100MEDIA/VIDEO0030.3gp with "" like: "I:/DCIM/100MEDIA/VIDEO0030.3gp ";
I tried to remove the I: but it didn't change anything.This is the main code im using to play the video files on my device. And there some lines i marked with // wich i used to play from the internet and im not using now.
Code:
com.AllFormatsVideoPlay;
import
android.app.Activity;
import
android.graphics.PixelFormat;
import
[code]....
View 7 Replies
View Related
May 18, 2009
I know you can use the ddms view in eclipse to take a snapshot of the screen, but can you somehow make a video like that?
View 4 Replies
View Related
Sep 28, 2010
I just wanted a small piece of information. I am trying to record a video in background as a service. But, I am unable to record it. Can you tell me first of all that is it possible or not.
View 2 Replies
View Related
Oct 19, 2010
Is it possible to record video in a service, that is without setting the setPreviewDisplay? I tried it on a HTC Desire, however it is throwing this info in the log.
MediaRecorder Prepare Failed: -1
CameraInput No surface is available for display
Is there some additional properties to be set?
View 1 Replies
View Related
Jun 23, 2010
I am trying to record a video into sdCard. But everytime I click on the Button to record, it shows "stopped unexpectedly" error.
View 1 Replies
View Related
Feb 25, 2010
What's the best way to record a video showing things running on the Android Emulator? I want to record little demo videos of stuff running so I can put it on YouTube. I'm running the emulator on either Windows or a Mac.
View 6 Replies
View Related
Apr 14, 2014
any easy way to record the activities and views on my Android app to a video without root access. To be a bit more specific, I am looking for a screen-recording solution so that I can get a video of the user's interaction with the app interface. Connecting the phone to any device such as a computer to do the recording is not an option.
Here is a sample gif that I created using a Mac screen recorder to record the iOS simulator interface. It gives a rough idea of what I would like to achieve on Android, except for the fact that I would like the same to be from the actual phone (not the emulator) and without having to connect the phone to a computer or any other device.
View 2 Replies
View Related
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
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
Aug 7, 2010
we got a requirement to record video from front and rear cameras simultaniously.. In the Android 2.1 SDK we only have the MediaRecorder.VideoSource.CAMERA and DEFAULT, but not FRONT_CAMERA and REAR_CAMERA. So, is there any other way to record from Front camera.. like any third party API's.
View 1 Replies
View Related
Jun 24, 2010
I know the droid x does, but how about the droid 2?
View 25 Replies
View Related
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
Jul 19, 2010
I need to record audio and video files in 3gp/mp4 format at the same file and same time.
When i run my application file is created with videofile.3gp but video does not record in sd card on the emulator.please let me clear one thing does video records on the emulator? if i run this code on android supported device do these error clear.
Please help me. I am new to this topic.please find the code and errors below.
package com.video;
* @copy Rights
* audio.java
* sample code for Eminosoft Developerworks Article
* Android development Team
* www.eminosoft.cm
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import android.provider.Settings;
import android.util.Log;
import android.view.View;
import android.widget.Button;
public class video extends Activity {
public MediaRecorder mrec = null;
private Button startRecording = null;
private Button stopRecording = null;
private static final String TAG = "SoundRecordingDemo";
File audiofile;
File video;
private MediaPlayer mMediaPlayer;}
View 2 Replies
View Related
Jun 5, 2010
To do this, simply download "LED Desire Light" in the market, then enable the light after install. Now press the home button and bring up the camera. Set to video and voila! You've got a nice video flashlight for night capturing. Just be sure to go back to the LED Desire Light prog to disable it after use.
View 3 Replies
View Related
Oct 31, 2008
Any way to record video on the G1?
View 5 Replies
View Related
Aug 8, 2010
so the evo has HD video capabilities but how do you record such videos? In other words do you just go to camcorder and record and you record in HD or do you need some kind of program or need to do something to get actual hd quality.
View 16 Replies
View Related
Mar 19, 2012
Is there any app to record video cm9 dont like the cm9 one
View 1 Replies
View Related
Oct 3, 2012
How to record the received rtsp video streaming on android client.
I need record the received video by a android smartphone via rtsp streaming (DSS 6) in mp4 or yuv file format.
I can do this using a pc/linux client but i do know how to do this on android.
Also, can an i access a android device using ssh and execute vlc, mobo or mplayer on it? How?
View 1 Replies
View Related
Aug 15, 2010
I've had my Incredible for a few weeks now, love it, been stalking these forums reading whatever I can when I can, last night I went and took a video(s) of a fire I had in my yard(fire pit, not an Oh shit, Fire!) to send my girlfriend to rub in the fact that she was working,First video was 15 seconds, second 5, neither would send. They said the file size was too large, are there settings I have to change to be able to send videos?.My buddy has a Moto Droid, its got a MMS setting, I can't seem to find that on the Incredible.
View 3 Replies
View Related
Jun 15, 2010
In the camcorder application, I have chosen to record the video's in MP4. However, when you then side load them to the PC or what-not they appear as 3GPP or something. Is 3GPP a version of MP4 or is the camcorder telling fibs? If it's not, how do I record in plain old MP4?
View 4 Replies
View Related
Jun 24, 2010
does anyone know the length u can record a video for messaging? im trying to read fox in socks on cam.
View 1 Replies
View Related
Aug 27, 2010
I'm tired of this random .3gp crap.. is there anyways I can record in avi or wmv? I hate having to convert my videos to avi when I connect my phone to my computer. I have an incredible.
View 2 Replies
View Related
Jul 4, 2010
I have a Rooted Nexus One with Cyanogenmod..
Currently I am running CM 5.0.6-N1 as when I updated to CM 5.0.8-N1 the stable version, I was seeing the phone reset each time I tried to record a video.
Has anyone else seen this issue? Is there a fix? Do I need to do a wipe to get this to work?
View 1 Replies
View Related
Sep 3, 2010
I have a rooted Google Nexus one that is running the stock 2.2. I have been going crazy trying to figure out why I dont have sound when playing back video I record ? The microphone works fine since I can use it to google search and so forth, it just wont record sound in video ? Anybody have any suggestions on how to fix this ?
View 1 Replies
View Related
May 30, 2012
I just got my new galaxy note (i717) on friday (immediately flashing it with OnlyOne beta 2 (ics)) and I would like to use it for a bit of podcasting using the front camera to record myself while I read text from some teleprompter software.
I can record video from the front camera just fine, and it actually comes out a bit higher quality than I expected even, but for the life of me, when i hit the record button and then switch away from the camera app to the prompter app, it gives me an audio notification that the camera has stopped recording.
is there prompter software that has an integrated video recorder? (that'd be pretty sweet imho) or better, some way to record video while another app (that's not particularly resource intensive) is in use? - I don't mind trimming and cutting the video together (there are actually some pretty decent editing tools for android i've found) but I can't figure out a way to record and prompt at the same time...
View 5 Replies
View Related
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
Feb 26, 2010
I'm writing an Android app where users can upload video to Youtube. I'd like the Youtube tag field to be pre-filled with a tag that I set. I'd also like the UI to work like this: user clicks on an Upload button, user goes straight to Youtube upload intent (rather than picking from a Chooser), tag field is pre-filled for them.
Is this possible using ACTION_SENDTO?
Currently I have this code, which just launches a Chooser, which really isn't what I want:
btnUpload.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
//uploadToYouTube();
//videoUpload();
Intent intent = new Intent();
intent.setAction(Intent.ACTION_SEND);
intent.setType("video/3gpp");
intent.putExtra(Intent.EXTRA_STREAM, videoURI);
try {
startActivity(Intent.createChooser(intent,
"Upload video via:"));
} catch (android.content.ActivityNotFoundException ex) {
Toast.makeText(Recorder.this, "No way to share!",
Toast.LENGTH_SHORT).show();
}
}
});
View 4 Replies
View Related