Go Back   Android Forums > Android Discussion > Android Media
Android Media For Ringtones, Video, TV, Audio or anything else Multimedia related...

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old November 26th, 2010, 09:51 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2010
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default 3gp and mp4 videos wont play on my samsung galaxy s

Hi
We are developing apps for android. One recent app has links that play videos hosted on amamazon servers. We have fromated for 3gp and or mp4.

When we run app, we get error,

Video file cannot be played

This happens on wifi, 3g, and 4g connections

Samsung epic, (galaxy s)

Do we have to intall some media server on the server perhaps? The iphone version of the app works fine.

kthibeault1965 is offline  
Reply With Quote
sponsored links
Old November 26th, 2010, 10:04 PM   #2 (permalink)
 
Join Date: Apr 2010
Posts: 5,867
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 633 Times in 538 Posts
Default

Download MediaInfo onto your computer. Open some of the video files in there, switch to Tree view, and copy the results here.
sitlet is offline  
Reply With Quote
Old May 3rd, 2011, 03:29 PM   #3 (permalink)
New Member
 
Join Date: May 2011
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm experiencing a similar problem. We've produced an app that plays videos on some Samsung S phones but not others. Any help or direction you might give would be greatly appreciated. Here's the MediaInfo dump:
-----------------------------
General
Complete name basic.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 22.6 MiB
Duration : 2mn 23s
Overall bit rate : 1 318 Kbps
Encoded date : UTC 2010-07-16 16:39:50
Tagged date : UTC 2010-07-16 16:39:53
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2mn 23s
Bit rate mode : Variable
Bit rate : 1 153 Kbps
Width : 960 pixels
Height : 540 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.093
Stream size : 19.8 MiB (87%)
Language : English
Encoded date : UTC 2010-07-16 16:39:50
Tagged date : UTC 2010-07-16 16:39:53
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2mn 23s
Bit rate mode : Constant
Bit rate : 160 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 2.74 MiB (12%)
Language : English
Encoded date : UTC 2010-07-16 16:39:50
Tagged date : UTC 2010-07-16 16:39:53
---------------------------------------------
LogicSolutions is offline  
Reply With Quote
Old May 3rd, 2011, 09:06 PM   #4 (permalink)
 
Join Date: Apr 2010
Posts: 5,867
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 633 Times in 538 Posts
Default

First the profile should be Baseline, not Main@3.1. Also the resolution may be too much for other phones to play, it should be 800x480
sitlet is offline  
Reply With Quote
The Following User Says Thank You to sitlet For This Useful Post:
Brucew0617 (May 12th, 2011)
Old May 4th, 2011, 09:32 AM   #5 (permalink)
New Member
 
Join Date: May 2011
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you. Will try and let you know.
LogicSolutions is offline  
Reply With Quote
Old August 4th, 2011, 03:05 AM   #6 (permalink)
New Member
 
Join Date: Apr 2011
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by kthibeault1965 View Post
Hi
We are developing apps for android. One recent app has links that play videos hosted on amamazon servers. We have fromated for 3gp and or mp4.

When we run app, we get error,

Video file cannot be played

This happens on wifi, 3g, and 4g connections

Samsung epic, (galaxy s)

Do we have to intall some media server on the server perhaps? The iphone version of the app works fine.
maybe it is the problem of codec
starjack is offline  
Reply With Quote
Reply
Tags
3gp, mp4, samsung galaxy s, streaming video, web server


Go Back   Android Forums > Android Discussion > Android Media
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:57 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.