Android :: Video And Audio Format Supported By Android
Jan 28, 2009i want to knw what r the Audio and Video format r supported by Android by Default is thier any plug-ins needs to be add in to SDK .
View 3 Repliesi want to knw what r the Audio and Video format r supported by Android by Default is thier any plug-ins needs to be add in to SDK .
View 3 RepliesDoes such a thing exist please folks - want to rip some audio for an mp3 ringtone from a comedy video clip
View 4 Replies View RelatedI have the following native source code that is supposed to display video. It plays 3gp file ok and I can hear the audio, but the video is not shown.
CODE:..............
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;}
The HTC web site claims support for .mp4 and .wmv playback but I have had no luck. I have used various programs from HandBrake to Sony and I can get audio with no video (mp4). I can get audio with still image video (wmv). The DI seems very picky as to which videos it will actually play back. Is there a recommended way to convert my videos / DVS into a format the DI can play?
View 1 Replies View RelatedIs there a way to determine the audio format of an audio file in Android? On normal java I do it like this:
File file= new File(...);
AudioInputStream stream = AudioSystem.getAudioInputStream(file);
AudioFormat format= stream.getFormat();
I am streaming an MP3 audio and instead making this MP3 audio to play, I want it to be converted to PCM format and pass this PCM audio to AudioTrack(as it takes PCM data as input.) instead of passing my MP3 stream to MediaPlayer. Can anyone please help me to convert the MP3 to PCM stream?
View 3 Replies View RelatedI have developed a streaming app for Android. My app is streaming AAC audio.The app works fine on 1.5, 1.6, and 2.1. I tested it on Froyo, the android 2.2 and it does not work there.I have try everthing - Streaming directly from server url - Download incrementaly the content, store in a temp file, start reading. - Download incrementaly the content, store in a ContentProvider and start reading.No luck, I always got errors : 06-23 02:47:02.257: ERROR/MediaPlayer(266): Unable to to create media player 06-23 02:47:02.257: INFO/System.out(266): setDataSourceFD failed.: status=0x80000000 Does Froyo support AAC? Anyone happens to stream AAC?
View 4 Replies View RelatedWhat video formats does the nexus one play?
View 3 Replies View RelatedI am doing recording in following way and storing byte array in a binary file. But the binary file I am getting is not in any format. what can be the problem? code...
View 3 Replies View RelatedI want to record audio in MP3 format in my android application. I know I can read PCM audio using the audioRecord class. Is there a java library compatible with android that will encode PCM to MP3? Is it possible to use the Lame mp3 encoder library?
View 1 Replies View RelatedAccording to the MS website, Windows Media Player queries an MTP device to see what formats it supports. My Razr Maxx HD supports ogg and m4a. When attempting to sync WMP does not sync those files stating they might not be supported on the device. Being that I've had so much trouble in the past even getting any of the Android devices to be properly detected as an MTP device I'm worried this is a driver issue.I should be able to get WMP to at least convert them.
this is the device mis-reporting the formats, Windows not querying them properly, or an actual WMP issue? Would like to be able to get sync working without any conversions. Maybe there is a way to hardcode formats within the mtp inf file?
What are the video resolutions supported by the PV codes in the opencore module? Is there a manual or guide describing this?
View 2 Replies View RelatedNow i want to record audio in WAV format. What should i do now because android only supports *.3gp or *.AMR type?
View 6 Replies View RelatedI have a video that i want to put onto my phone but don't know what format to convert it to so i can watch it on my phone.
View 1 Replies View RelatedMy application cannot handle the JNIE overhead, as I need to make 2 JNIE calls to the native C/C++ code for every 20msec. So I am trying to use the native media libraries and the realted C/C++ files provided by Android in the folder "//external/srec/audio/test" of the donut build. Ex. AudioHardwareRecord, AudioInRecord etc.. I am implementing all the calls in the native layer.
I am using the sampling rate as 8000 and want to read 160 samples (320 bytes) at a time.
I used the following values to create the AudioRecord..
CODE:..........
It says "success" after creating this interface but I am getting the error "Bad Value" if I am doing the InitCheck.
And it is crashing once I start reading the samples or if I try to retrieve the configured sampling rate.
Has anybody tried to access this native code?
Just thought I'd share the video formats supported by EVO for those who may not know. You can play these high-definition MP4 video formats in:
H.263 profile 0 @ 30 fps, WVGA (800x480), max 2 Mbps
MPEG-4 simple profile @ 30 fps, 720p (1280x720), max 6 Mbps
H.264 baseline profile @ 30 fps, 720p (1280x720), max 6 Mbps
I'm just trying to find out what video formats are supported on the Hero? I've tried mkv and avi, but no go on either. This is particularly frustrating since all my movies / video files are in mkv and avi. Also, if these formats can be supported through the use of an application.
View 3 Replies View RelatedSimple Question.
View 1 Replies View RelatedI looked into this forum and in Google but with no success so far. Yesterday I bought HTC Desire and can not understand how to play the supported video formats- mp4, wmv and 3gp on the device. I am not trying to stream these files from Internet- I have them already downloaded on my PC. I want to copy them onto my Desire and somehow play them. I have several questions: 1. Do I need to re size the video files- do they require specific resolution in order to be played? 2. Do I need to copy these videos to a specific folder on the device? Or I can just create new folder through my PC and dump them there. 3. How the hell can I actually play the movies once they get onto the device? I can not see an application which launches movies. There is a music player but not a movie player. Do I need to download a widget or an application which runs movies? If yes- please recommend a good one.
View 11 Replies View RelatedI was looking at the Droid X to be my first Android phone and was curious about the supported video codecs. What files are supported and would the files supported on the Droid X be different from the Incredible or is it the same for all Android phones? Are there apps that offer better support?
View 17 Replies View RelatedHow to record audio into ogg format?
View 1 Replies View RelatedSo I see that the Eris is supposed to support MP4 format. I converted a DVD to MP4 and put it on a friends Motorola Droid and it worked great, put it on my Eris and I could see the icon but it said it could not play the video, like it was an unsupported format? I know the Droid is using Android 2.0 and the Eris is using 1.5, anyone else play MP4 movies on their Eris?
View 11 Replies View RelatedDear Sir, As I know, Android only supports RGB 16-bit color depth format. Could Android play 24-bit color RGB format video and REALLY see 24-bit color now? If it is not, will it be supported by Android Donut in the future?
View 4 Replies View RelatedJust curious it says that the phone supports MKV files but they do not play with the regular player. I do have a program to convert any video format to MP4 and have done that and it plays no problem with the default player. I've seen in another thread with the droid 2 it can play AVI's? What formats does the phone play? What player is the best that supports the most formats? For my computer I use VLC and that is the best damn player there is for my PC.
View 3 Replies View RelatedDoes anyone know what video formats are supported on our phones? I'm downloading AVI's, and wasn't sure if I could play it directly from the phone. Would be good to know before upcoming flights.
View 7 Replies View RelatedI put a video on my SD card (flv) and I cant play it. What video formats are supported for watching videos from the SD card?
View 6 Replies View RelatedThe company I work for produces allot of video and we want to target as many devices as possible, but the question came up of what does the Android do? I personally own an Android based phone running 2.1, but I can't seem to get the HTML 5 tag to work. Even when I can trigger the browser to playback the video it just throws a notification error that it can't.Are there guidelines to producing Android/HTML 5 compatible videos? Is it truly supported?
View 2 Replies View RelatedI would love to see what are peoples top picks?
View 2 Replies View RelatedI 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