Iaxia
I hate code!
Profile
Posts: 108
Reg: Feb 04, 2012
Toronto
7,080
11/27/12 04:34 PM (13 years ago)

AT53 plugin, working... kinda

I'm working with the AT53 video player plugin for Android, and I just can't seem to get it work on all Android phones. Here's what I've done. 1) I've created m4v screencasts using QuickTime. 2) These videos were converted to an "Android Universal" format using Aimersoft Video Converter, aka a .mp4 video. 3) For the heck of it, I've also converted the .m4v videos to a .3GP format and used another method of creating a .mp4 file. 4) I've uploaded the videos (.mp4*2, .3GP and .m4v) format to the Public Folder of my dropbox account. 5) All four video types play on my Android Phone (Nexus S) however I get an error message when I try and play the videos on my friend's phone. Any ideas? I can try and get a error log when I get my hands on their phone again tomorrow. I'd really appreciate it if someone else could see if the links work on their Android phone. https://dl.dropbox.com/u/56830064/androiduniversal.mp4 https://dl.dropbox.com/u/56830064/videomp4.mp4 https://dl.dropbox.com/u/56830064/movie3gp.3gp https://dl.dropbox.com/u/56830064/m4vformat.m4v
 
0z2000tv
Aspiring developer
Profile
Posts: 315
Reg: Sep 10, 2011
Nashville
11,950
like
11/27/12 06:12 PM (13 years ago)
I don't have an Android device but if it helps all will play on a Gen 3 iPad. Best user experience #4 / loaded quick best quality #3 loaded fast very poor quality #2 loaded slowly 15 Sec to first frame of video on Broadband connection good quality #1 loaded in 10 sec 3gp quality Mike
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
11/27/12 07:54 PM (13 years ago)
Are you sure the videos are in the correct format? alot of Android devices seem to need a "Baseline" profile. Maybe double check the formats? http://developer.android.com/guide/appendix/media-formats.html
 
Iaxia
I hate code!
Profile
Posts: 108
Reg: Feb 04, 2012
Toronto
7,080
like
11/27/12 10:45 PM (13 years ago)
Thanks for the info. I've converted the videos according the H.264 Normal. I've done a bunch of searching but have not been able to confirm that H.264 codecs exist as Baseline, Main or High -- any suggestions on video converters (Mac preferably) that specify a codec level that exists? I notice that https:// streaming doesn't work on devices running Android 3.0. Perhaps the second test device was running an older version of Android.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
11/28/12 08:27 AM (13 years ago)
The error log would be key. I'd love to know the device and OS too so I can start logging what Android devices the plug-in works with and which ones cause issues. The Nexus 7 seems to be a problem with the plug-in. Also curious why you are using https? What's the need/reason for encryption? The first 3 all played fine on my Android device. It' s a Huawei U8652 running Gingerbread 2.3.5. The 4th video would not play, phone told me format was bunk. Have you looked at using Handbrake? <a href="http://handbrake.fr/" target="_blank" rel="nofollow">http://handbrake.fr/</a>
 
Iaxia
I hate code!
Profile
Posts: 108
Reg: Feb 04, 2012
Toronto
7,080
like
11/29/12 08:48 AM (13 years ago)
Thanks. I'll take a look. No encryption necessary... actually, I didn't realize the standard "Get Public Link" from dropbox gave me https. I'll change the link to http. What's the difference by the way... am I correct in thinking that https:// is a lot slower in streaming? Unfortunately my friend and her phone are gone for the remainder of the week. I'll get the log when she returns.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
11/30/12 08:00 AM (13 years ago)
>>> What's the difference by the way different port - 443 vs 80. generally not a problem, but *could* be if you're behind a tight firewall... >>am I correct in thinking that https:// is a lot slower in streaming? used to be - but hardware is much faster and you generally don't notice it now. besides the log, phone model and OS is what I'm mostly interested in logging here.
 
Iaxia
I hate code!
Profile
Posts: 108
Reg: Feb 04, 2012
Toronto
7,080
like
12/04/12 12:44 PM (13 years ago)
OK. Problem solved. First, use Handbrake for converting video to .mp4 (thanks ATRAIN53). I assumed that using any converter dramatically increases (2-3x) the size of a video regardless of the screen dimensions you convert to. While this is true for Aimersoft Video Converter, it is not the case for Handbrake. I figure Aimersoft Video Converter must be inserting some sort of secret metadata. Secondly, not all .mp4 videos are created equally. Aimersoft Video Converter's .mp4 would not allow streaming on all Android devices, regardless of operating system (tested on Gingerbread and Ice Cream Sandwich) despite the "Universal Android" conversion feature. So far, Handbrake videos are doing just fine on my test devices. Finally... and as a reminder to those reading the post... use http:// for streaming. Streaming https:// will not work on devices running on an OS less than 3.1 Thanks for all the help.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.