• 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 » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM814x and AM387x Processors Forum » TI8148EVM Video Capture @480i60
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

TI8148EVM Video Capture @480i60

This question is answered
Andrea Scian
Posted by Andrea Scian
on Mar 23 2012 06:12 AM
Intellectual770 points

Dear All,

I'm working with TI8148EVM (Mistral) and SDK 5.03.01.15

I would like to use OMTB to capture a video input and display it on HDMI output.

IIUC there a script file provided with the SDK (capture_dei_encode.oms) that do so from YCrCb input (with TVP7002)  that requires a 1080i60/1080p30 input (output goes to HDMI 1080p60)

However my video source is 480i60 and, in fact, the above source does not work.

Could someone please help me in how to change the script to support my configuration? (of couse if this is possible)

I can use also a different tool but OMTB, IMHO, seems the best one to do tests like this.

Best Regards and Thanks in Advance,

Andrea

dm8148 OMTB
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • HardikShah
    Posted by HardikShah
    on Mar 25 2012 23:44 PM
    Verified Answer
    Verified by Andrea Scian
    Mastermind20155 points

    Hi,

    480i capture is not supported on TVP7002 driver. As such hardware supports it but software support is not added.

    Regards,

    Hardik shah

    Regards,

    Hardik Shah




    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrea Scian
    Posted by Andrea Scian
    on Mar 26 2012 03:12 AM
    Intellectual770 points

    Thanks Hardik,

    could you please tell me which configurations are supported by the current software?

    are you planning to support more capture configuration with the next releases of the SDK?

    What abount V4L2 capture? Has this software the same limitation?

    Best Regards,

    Andrea

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • HardikShah
    Posted by HardikShah
    on Mar 26 2012 03:19 AM
    Verified Answer
    Verified by Andrea Scian
    Mastermind20155 points

    Hi,

    Currently we support 720P60, 1080I60 and 1080P60 capture. Same is supported by V4L2 capture as well. We dont have plans of adding any new resolution support as of now. But in V4L2 capture, since tvp7002 driver is open and datasheet is also available you can try bringing up 480i60 yourself.

    Regards,

    Hardik Shah

    Regards,

    Hardik Shah




    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrea Scian
    Posted by Andrea Scian
    on Mar 26 2012 03:38 AM
    Intellectual770 points

    Thanks for you quick answer Hardik

    I'll give V4L2 a try


    Best Regards,

    Andrea

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrea Scian
    Posted by Andrea Scian
    on Mar 26 2012 09:11 AM
    Intellectual770 points

    Again regarding OMTB,

    do you have a sample .oms script to capture/encode/display a 720p60 source? (which should be supported)

    the output should be 1080p60 or 720p60 on HDMI and the encoded h264 file should be saved much like the capture_dei_encode.oms does.

    I'm trying to do so but I still have some trouble..

    Best Regards,

    Andrea

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • HardikShah
    Posted by HardikShah
    on Mar 26 2012 23:04 PM
    Mastermind20155 points

    Hi,

    I am not the correct person for OMTB. Let me forward this query to concerned team here and they will reply.

    Regards,

    Hardik Shah

    Regards,

    Hardik Shah




    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sachin Thathgur
    Posted by Sachin Thathgur
    on Mar 27 2012 05:09 AM
    Prodigy495 points

    Hi Andrea,

    I have some scripts verified on DM816x for 720P60 capture and display. Please find the scripts with attachment for your reference.

    1) VFCC(720p60)->DEI->VFDC(720p60) ->Encode->dump

    2)VFCC(720p60)->SC->VFDC(720p60)

    3)VFCC(720p60)->VFDC(720p60)

    Thanks and regards Sachin kumar

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sachin Thathgur
    Posted by Sachin Thathgur
    on Mar 27 2012 05:14 AM
    Prodigy495 points

    1452.720p60-vfcc_dei_vfdchdmi_encode.oms.txt

    1) VFCC(720p60)->DEI->VFDC(720p60)

                       ->Encode->dump

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sachin Thathgur
    Posted by Sachin Thathgur
    on Mar 27 2012 05:16 AM
    Prodigy495 points

    7823.720p60-vfcc_sc_vfdc_HDMI.oms.txt

    1680.720p60-vfcc_vfdc_HDMI.oms.txt

    2)VFCC(720p60)->SC->VFDC(720p60)

    3)VFCC(720p60)->VFDC(720p60)

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrea Scian
    Posted by Andrea Scian
    on Mar 28 2012 02:30 AM
    Intellectual770 points

    Dear Sachin,

    thanks for the scripts.

    However I'm having some trouble with them. On out TI8148EVM I get the following output:

    root@dm814x-evm:~# /usr/share/ti/ti-omtb/omtb_dm81xxbm_a8host.xv5T 720p60-vfcc_vfdc_HDMI.oms

    OMTB> #omx omtb_dbg_lvl 0x00

    OMTB> #omx omtb_dbg_lvl 0x04

    OMTB> #omx omtb_dbg_lvl 0x08

    OMTB> #omx omtb_dbg_lvl 0x10

    OMTB> omx omtb_dbg_lvl 0x80
    OK

    OMTB> omx api init
    OMTB-OMX_ErrorNone
    OK

    OMTB> omx setp 0 vfcc compname OMX.TI.VPSSM3.VFCC
    OK

    OMTB> omx setp 0 tvp compname OMX.TI.VPSSM3.CTRL.TVP
    OK

    OMTB> omx setp 0 tvp compname OMX.TI.VPSSM3.CTRL.TVP
    OK

    OMTB> omx setp 0 dei compname OMX.TI.VPSSM3.VFPC.DEIMDUALOUT
    OK
    Leaving <Function:OMTB_CotexA8Task>

    At this point the script hang.

    The source is 720p60 (taken from our custom DM8148 board) and the HDMI on TI8148EVM is already configured as 720p60:

    echo 0 > /sys/devices/platform/vpss/display0/enabled
    echo 720p-60 > /sys/devices/platform/vpss/display0/mode
    echo 1 > /sys/devices/platform/vpss/display0/enabled

    You sayd that those scripts are validated on DM8168 board and maybe this is the problem.

    There's no reference about OMX.TI.VPSSM3.VFPC.DEIMDUALOUT on the other scripts for DM8148 provided with the SDK. Is this the problem?

    Could you help me somehow?

    Best Regards,

    Andrea

    格浴浸湬㩳潴扭祯∽瑨灴⼺戯慥湴歩潳瑦慷敲挮浯琯浯潢≹砠汭獮猺穩㵥栢瑴㩰⼯敢瑡楮獫景睴牡⹥潣⽭潴扭祯猯穩≥砠汭獮氺湩㵫栢瑴㩰⼯敢瑡楮獫景睴牡⹥潣⽭潴扭祯氯湩≫㰾潢祤放档‰朦㭴㰠⁡瑳汹㵥挢汯牯⌺㐳㔶㑁•牨晥∽猯獹搯癥捩獥瀯慬晴牯⽭灶獳搯獩汰祡⼰湥扡敬≤⼾祳⽳敤楶散⽳汰瑡潦浲瘯獰⽳楤灳慬べ支慮汢摥⼼㹡戼㹲捥潨㜠〲⵰〶☠瑧※愼猠祴敬∽潣潬㩲㌣㘴䄵∴栠敲㵦⼢祳⽳敤楶散⽳汰瑡潦浲瘯獰⽳楤灳慬べ洯摯≥⼾祳⽳敤楶散⽳汰瑡潦浲瘯獰⽳楤灳慬べ洯摯㱥愯㰾牢放档‱朦㭴㰠⁡瑳汹㵥挢汯牯⌺㐳㔶㑁•牨晥∽猯獹搯癥捩獥瀯慬晴牯⽭灶獳搯獩汰祡⼰湥扡敬≤⼾祳⽳敤楶散⽳汰瑡潦浲瘯獰⽳楤灳慬べ支慮汢摥⼼㹡⼼潢祤㰾栯浴㹬
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sachin Thathgur
    Posted by Sachin Thathgur
    on Mar 28 2012 03:55 AM
    Prodigy495 points

    4505.720p60_vfcc_vfdc.oms.txt

    Hi Andrea,

    If you open and save the script in word pad it will execute properly. I have removed unnecessary command from the script and enable the logs,

    omx omtb_dbg_lvl 0x00

    omx omtb_dbg_lvl 0x04

    omx omtb_dbg_lvl 0x08

    omx omtb_dbg_lvl 0x10

    omx omtb_dbg_lvl 0x80

     

    Thanks and regards

    Sachin Kumar

    Hi Andrea,

    If you open and save the script in word pad it will execute properly. I have removed unnecessary command from the script and enable the logs,

    omx omtb_dbg_lvl 0x00

    omx omtb_dbg_lvl 0x04

    omx omtb_dbg_lvl 0x08

    omx omtb_dbg_lvl 0x10

    omx omtb_dbg_lvl 0x80

     

    Thanks and regards

    Sachin Kumar

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrea Scian
    Posted by Andrea Scian
    on Mar 28 2012 05:41 AM
    Intellectual770 points

    Tnaks Sachin for the quick response.

    Yes, probably the main problem that I had was the eol encoding.. well now it's fixed!

    Anyway I still have some trouble and no output on HDMI

    Could you please take a look at my log and see if there's any clue in what is wrong in it?

    0640.4505.720p60_vfcc_vfdc.log

    Best Regards,

    Andrea

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sachin Thathgur
    Posted by Sachin Thathgur
    on Mar 28 2012 06:33 AM
    Verified Answer
    Verified by Andrea Scian
    Prodigy495 points

    Hi Andrea,

    OMX_ErrorBadParameter is coming for vfdc exec,

    Default display is LCD need to switch the display to HDMI. Below command can be used to switch from LCD to HDMI.

    cd /usr/share/ti/ti-media-controller-utils

    ./change_display.sh hdmi

    need to reboot your board after executing the above command.

    Thanks and regards

    Sachin Kumar

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrea Scian
    Posted by Andrea Scian
    on Mar 28 2012 07:02 AM
    Intellectual770 points

    Thanks Sachin, now it works perfectly!

    Best Regards,

    Andrea

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrea Scian
    Posted by Andrea Scian
    on Mar 28 2012 07:53 AM
    Intellectual770 points

    One last thing.. this output on HDMI at 1080p60

    could you please show me how to change the output format to 720p60? (in this way I can see the full sized input on my screen)

    I'm trying to do so on my own but I always get a bad parameter error

    I also find a bit strange this:

    omx setp 0 tvp OMX_TI_IndexParamCTRLVidDecInfo videoStandard 1080P60

    tvp7002 should be configured to have a 720p60 and not a 1080p60.. or am I missing something?

    Sorry for bothering you with such a question but I cannot find anything in the docs (I'm looking into OMTB_01_00_01_07_UserGuide.pdf, provided with the standard SDK and  OpenMax_DM814x_UserGuide.pdf, openmax_il_spec_1_1_2.pdf provided with M3 overlay under NDA)

    Best Regards

    Andrea

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
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