by GJ51 » Wed Jan 05, 2011 5:21 am
You should definitely be able to get better results. The problem is finding out where the bottleneck is. I'm able to watch ripped standard DVD quality video over 3G to my EVO when I get a good signal. So let's look at the chain to see if we can find a weak link. The server is where it all starts. Does your server transcode on the fly fast enough to feed the data stream? How did you test it to see if that's an issue? Next, what's the speed of the pipe? Are you on gigabit lan, wireless N, have you tested throughputbetween devices? The phone, usually the weak link, have you run a speedtest to see what kind of data transfer you're getting.
I've got a quad core Xeon 3.0 Ghz CPU with 8GB of ram in my server, but in testing I found that ffmpeg only uses one core per video stream for transcoding. It seems to be enough most of the time, but squeezing a HD Bliue Ray quality mp4 down to a 200kbps video for the Android player maxes out the core the transcoding is being done on. That said you should still be able to find a good combination that works well on your phone, especially if your connecting over wireless N.
The default seup allows you to select the transcoding bitrate from the player creen in the Android app.
ffmpeg -ss %o -i %s -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -
These are the setting I'm currently using. The default 500 Kbps works fine over Wifi with anything but Blue ray quality video. At highest qualtiy HD the player will start buffering after a bit and becomes annoying. Anything else plays start to finish, no problems. Again, this is on an EVO 4G phone which has a pretty good CPU and graphics capability for a cell phone. A different phone may have trouble handling the same data stream. I'm also not sure if empty space on the SD card is a factor or not, but if were having problems, that's one thing I would look at.
You can test your phone on my public server at maplegrove.subsonic.org using guest for username and password if you like. There are some videos in the video folder. The Dvorak Concert is a recording of my son's Orchestra when they played in Prague at Dvorak Hall last summer. Boring unless you're into classical music, but a good test to see if your phone can play it over Wifi. It's 734kbps. It should play well at 500 set on the player but need to be turned down to 200 or 300 kbps to play without pauses over a good 3g signal.
Gary J
http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/