RE: TI's Gstreamer plugin cannot be found by 'playbin' ?

2009-03-02 Thread Singh, Brijesh
Hello Zhenfeng

This is one the known issue listed in tracker item, 
https://omapzoom.org/gf/project/gstreamer_ti/tracker/?action=TrackerItemEdittracker_item_id=253.
  Patch is welcome. 

There is a function to register plugin, check 
ti_build/ticodecplugin/src/gstticodecplugin.c: TICodecPlugin_init(). You can 
control the registered elements with this function. 

Thanks
Brijesh Singh

-Original Message-
From: davinci-linux-open-source-boun...@linux.davincidsp.com 
[mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of 
zhenfeng ren
Sent: Sunday, March 01, 2009 8:35 PM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: TI's Gstreamer plugin cannot be found by 'playbin' ?

hi,everyone:
If I use the fellow script, it work well.
gst-launch --gst-debug-no-color --gst-debug=TI*:2 filesrc location=mp4.ts ! 
typefind ! mpegtsdemux name=demux demux. !
audio/mpeg ! queue max-size-buffers=1200 max-size-time=0 max-size-bytes=0 ! 
typefind ! TIAuddec ! audioconvert ! osssink demux.
! video/mpeg ! typefind ! TIViddec ! TIDmaiVideoSink displayStd=fbdev
displayDevice=/dev/fb/3 videoStd=D1_NTSC videoOutput=COMPOSITE resizer=FALSE 
accelFrameCopy=TRUE

but if I use 'palybin', TI's plugin couldnot be found by 'playbin'. As:
r...@dvevm:/opt# gst-launch -v playbin
uri=file:///opt/gstreamer_demo/dm6446/mp4.ts

(gst-launch-0.10:1264): GStreamer-WARNING **: Failed to load plugin
'/opt/gstreamer/lib/gstreamer-0.10//libgstmad.so':
/opt/gstreamer/lib/libid3tag.so.0: undefi ned symbol: id3_frametype_unknown 
Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188 Pipeline 
is PREROLLING ...
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0.GstPad:sink:
caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0:
pat-info = ((GValueArray*) 0x36a10)
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0:
pmt-info = ((FluTsPmtInfo*) 0x35640)
** Message: don't know how to handle video/mpeg, mpegversion=(int)4, 
systemstream=(boolean)false
** Message: don't know how to handle audio/mpeg, mpegversion=(int)4

I see that TI's plugins donot have founction 'plungin_init' as other plungins.
Could anyone give me some advice?

--
Thanks,
Zhenfeng Ren

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: TI's Gstreamer plugin cannot be found by 'playbin' ?

2009-03-02 Thread Diego Dompe

Hi Zhenfeng,

I have people  looking on this issue for Beagleboard, and we have the  
playbin and decodebin locating the plugins properly. Probably is  
something wrong with your environment. Please post your issue on a bug  
entry, and provide the output with GST_DEBUG=3 environment set.


Diego Dompe
RidgeRun

On Mar 1, 2009, at 8:34 PM, zhenfeng ren wrote:


hi,everyone:
If I use the fellow script, it work well.
gst-launch --gst-debug-no-color --gst-debug=TI*:2 filesrc
location=mp4.ts ! typefind ! mpegtsdemux name=demux demux. !
audio/mpeg ! queue max-size-buffers=1200 max-size-time=0
max-size-bytes=0 ! typefind ! TIAuddec ! audioconvert ! osssink demux.
! video/mpeg ! typefind ! TIViddec ! TIDmaiVideoSink displayStd=fbdev
displayDevice=/dev/fb/3 videoStd=D1_NTSC videoOutput=COMPOSITE
resizer=FALSE accelFrameCopy=TRUE

but if I use 'palybin', TI's plugin couldnot be found by 'playbin'.  
As:

r...@dvevm:/opt# gst-launch -v playbin
uri=file:///opt/gstreamer_demo/dm6446/mp4.ts

(gst-launch-0.10:1264): GStreamer-WARNING **: Failed to load plugin
'/opt/gstreamer/lib/gstreamer-0.10//libgstmad.so':
/opt/gstreamer/lib/libid3tag.so.0: undefi
ned symbol: id3_frametype_unknown
Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/ 
GstTypeFindElement:typefind.GstPad:src:

caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
Pipeline is PREROLLING ...
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/ 
GstMpegTSDemux:mpegtsdemux0.GstPad:sink:

caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/ 
GstMpegTSDemux:mpegtsdemux0:

pat-info = ((GValueArray*) 0x36a10)
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/ 
GstMpegTSDemux:mpegtsdemux0:

pmt-info = ((FluTsPmtInfo*) 0x35640)
** Message: don't know how to handle video/mpeg, mpegversion=(int)4,
systemstream=(boolean)false
** Message: don't know how to handle audio/mpeg, mpegversion=(int)4

I see that TI's plugins donot have founction 'plungin_init' as other  
plungins.

Could anyone give me some advice?

--
Thanks,
Zhenfeng Ren

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


TI's Gstreamer plugin cannot be found by 'playbin' ?

2009-03-01 Thread zhenfeng ren
hi,everyone:
If I use the fellow script, it work well.
gst-launch --gst-debug-no-color --gst-debug=TI*:2 filesrc
location=mp4.ts ! typefind ! mpegtsdemux name=demux demux. !
audio/mpeg ! queue max-size-buffers=1200 max-size-time=0
max-size-bytes=0 ! typefind ! TIAuddec ! audioconvert ! osssink demux.
! video/mpeg ! typefind ! TIViddec ! TIDmaiVideoSink displayStd=fbdev
displayDevice=/dev/fb/3 videoStd=D1_NTSC videoOutput=COMPOSITE
resizer=FALSE accelFrameCopy=TRUE

but if I use 'palybin', TI's plugin couldnot be found by 'playbin'. As:
r...@dvevm:/opt# gst-launch -v playbin
uri=file:///opt/gstreamer_demo/dm6446/mp4.ts

(gst-launch-0.10:1264): GStreamer-WARNING **: Failed to load plugin
'/opt/gstreamer/lib/gstreamer-0.10//libgstmad.so':
/opt/gstreamer/lib/libid3tag.so.0: undefi
ned symbol: id3_frametype_unknown
Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
Pipeline is PREROLLING ...
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0.GstPad:sink:
caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0:
pat-info = ((GValueArray*) 0x36a10)
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0:
pmt-info = ((FluTsPmtInfo*) 0x35640)
** Message: don't know how to handle video/mpeg, mpegversion=(int)4,
systemstream=(boolean)false
** Message: don't know how to handle audio/mpeg, mpegversion=(int)4

I see that TI's plugins donot have founction 'plungin_init' as other plungins.
Could anyone give me some advice?

-- 
Thanks,
Zhenfeng Ren

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source