• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Android » Android forum » Video resolution on Android 2.3.4 Browser - BeagleBoard-xM
Share
Android
  • Forum
Options
  • Subscribe via RSS

Video resolution on Android 2.3.4 Browser - BeagleBoard-xM

Video resolution on Android 2.3.4 Browser - BeagleBoard-xM

This question is not answered
Mahaboob Aslam
Posted by Mahaboob Aslam
on Mar 30 2012 07:11 AM
Intellectual330 points

Dear All,

This is what  i have done.

I am customizing Android 2.3.4 ,where i have change the resolution of display to 1280x720.

Problem I am facing is:

When I open a Browser with url: www.youtube.com, i can see all the  available  video pictures list.

And when I select one of the picture video from the list, browser starts playing video with the resolution 480x640 of Mobile screen size, which i am not interested in.

I want the browser start playing the video with the resolution 1280x720.

I am facing this problem with not only with playing video in "Browser" but also in "Media Player".

Could any one help me, by sharing there experiences and provide me a solution to play the video on Browser and Media Player with 1280x720 resolution.

Regards

Aslam

android BeagleBoard-xM Android rowboat-dsp GingerBread_2_3_4_DevKit_2_1
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Satish Patel
    Posted by Satish Patel
    on Apr 02 2012 04:14 AM
    Expert4350 points

    Hi Aslam,

    Android s/w codec does not support 720p reslutions for media files by default. Kindly check the same in framework/media/stagefright code.

    If you are using h/w codec then it should work.

    Note: TI android devkit does not gets released with h/w codec for all plaforms. We have one release for DM3730 with h/w codec

     

    BR,

    satish

    Kindly click the verify answer button on this post if it answer your question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mahaboob Aslam
    Posted by Mahaboob Aslam
    on Apr 03 2012 01:30 AM
    Intellectual330 points

    Dear Satish

    GoodMorning!

    I saw the reply of my question. I was the discussing the same here, there was communication error in my question from my side,  i am sorry for that.

    The actual problem what i am facing is this.

    When i play a video file on the target (i.e., BeagleBoard-xm) i see the Image is beening displayed in the "Portrait form" .

    I am looking for the Image to be displayed in the "Landscape format".

    Please help me out in this.

    Regards
    Aslam

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Satish Patel
    Posted by Satish Patel
    on Apr 03 2012 03:20 AM
    Expert4350 points

    Hi,

    Could you send that youtube or video link ? I will try it out here...

     

    BR,

    satish

    Kindly click the verify answer button on this post if it answer your question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mahaboob Aslam
    Posted by Mahaboob Aslam
    on Apr 03 2012 04:30 AM
    Intellectual330 points

    Dear Satish

    Any video you play from "www.youtube.com" has the same problem on the browser.

    with  this  reply, i am sending two image files which show how the video image display is happening.

    if you look at these below images  you see the video image is in  "Portrait " format, which it is on left side of the screen.

    what i am looking for is displaying the image in the "Landscape " format, which should be on the center of the screen.

    Please help me out regarding this issue

    Regards

    Aslam

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vladimir Lebedev
    Posted by Vladimir Lebedev
    on May 01 2012 17:43 PM
    Prodigy10 points

    Aslam,

    I am having exactly the same problem. By default the screen is set to 720x524 and the Android shows full screen without any problem. It also shows correctly images to this resolution, but as soon as i play a movie (3gp) through MediaPlayer, it makes it in vertically compacted. It seems to be running at 480x574 resolution. Here is an example:

    I am playing a 3gp movie which has resolution 176x144, but it seems to convert it into 480x524 resolution. I see it occupying vertically full screen, but horizontally only two thirds, which makes the movie stretched vertically.

    Here is some related logging:

    V/VideoActivity( 6950): startVideoPlayback: movie metrics: w=176, h=144
    V/VideoActivity( 6950): startVideoPlayback: screen metrics: 0 0 720 524
    W/AudioPolicyManagerALSA(  994): AudioPolicyManagerALSA::getStrategyForStream() Stub Called...
    W/AudioPolicyManagerALSA(  994):  redirecting AudioPolicyManagerALSA::getStrategy()
    D/TIOverlay( 1069): overlay_createOverlay:IN w=176 h=144 format=0x16
    I/Overlay ( 1069): v4l2_overlay_init:: w=160 h=120
    I/Overlay ( 1069): v4l2_overlay_init:: w=176 h=144
    I/Overlay ( 1069): v4l2_overlay_init:: w=176 h=144
    I/Overlay ( 1069): 3 buffers allocated 3 requested
    I/Overlay ( 1069): buffer cookie is 2
    I/TIOverlay( 1069): Opened video1/fd=173/obj=0034d5b8/shm=169/size=4096
    D/TIOverlay( 1069): overlay_createOverlay: OUT
    I/TIOverlay( 1069): Position/X0/Y0/W0/H0
    I/TIOverlay( 1069): Adjusted Position/X0/Y50/W480/H524
    I/TIOverlay( 1069): Rotation/0
    I/Overlay ( 1069): v4l2_overlay_set_position:: original w=176 h=144
    I/Overlay ( 1069): v4l2_overlay_set_position:: new w=480 h=524
    I/Overlay ( 1069): dumping driver state:
    I/Overlay ( 1069): output pixfmt: w 176, h 144, colorsapce 7, pixfmt UYVY
    I/Overlay ( 1069): v4l2_overlay window: l 0, t 50, w 480, h 524
    I/Overlay ( 1069): output crop: l 0, t 0, w 176, h 144

    As you can see for some reason, the movie is converted into 480x524 (see highlighted lines)

    I have played with some settings for screen resolution during boot, but no luck.

    Vladimir

    beagle xm video resolution
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Manuel Contreras
    Posted by Manuel Contreras
    on May 02 2012 12:36 PM
    Expert8545 points

    Vladimir;

    For this last post are you using custom .apk or a browser?

    if it is custom .apk there are some properties in views/surface to scale and other properties to "wrap content" or "fill parent", some of this values could be changing the final resolution.

    is this happening for all videos or only one? and is it H264? this format has a crop property that not all player's properties window shows, normally it shows cropped resolutions not original resolution.

    Manuel

    Please click the Verify Answer button on this post if it answers your question
    _______________________________________________________
    Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use