logo

How to setup TVP5151 Video Decoder

posted in Uncategorized
Thursday, May 12 2011, 01:55 PM
mcaro
mcaro
Offline
0
Wiki page about how setup the TVP5151. [url=http://labs.igep.es/index.php/How_to_setup_tvp5151_video_decoder]http://labs.igep.es/index.php/How_to_se ... eo_decoder[/url]
Responses (12)
  • Accepted Answer

    Friday, May 13 2011, 01:58 PM - #permalink
    0
    Hi, IGEPv2 Expansion Board has TVP5150, why this document says TVP5151? i have followed the steps as in the wiki. i am getting following messages while booting. 2.258087] Linux media interface: v0.10 [ 2.262329] Linux video capture interface: v2.00 [ 2.267272] omap3isp supply VDD_CSIPHY1 not found, using dummy regulator [ 2.274108] omap3isp supply VDD_CSIPHY2 not found, using dummy regulator [ 2.280975] omap3isp omap3isp: Revision 15.0 found [ 2.285827] omap-iommu omap-iommu.0: isp: version 1.1 [ 2.294097] tvp5150 2-005c: chip found @ 0xb8 (OMAP I2C adapter) [ 3.339355] i2c_omap i2c_omap.2: controller timed out [ 4.370635] i2c_omap i2c_omap.2: controller timed out [ 5.417510] i2c_omap i2c_omap.2: controller timed out [ 5.469665] tvp5150 2-005c: *** unknown tvp8081 chip detected. [ 5.475555] tvp5150 2-005c: *** Rom ver is 130.131 [ 6.479980] i2c_omap i2c_omap.2: controller timed out [ 7.503417] i2c_omap i2c_omap.2: controller timed out [ 7.533569] mmci-omap-hs.0 supply vmmc_aux not found, using dummy regulator what might be the problem? Regards Krishna
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Friday, May 13 2011, 02:07 PM - #permalink
    0
    The Expansion board has the TVP5151 Video Decoder that it is a Evolution over TVP5150 ... About this error, try to use as the driver as Module ... Manel
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 13 2011, 02:30 PM - #permalink
    0
    Hi manel, i have compile as module using the config file mentioned in the wiki. if i use mod probe i am getting following error. commands used: modprobe iommu2 modprobe omap3-isp Console Mesages: [ 80.803436] omap-iommu omap-iommu.0: isp registered [ 90.230987] omap3isp supply VDD_CSIPHY1 not found, using dummy regulator [ 90.237762] omap3isp supply VDD_CSIPHY2 not found, using dummy regulator [ 90.247741] omap3isp omap3isp: Revision 15.0 found [ 90.252593] omap-iommu omap-iommu.0: isp: version 1.1 [ 90.624145] tvp5150 2-005c: chip found @ 0xb8 (OMAP I2C adapter) [ 90.687011] i2c_omap i2c_omap.2: Arbitration lost [ 91.745697] i2c_omap i2c_omap.2: controller timed out [ 92.769226] i2c_omap i2c_omap.2: controller timed out [ 93.784851] i2c_omap i2c_omap.2: controller timed out [ 93.836029] tvp5150 2-005c: *** unknown tvp8081 chip detected. [ 93.841918] tvp5150 2-005c: *** Rom ver is 130.131 [ 94.855163] i2c_omap i2c_omap.2: controller timed out [ 95.878540] i2c_omap i2c_omap.2: controller timed out Regards Krishna
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 17 2011, 11:55 AM - #permalink
    0
    Hi Manel, can you pls help in resolving problem. Analog Camera input working is important to our project. If doesn\\\'t work we are forced to use another DM3730 board. Regards Krishna
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 19 2011, 07:53 AM - #permalink
    0
    Hi Manel, i have downloaded pre-built uImage and modules mentioned at [url=http://www.igep.es/index.php?option=com_kunena&Itemid=97&func=post&do=reply&catid=73&id=5155]http://www.igep.es/index.php?option=com ... 73&id=5155[/url] i have replaced the existing /lib/modules with modules downloaded. After booting i have executed following commands. modprobe iommu2 modprobe omap3-isp root@igep0020:~# modprobe omap3-isp [ 90.704345] omap3isp supply VDD_CSIPHY1 not found, using dummy regulator [ 90.713623] omap3isp supply VDD_CSIPHY2 not found, using dummy regulator [ 90.720794] omap3isp omap3isp: Revision 15.0 found [ 90.725830] omap-iommu omap-iommu.0: isp: version 1.1 [ 91.137664] tvp5150 2-005c: chip found @ 0xb8 (OMAP I2C adapter) [ 92.183410] i2c_omap i2c_omap.2: controller timed out [ 93.214630] i2c_omap i2c_omap.2: controller timed out [ 94.238067] i2c_omap i2c_omap.2: controller timed out [ 95.253692] i2c_omap i2c_omap.2: controller timed out [ 95.307098] tvp5150 2-005c: *** unknown tvp8081 chip detected. [ 95.312988] tvp5150 2-005c: *** Rom ver is 130.131 [ 96.331787] i2c_omap i2c_omap.2: controller timed out [ 97.355255] i2c_omap i2c_omap.2: controller timed out root@igep0020:~# I am using RevB expansion board with DM3730 RC4 with WIFI. Analog Camera input is important to our project. If doesn\\\'t work we are forced to use another DM3730 board. Regards Krishna
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Thursday, May 19 2011, 10:22 AM - #permalink
    0
    Hi, Appears you\\\'ve a connection problem between TVP5151 and the OMAP, check the connectors and if the signal if correct ... Regards Manel
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 19 2011, 10:27 AM - #permalink
    0
    Hi Manel, ho do I check? Regards Krishna
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Thursday, May 19 2011, 01:35 PM - #permalink
    0
    You can use a oscilloscope for check the i2c lines ... Manel
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Friday, May 27 2011, 03:07 PM - #permalink
    0
    Hi Krishna We detected one issue in the i2c - TVP5151 initialization with DM3730. We have been updated our wiki page with a new release and the patches for resolve this issue be in our git repository. [url=http://labs.igep.es/index.php/How_to_setup_tvp5151_video_decoder#BUGS_Detected]http://labs.igep.es/index.php/How_to_se ... S_Detected[/url] [url=http://git.igep.es/?p=pub/scm/linux-omap-2.6.git;a=commit;h=4a2cb9a2582e1252f5643d196f876d81c7d57904]http://git.igep.es/?p=pub/scm/linux-oma ... 81c7d57904[/url] Please could you test with this new release if you can reproduce your issue? Regards Manel
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 31 2011, 10:41 AM - #permalink
    0
    Hi Manel, with this it seems working. I have connected PAL analog camera. but i am getting 12 fps only with yavta, even with out writing frames also. what is the maximum you have achieved? One more question. why you are using 720x628 in command
    [b]\\\"media-ctl --set-format \\\'\\\"tvp5150 2-005c\\\":0 [UYVY 720x628]\\\'\\\"[/b]
    , can\\\'t we use 720x576. when we set 720x628 TI DMAI not detecting camera. if we use 720x576 it is detecting camera. but not output. Regards Krishna
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Tuesday, May 31 2011, 01:27 PM - #permalink
    0
    Hi Krishna, I get 30 fps.
    with this it seems working. I have connected PAL analog camera. but i am getting 12 fps only with yavta, even with out writing frames also. what is the maximum you have achieved?
    yavta it\\\'s for get raw images not for live processing in fact it\\\'s too slow for do that.
    why you are using 720x628 in command \"media-ctl --set-format \\\'\"tvp5150 2-005c\":0 [UYVY 720x628]\\\'\"
    Because the driver it\\\'s configured for get 720x628.
    can\\\'t we use 720x576.
    This is the active area, but the real area it\\\'s described in the wiki page.
    when we set 720x628 TI DMAI not detecting camera. if we use 720x576 it is detecting camera. but not output.
    I don\\\'t know what relationship it has with dmai due I tested with gstreamer + dmai with this configuration without any problem: [code]gst-launch-0.10 -v v4l2src device=/dev/video2 queue-size=1 ! video/x-raw-yuv,format=\\\\(fourcc\\\\)UYVY,width=720,height=628 ! omapdmaifbsink[/code] Manel
    The reply is currently minimized Show
  • Accepted Answer

    horho77
    horho77
    Offline
    Wednesday, September 07 2011, 05:34 PM - #permalink
    0
    Hi everyone, I\\\'m using 3.10.10 gst framework and I\\\'m trying to capture video with tvp5151. I have this pipeline working: [code]gst-launch -v v4l2src device=/dev/video2 always-copy=false ! \\\'video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)628\\\' ! TIVidenc1 codecName=h264enc engineName=codecServer contiguousInputFrame=true resolution=720x576 framerate=25/1 ! dmaiperf print-arm-load=true ! rtph264pay pt=96 ! udpsink host=192.168.2.22 port=2222[/code] I\\\'m getting: [code]INFO: Timestamp: 0:01:01.990051273; bps: 55575; fps: 13; CPU: 22; INFO: Timestamp: 0:01:03.029876713; bps: 36366; fps: 12; CPU: 21; INFO: Timestamp: 0:01:04.069946292; bps: 54747; fps: 12; CPU: 22; INFO: Timestamp: 0:01:05.109863287; bps: 36189; fps: 12; CPU: 21; INFO: Timestamp: 0:01:06.149810794; bps: 53187; fps: 12; CPU: 21; INFO: Timestamp: 0:01:07.189849859; bps: 37255; fps: 12; CPU: 21; INFO: Timestamp: 0:01:08.229797366; bps: 51737; fps: 12; CPU: 20; INFO: Timestamp: 0:01:09.269744876; bps: 36962; fps: 12; CPU: 21; INFO: Timestamp: 0:01:10.309722903; bps: 35075; fps: 12; CPU: 21; [/code] I never seem to get more than 12 fps. The result is video with noticeable ghosting on faster movement. Anyone has any experience with this?? I have tried to use TIPrepEncBuf. But that is not working. I\\\'m not even sure if it is supported on this cpu (DM3730)... \\\"contiguousInputFrame=true\\\" in the TIVidenc1 helps to prevent picture from rolling (using 576 instead of 628 lines). Regards Jan
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat