• 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 » DLP & MEMS » New DLP Applications & Technology Forum » How to improve external pattern display on pico projector v2?
Share
DLP & MEMS
  • Forums
Options
  • Subscribe via RSS

How to improve external pattern display on pico projector v2?

How to improve external pattern display on pico projector v2?

This question has suggested answer(s)
Ku
Posted by Ku
on Jan 23 2012 16:58 PM
Prodigy160 points

Hello,

We have encoded 16 stripe patterns into a two-frame 60Hz video so that we can display the patterns at 480Hz using display mode #9. We are using mplayer on the beagleboard to loop (repeat) the 60Hz video.

However, we noticed 3 things


(1) The transition between each frame of the video is not smooth. When we simply play out the video in the normal

mode at 10Hz and 60Hz, we can notice quite often that top half of the pattern has been refreshed while the

bottom half has not, vice versa. I don't know which half of the screen has is refreshed faster.

This results in a visible horizontal line moving down the screen (see attached videos)


(2) When we drive the pico projecter at 480Hz, we can visibly notice that the video slowed

down every few seconds. This cannot be tell so easily in the attached videos) Is this a problem of

using mplayer? if so, is there a suggestion for a different

(better way) of displaying videos?

(3) When the video stopped and remained in a still frame and the pico is still in mode #9, the pico

projector shows 3 or more vertical lines (like jitters) every few seconds. I wasn't able to capture this in

a video because the jitters occur very quickly but it is still visible to the eyes. The position of the vertical

lines appear more or less in the same location and each lines are about 3-5mm wide. Each 3-5mm

wide line is either white or black. Could this be a sign of defective pico projector? 

Any suggestions are greatly appreciated!

Below are the videos and the scripts used to display each video.

Thank you! 

Ku

Video played in normal mode at 10Hz

root@beagleboard:/# ~mplayer -vo fbdev -fps 10 video.avi -loop 1000

Click here to play this video

Video played in normal mode at 60Hz

root@beagleboard:/# ~mplayer -vo fbdev -fps 60 video.avi -loop 1000

Click here to play this video

Video played in external mode #9 at 480Hz

Test Script:

    bus3-i2c 0x1b wb4 0x04 0x00000000
bus3-i2c 0x1b wb4 0x05 0x00000007
bus3-i2c 0x1b wb4 0x06 0x00000002
bus3-i2c 0x1b wb4 0x24 0x00000001
bus3-i2c 0x1b wb4 0x0E 0x00000287
bus3-i2c 0x1b wb4 0x0F 0x00000287
bus3-i2c 0x1b wb4 0x10 0x00000287

bus3-i2c 0x1b wb4 0x82 0x00000006
bus3-i2c 0x1b wb4 0x92 0x00000000
bus3-i2c 0x1b wb4 0x26 0x00000000
bus3-i2c 0x1b wb4 0x62 0x00000000
bus3-i2c 0x1b wb4 0x1F 0x00000009

mplayer -vo fbdev video.avi -loop 1000

Click here to play this video

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Curtis Newton
    Posted by Curtis Newton
    on Jan 24 2012 08:06 AM
    Intellectual320 points

    What you see is called "tearing". It seems this optins could help:

    mplayer -vo xv
    tearing vsync
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pascal DLP
    Posted by Pascal DLP
    on Jan 26 2012 10:37 AM
    Expert7885 points

    Ku,

    Did Curtis's suggestion help?

    As Curtis says, what you are seeing is probably "tearing" caused by refresh synchronization mismatches in the frame buffer of the BeagleBoard - probably not in the Pico Kit v2.

    The Pico Kit MUST always see ONLY 60Hz VGA video, or it won't synchronize at all. However, mplayer can be told to play at any frame rate. Mplayer displays to the selected frame buffer device in the BeagleBoard. This is then read out to the HDMI port at the setup frame rate - which should be 60 Hz. If there are mismatches between the frame buffer update, and the 60Hz video rate, there can be visible tearing.

    Best regards,

    Pascal

    Best regards,

    Pascal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ku
    Posted by Ku
    on Feb 21 2012 09:39 AM
    Prodigy160 points

    Hello Curtis and Pascal,

    Thank you for the comments. 

    However, when I run the command >>mplayer -vo xv -fps 60 video.avi -loop 100, I got the following error messages:

    Playing video.avi.
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    AVI: No audio stream found -> no sound.
    VIDEO: [] 640x480 8bpp 60.000 fps 147456.0 kbps (18000.0 kbyte/s)
    vo: couldn't open the X11 display ()!
    Error opening/initializing the selected video_out (-vo) device.

    I also get the same message when I use the  mplayer -vo x11 option.

    If you have any suggestions, that would be very helpful.

    I have a suspicion that the default mplayer that came with the Angstrom installation might outdated.

    The current version I have is SVN-r30165-4.3.3. 

    I am planning to update to mplayer 0.0+1.0rc3+svnr32735-r29.9 for armv7a. (beagleboard is armv 7l but this is closest I could find)

    However, it has taken forever to download this ipk from http://www.angstrom-distribution.org/  and download process somehow gets interrupted frequently. 

    Is there a better video player for the Beagleboard other then mplayer?

    Thank you,

    Ku


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pascal DLP
    Posted by Pascal DLP
    on Feb 21 2012 14:38 PM
    Expert7885 points

    Ku,

    I believe that I use the mplayer which is part of the Angstrom Linux normal installation. If not, I used the one from the repository.

    I have been using a different framebuffer, though. Instead of xv try using sdl.

    This is what works for me:

    mplayer -volume 40 -fs -vo sdl video.avi

    Best regards,

    Pascal

    Best regards,

    Pascal

    structured light i2c Pico Kit V2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kevin Leonard
    Posted by Kevin Leonard
    on Jan 11 2013 13:58 PM
    Prodigy40 points

    I am also having the tearing problem.  The mplayer command above worked well for me on the test video that Gavin Smith posted awhile back, http://e2e.ti.com/support/dlp__mems_micro-electro-mechanical_systems/f/94/t/125601.aspx

    Given a series of TIFF input images in the correct bit format for the structured light processing mode, I was curious if anyone had a good process for encoding these into the 60 Hz video format required by the pico V2.  Also, I am using a beagleboard-xm running Angstrom distribution and the above mplayer command from Pascal to display the videos.

    Thanks!

    -Kevin

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pascal DLP
    Posted by Pascal DLP
    on Jan 11 2013 14:32 PM
    Suggested Answer
    Expert7885 points

    Kevin,

    In answer to your question about making a movie from TIFF images, see these links:

    http://askubuntu.com/questions/77567/movie-from-tiff-pictures

    http://www.cmiss.org/cmgui/wiki/MakingMoviesWithImageJ/

    Perhaps these will help.

    Best regards,

    Pascal

    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