[removing -developers from cross-post] On Jun 4, 2009, at 11:26 AM, Harishkumar V wrote:
> Hi, > > i have android running on beagle board. > From android browser, if i go to m.youtube.com and play a video, it > some time plays and some time does not. > > when it does not play, i got following error messages, > This is all found in the code, you can just look there. > mediaplayer: msg received = 100, ext1=-1, ext2=0 yes, that is a media_error of unknown type. indicative of an unhandled error case in the opencore mediaplayer. There's generally a lot more messages than that in logcat when this happens, so you'll need that info to isolate the problem. > > when it plays,i got the following messages, > > mediaplayer: msg received = 5, ext1=176, ext2=144 > that's a normal set video size message > Also, how to enable scaling and smoothing, i have a display of > 640x480, when the actual video enlarges, the video quality is poor. Well, you say it enlarges, so it's scaling. It's scaling 176x144 to 640x480 so it will generally look poor especially with the typical bitrate on these 3gp streams. If you patch in gstreamer support you'll have the option to apply a number of filters to enhance the output. > > is android supports playing flv files. I assume you are using the stock AOSP code since you are on Beagleboard. If so, no it does not play flv. However, I hope you know that m.youtube.com is rtsp streaming 3gp. AOSP's opencore player handles 3gp which is why you see playback. -Matt --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---