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.

3530 and Gstreamer problem

Other Parts Discussed in Thread: OMAP3530

Hi All,

I'm playing with gstreamer on evm3530 in an amstrong distro.
I have installed the last dvsdk 3.00.02.44 and gstreamer-plugin-full 1.01.00.


I need your help with some doubts / problems I got when following the example
pipelines here: http://wiki.davincidsp.com/index.php/Example_GStreamer_Pipelines


This is what I got, you will see that cases A and B worked but with warnings and
cases C and D didn't worked at all:

------------------------------------------------------------------------------------
A) When playing an audio file:

root@omap3evm:/opt/gstreamer_demo/omap3530# gst-launch -v filesrc location=/home/flicker_test/audiotest_1.aac  ! TIAuddec1 codecName=aachedec engineName=codecServer ! alsasink sync=false

(gst-launch-0.10:1237): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/libid3tag.so': /opt/gstreamer/lib/libid3tag.so: undefined symbol: id3_frametype_obsolete

(gst-launch-0.10:1237): 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 ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstTIAuddec1:tiauddec10.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstAlsaSink:alsasink0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock



It works nice, but why it complains about id3_frametype_obsolete?

------------------------------------------------------------------------------------
B) When playing a video file:

root@omap3evm:/opt/gstreamer_demo/omap3530# gst-launch -v filesrc location=/home/flicker_test/cosmos.m2v  ! TIViddec2 codecName=mpeg2dec engineName=codecServer ! TIDmaiVideoSink videoStd=VGA videoOutput=LCD sync=false

(gst-launch-0.10:1257): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/libid3tag.so': /opt/gstreamer/lib/libid3tag.so: undefined symbol: id3_frametype_obsolete

(gst-launch-0.10:1257): 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 ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstTIViddec2:tividdec20.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30000/1001, width=(int)640, height=(int)480
/GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30000/1001, width=(int)640, height=(int)480
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

Again it works, but, as in the audio case, it complains about id3_frame_type_obsolete.

------------------------------------------------------------------------------------

C) When playing an MP4 file:

root@omap3evm:/opt/gstreamer_demo/omap3530# gst-launch -v filesrc location=test.mp4 ! qtdemux name=demux demux.audio_00 ! queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 ! TIAuddec1 ! alsasink demux.video_00 ! queue ! TIViddec2 ! TIDmaiVideoSink videoStd=VGA videoOutput=LCD

(gst-launch-0.10:1274): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/libid3tag.so': /opt/gstreamer/lib/libid3tag.so: undefined symbol: id3_frametype_obsolete

(gst-launch-0.10:1274): 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 ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, codec_data=(buffer)1210, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, codec_data=(buffer)1210, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstTIAuddec1:tiauddec10.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, codec_data=(buffer)1210, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/x-h264, codec_data=(buffer)0164001fffe100196764001fac248403c05bb01100000300640000176a8f18311201000568ee32c8b0, width=(int)960, height=(int)720, framerate=(fraction)30000/1001
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = video/x-h264, codec_data=(buffer)0164001fffe100196764001fac248403c05bb01100000300640000176a8f18311201000568ee32c8b0, width=(int)960, height=(int)720, framerate=(fraction)30000/1001
/GstPipeline:pipeline0/GstTIViddec2:tividdec20.GstPad:sink: caps = video/x-h264, codec_data=(buffer)0164001fffe100196764001fac248403c05bb01100000300640000176a8f18311201000568ee32c8b0, width=(int)960, height=(int)720, framerate=(fraction)30000/1001
/GstPipeline:pipeline0/GstTIAuddec1:tiauddec10.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstAlsaSink:alsasink0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2


This do not works for me.
System hangs here and I get no video on the LCD screen nor audio.
I have to do ctrl+C to return back to the system.

------------------------------------------------------------------------------------

D) When playing an AVI file:

root@omap3evm:/opt/gstreamer_demo/omap3530# gst-launch -v filesrc location=test.avi ! avidemux name=demux demux.audio_00 ! queue max-size-buffers=1200 max-size-time=0 max-size-bytes=0 ! mad ! alsasink demux.video_00 ! queue !  TIViddec2 ! queue max-size-buffers=2 max-size-time=0 max-size-bytes=0 ! TIDmaiVideoSink videoStd=VGA videoOutput=LCD

(gst-launch-0.10:1287): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/libid3tag.so': /opt/gstreamer/lib/libid3tag.so: undefined symbol: id3_frametype_obsolete

(gst-launch-0.10:1287): 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
WARNING: erroneous pipeline: no element "mad"

This do not works for me.
Program stops here. I get no video, nor audio.
What's the "mad" element? Should I install anything more?

------------------------------------------------------------------------------------

I'll appreciate any help you can give me, in special for cases C and D.

Thanks and best regards.

RamOn

  • Hi,

    About the message "id3_frametype_obsolete" is a problem with the version of the id3parse plugin of gstreamer. Nothing critical for your proposes. You can get rid of the problem by removing /opt/gstreamer/lib/libid3tag.so.

    I wonder why you built gstreamer using the build system from plugin (I can tell from the /opt path), instead of using the angstrom recipes and packages for gstreamer?

    I recommend you get rid of your /opt directory and instead try to build gstreamer-ti from angstrom (or pull the packages). Would make your life easier and likely solve some of your issues.

    Diego

  • Hello Diego,

    Thanks for your answer.

    I installed gstreamer following this document:

    https://gforge.ti.com/gf/project/gstreamer_ti/scmsvn/?action=browse&path=%2Ftrunk%2Fgstreamer_ti%2FREADME.TXT&view=markup

    Didn't knew it could be installed in other way. Please can you expand this a little?

    Thanks and best regards.

    RamOn