This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

video playing on leopard dm355 board

Hi all,

I have leopard dm355 board. I installed DM355SDK840402 and DM355SDK789311 softwares from RidgeRun download page. I tried two of them, but could not see any video on my lcd screen. I see bitmap my lcd, it is ok.

I tried basic gstreamer pipelines.

        "gst-launch videotestsrc ! TIDmaiVideoSink"

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

another pipeline;

       "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"

And i removed mad

      "gst-launch -v filesrc location=/media/sample.avi ! avidemux name=demux  demux.video_00 ! queue ! TIViddec2 ! TIDmaiVideoSink videoStd=480P videoOutput=LCD"

   Again error response.


I don't know where i do mistake. Maybe u-boot params are wrong  maybe another problem.

I could not find anyone who uses DM355SDK840402 on leopard dm355 for video playing without problem.

 I need help, what can i do? Is there any BSP(dvsdk, toolchain, linux, apps, uboot.....) that can run on leopard dm355 board and i can play video.

So thanks.

Mehmet Kurnaz.


  • Hi Mehmet,

    Given that you are not using a TI hardware development board or the software associated with such, you would be better served to ask your question over on the Leopard Imaging or Ridge Run support forums.  They should be better equipped to handle your questions. 

    Thanks.

    Tai Nguyen

  • Hi Tai,

    Thanks for your quick repy.

    I wrote them but until there is no good step. I downloaded dvsdk_3_10_00_19_Setup.bin, linux-davinci-staging.tar.gz .... from http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_10/latest/index_FDS.html. I builded them with "arm-2009ql" . But cmemk.ko, dm350mmap.ko, irqk.ko modules are not for linux-2.6.32. I builded them for 2.6.32 too. I called loadmodules.sh and then gst pipeline

    "gst-launch videotestsrc ! TIDmaiVideoSink"

    Response:

    CMEMK Error: ioctl(): bad command type 0x0 (should be 0xfe)
    CMEM Error: init: major version mismatch between interface and driver.
    CMEM Error:     needs driver version 0x2300000, got 0x3000000
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    CMEM Error: CMEM_exit() already called, check stderr output for earlier CMEM failure messages (possibly version mismatch).
    CMEM Error: CMEM_exit() already called, check stderr output for earlier CMEM failure messages (possibly version mismatch).
    CMEM Error: CMEM_exit() already called, check stderr output for earlier CMEM failure messages (possibly version mismatch).
    CMEM Error: CMEM_exit() already called, check stderr output for earlier CMEM failure messages (possibly version mismatch).
    CMEM Error: CMEM_exit() already called, check stderr output for earlier CMEM failure messages (possibly version mismatch).
    CMEM Error: CMEM_exit() already called, check stderr output for earlier CMEM failure messages (possibly version mismatch).
    Failed to allocate memory.
    ERROR: from element /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0: GStreamer encountered a general stream error.
    Additional debug info:
    ../../src/src/gsttidmaivideosink.c(1317): gst_tidmaivideosink_render (): /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0:
    Failed to allocate memory for the input buffer

     

    What is the problem?

     

    So thanks.

    Mehmet.

  • Hi Mehmet,

    Sorry I am not able to help so I am going to move your post into the LINUX forum to see if they can answer.

    Thanks.

    Tai

  • Mehmet,

    You are using mismatched software components and hardware that are not owned or managed by TI.  You will need to pursue this with the gStreamer and Leopard Imaging communities for help unless someone else from the community watching this topic can chime in to help.  Unfortunately, no one on the TI side will be able to comment on this topic since we don't try to do anything you are doing.