Play video on LCD for Leopard DM355

Play video on LCD for Leopard DM355

  • Hi all,

    I wrote to forum before but there is no good step. I have leopard dm355 board. I use 800x480 LCD. I can use it, see image on it and i want to play video. But there are a few problems.

    I tried DM355SDK840402 and DM355SDK789311 with dvsdk_2_00_00_22 and xdctools_3_10_05_61. On u-boot params(video=davincifb:) i tried all of possibilities. I think i could not understand these params. I think these are  for FBDev and i can use /dev/fb/1 with FBDev for playing video.

    How can i use FBDev and V4L2 for video with gst-launch? How must u-boot params be done?

    Last u-boot params: davincifb:vid0=0x0x16:vid1=0x0x16:osd1=0x0x16; is it right?

    I tried basic gst-launch pipelines.

    * gst-launch videotestsrc ! TIDmaiVideoSink

            Response: .......Failed to create display.

    Is there any uImage and fsImage for playing video? And a few basic gst-launch pipelines for only play videoes? I am newbie on dm355 and gstreamer. I need some help.

    And another question:

     there is no /dev/fb/3 device, only /dev/fb/0, /dev/fb/1 and /dev/fb/2 devices, how can i create /dev/fb/3. And i cannot copy any bitmap /dev/fb/0 device but can copy /dev/fb0 device. Is it normal?

    Sory my english and mixed problems.

    Thanks

    Mehmet.

  • Mehmet,

    You can see example GStreamer pipelines at

    processors.wiki.ti.com/.../Example_GStreamer_Pipelines

    You have to be careful to use a "matching set" of the kernel version, dvsdk version and xdc version.

    The RidgeRun DM355 LeopardBoard uses the 2.6.18 kernel.  In August, TI released DVSDK 3.1

    software-dl.ti.com/.../index_FDS.html

    which has the most up-to-date kernel (2.6.32) / DVSDK  / xdc matching set.

    Todd

  • Todd:

    The instructions in "Installing RR free SDK for Leopard Board" instruct us to install SDK 840402, dvsdk 2.00 and xdctools 3.10. Are these correct? I am going to start over with 840202, dvsdk 3.10 and xdctools 3.10.

    Can you confirm that this is sensible?

    Thanks,

    Mark

    Quote:

    3. Texas Instruments packages

    SDK version 840402: Latest version of the free SDK

    DM355SDK-840402-Linux-x86-Install.bin

    dvsdk_setuplinux_2_00_00_22.bin

    xdctools_setuplinux_3_10_05_61.bin

    processors.wiki.ti.com/.../Installing_RR_free_SDK_for_Leopard_Board

  • RidgeRun does yet offer a DM355 evaluation SDK that support DVSDK 3.10.  You might look for another build environment that does support DVSDK 3.10 for the DM355 processor.

    If you use the RidgeRun DM355 evaluation SDK, you have to use DVSDK 2.x as documented.

    Todd

  • Thank you Todd.

  • Hi Todd,

    thanks for your reply.

    I look processors.wiki.ti.com/.../Example_GStreamer_Pipelines and tried some of them. For example,

    "gst-launch -v filesrc location=/media/sample.avi ! avidemux name=demux demux.audio_00 ! queue max-size-buffers=8000 max-size-time=0   max-size-bytes=0 ! mad ! alsasink demux.video_00 ! queue ! TIViddec2 ! TIDmaiVideoSink videoStd=480P videoOutput=LCD"

    Response: ".... no element "mad" "

    But I checked "Fixed Point Mpeg Audio Decoder (MAD) support"   under the "gstreamer-plugins-ugly 0.10.11". And i run gst-inspect, can not see "MAD" . What is the problem.

    And another gst pipeline,

    "gst-launch videotestsrc ! TIDmaiVideoSink"

    Response: "... Failed to create display"

    When i tried DM355SDK789311 i did not receive this message. Somehow now i receive this error. I only changed  u-boot parameters. I try all of the possibilities for u-boot parameters but no success.

    I downloaded DM355SDK840402 from RidgeRun download page and it has dvsdk_2_00_00_22 in "proprietary" directory .I think these are matching set, am i mistaken? But in DM355SDK840402 kernel version is 2.6.29, not 2.6.18.

    Should i install dvsdk_setuplinux_2_00_00_22.bin additionaly?  

    What is your suggestion? Should i download DVSDK 3.1 and build it? May i succeed that?

    Isn't there anyone who used leopard DM355 board and DM355SDK840402 software and play video without any problem? That should not be so hard?

    Thanks.

    Mehmet