View Full Version : Which video format does android support?
junglemike
21st May 2011, 19:38
Hi @all.
I am trying to find out which video formats Android (2.1 if it matters) operating system supports NATIVELY (not soft-mode).
in the wiki it says:
Android supports the following audio/video/still media formats: WebM, H.263, H.264 (in 3GP or MP4 container), MPEG-4 SP, AMR, AMR-WB (in 3GP container), AAC, HE-AAC (in MP4 or 3GP container), MP3, MIDI, Ogg Vorbis, FLAC, WAV, JPEG, PNG, GIF, BMP.[60]
I have encoded x264 video (high profile) + aac audio and put it in .mp4 container (with Yamb) - and it won't play it
H264 includes x.264, or did I miss something?
Maybe I need to choose some specific profile?
The Scientist
21st May 2011, 21:46
What makes you think it supports "High Profile"?
junglemike
21st May 2011, 22:29
Yes, it doesn't. I already figured it out the hard way. I tried high and main profiles - no go.
But it perfectly supports baseline profile :)
So i'll stick to that.
The Scientist
21st May 2011, 23:09
Cool, glad you sorted it out.
Lyle_JP
22nd May 2011, 05:01
It depends on the device. Some android devices can playback high profile 720x1280 HD, like the Samsung Galaxy phones.
smok3
22nd May 2011, 11:08
It depends on the device. Some android devices can playback high profile 720x1280 HD, like the Samsung Galaxy phones.
any clues about htc wildfire s?
Vurbal
22nd May 2011, 13:45
any clues about htc wildfire s?
I can't say for sure, but I haven't heard of any HTC Android phone that supported anything above Baseline. Last time I looked was before the Wildfire S came out, so it might have changed. I'd bet against it though.
quyenhong
24th May 2011, 07:45
I think the 3GP format is the format that many devices can read the most, and it takes so little memory most
kurkosdr
25th May 2011, 08:52
I think the 3GP format is the format that many devices can read the most, and it takes so little memory most
Yeah, but the 3GP format mandates the use of Mpeg 4 avc baseline profile, I think, along with H.263. So, you can achieve the same result by making an mp4 file and set x264 to "baseline" profile. Hence, no need to use 3GP, which also mandates the use of a crappy audio format known as AMR.
Also, I think you are really looking for incompatibilities if you make a 3GP file with resolution greater than 640x480. I don't know about android, but most cellphones don't expect 3GP files to have video streams that exceed this resolution.
Does anyone know what profiles and resolutions the LG Optimus 2x (aka T Mobile G2x) supports? LG claims it supports 1920x1080, but no mention on the profile. Also, does anyone know anything about Samsung Nexus S? The Nexus One?
smok3
25th May 2011, 21:38
I can't say for sure, but I haven't heard of any HTC Android phone that supported anything above Baseline. Last time I looked was before the Wildfire S came out, so it might have changed. I'd bet against it though.
seems to be true, i used x264 with baseline profile, two pass encoding at 400 kbps, audio set to quality 0.1 with neroaac and it plays (cant say if its fine or not, due to being generally annoyed by missing frames, which are most likely due to slow monitor response...).
p.s. i didn't go over 480x320 at 25fps.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.