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.

GStreamer error

what does this error means?I installed gstreamer using this tutorial:

http://processors.wiki.ti.com/index.php/DMAI_GStreamer_Plug-In_Getting_Started_Guide

but instead of pointing to dvsdk 3 I pointed to dvsdk 4 because I'm running the DM368 with dvsdk 4, and I want to run gstreamer on it.

 

# lsmod                                                                        
# pwd                                                                          
/opt/gstreamer_demo/dm365                                                      
# ./loadmodules.sh                                                             
cmemk: disagrees about version of symbol module_layout                         
insmod: can't insert 'cmemk.ko': invalid module format                         
irqk: disagrees about version of symbol module_layout                          
insmod: can't insert 'irqk.ko': invalid module format                          
edmak: disagrees about version of symbol module_layout                         
insmod: can't insert 'edmak.ko': invalid module format                         
dm365mmap: disagrees about version of symbol module_layout                     
insmod: can't insert 'dm365mmap.ko': invalid module format                     
BusyBox v1.18.3 (2011-08-31 20:20:52 EDT) multi-call binary.                   
                                                                               
Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR                                   
                                                                               
Create a special file (block, character, or pipe)                              
                                                                               
Options:                                                                       
        -m MODE Creation mode (default a=rw)                                   
TYPE:                                                                          
        b       Block device                                                   
        c or u  Character device                                               
        p       Named pipe (MAJOR and MINOR are ignored)                       
                                                                               
#

  • I figure out that part as it says it was compile for the wrong version, but now I'm getting this error when I trying to run the test screen

    # gst-launch -v videotestsrc ! TIDmaiVideoSink videoStd=D1_NTSC videoOutput=comp
    osite accelFrameCopy=FALSE sync=false

    (gst-launch-0.10:1188): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/gstreamer-0.10/libgstmad.so': /opt/gstreamer/lib/libid3tag.so.0: undefined symbol: id3_frametype_obsolete
    Setting pipeline to PAUSED ...
    /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1
    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    ERROR: from element /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0: Unable to initialize display

    Additional debug info:
    gsttidmaivideosink.c(1519): gst_tidmaivideosink_render (): /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0
    Execution ended after 12486291 ns.
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0.GstPad:sink: caps = NULL
    /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = NULL
    Setting pipeline to NULL ...
    Freeing pipeline ...
    # gst-inspect-0.10 /usr/lib/gstreamer-0.10/libgstmad.so
                                                                                                                                                                                                                                   
    (gst-inspect-0.10:1191): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/gstreamer-0.10/libgstmad.so': /opt/gstreamer/lib/libid3tag.so.0: undefined symbol: id3_frametype_obsolete                             
    No such element or plugin '/usr/lib/gstreamer-0.10/libgstmad.so'

  • Hi

    smilar error posted and resolved

    https://gforge.ti.com/gf/project/gstreamer_ti/forum/?_forum_action=ForumMessageBrowse&thread_id=3617&action=ForumBrowse&forum_id=187

     

    Regards

    Santosh

  • Thanks Santosh that fix that "Failed to load plugin" error, but now I'm getting this:

     

    root@dm365-evm:/opt/gstreamer_demo/dm365# gst-launch -v videotestsrc ! TIDmaiVideoSink videoStd=D1_NTSC videoOutput=composite accelFrameCopy=FALSE sync=false                                                                                                         
    Setting pipeline to PAUSED ...                                                                                                                                                        
    /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1               
    Pipeline is PREROLLING ...                                                                                                                                                            
    /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1        
    Pipeline is PREROLLED ...                                                                                                                                                             
    Setting pipeline to PLAYING ...                                                                                                                                                       
    New clock: GstSystemClock                                                                                                                                                             
    ERROR: from element /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0: Unable to initialize display                                                                          
                                                                                                                                                                                          
    Additional debug info:                                                                                                                                                                
    gsttidmaivideosink.c(1519): gst_tidmaivideosink_render (): /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0                                                                 
    Execution ended after 5165500 ns.                                                                                                                                                     
    Setting pipeline to PAUSED ...                                                                                                                                                        
    Setting pipeline to READY ...                                                                                                                                                         
    /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0.GstPad:sink: caps = NULL                                                                                                   
    /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = NULL                                                                                                          
    Setting pipeline to NULL ...                                                                                                                                                          
    Freeing pipeline ...                                                                                                                                                                  
    root@dm365-evm:/opt/gstreamer_demo/dm365#