[gst-devel] How to register dfbvideosink

Wolfson, Alexander alexander.wolfson at intel.com
Mon Jun 12 22:51:07 CEST 2006


 
Hi,

I still have problems with dfbvideosink.

I have the following output when I run 

#gst-launch filesrc location=TrainingWithHumor_H264.mp4 ! decodebin !
dfbvideosink


(!) Direct/Modules: Could not open module directory
`/localdisk/integration/LRP_ZYLONITE_P_EB5/src/gstreamer/gst-deps/lib/di
rectfb-0.9.24/systems'!
    --> No such file or directory
(!) DirectFB/core/system: No system found!

My LD_LIBRARY_PATH
/opt/Qtopia/lib:/usr/local/lib:/usr/lib:/lib:/usr/lib/ipp:/lib/lib:/usr/
gst/lib:/usr/gst-deps/lib
seems to be correct.


What am I missing? How the directory for modules suppose to be
specified?
Can you give an example of working gstreamerv command line to play
video, preferable h264?
________________________________________________________________________
_

I included the log and the build script I used into the message.

Thanks a lot for your previous help.
I hope one last step left :)

Alex

=============== Console Output start  ===============


[root at Linux Documents]#gst-launch filesrc
location=TrainingWithHumor_H264.mp4 ! decodebin ! dfbvideosink
Setting pipeline to PAUSED ...

       ---------------------- DirectFB v0.9.24 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH
        -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2006-06-09 18:34)
(!) Direct/Modules: Could not open module directory
`/localdisk/integration/LRP_ZYLONITE_P_EB5/src/gstreamer/gst-deps/lib/di
rectfb-0.9.24/systems'!
    --> No such file or directory
(!) DirectFB/core/system: No system found!
Pipeline is PREROLLING ...

============== Console output end ====================

Then it sits here forever.

I use the following script to build plugins:

================= Build script start =================

#pushd gstreamer-0.10.0
export GSTREAMER_ROOT=$PWD
#popd
export
PKG_CONFIG_PATH=$GSTREAMER_ROOT/gst-deps/lib/pkgconfig:$GSTREAMER_ROOT/g
st/lib/pkgconfig
echo PKG_CONFIG_PATH=$PKG_CONFIG_PATH

export CC=arm-linux-gcc


echo "**** Building Plugins ****"

export GST_PLUGIN_LDFLAGS="-lgstbase-0.10 -lgstcontroller-0.10"

echo "**** Building DirectFB-0.9.24 ****"
pushd DirectFB-0.9.24
./configure --prefix=$GSTREAMER_ROOT/gst-deps --host=arm-linux
--enable-fbdev --without-imputdrivers --disable-freetype
make
make install
popd

echo "**** Building gst-plugins-bad ****"
pushd gst-plugins-bad-0.10.0
./configure --prefix=$GSTREAMER_ROOT/gst --host=arm-linux
LDFLAGS=-L$GSTREAMER_ROOT/gst-deps/lib LDADD="-lgstbase-0.10
-lgstcontroller-0.10" CPPFLAGS="-I$GSTREAMER_ROOT/gst-deps/include
-I$LRPINCLUDE" --disable-opengl --disable-gst_v4l2  --disable-amrwb
--disable-bz2 --disable-dts --disable-divx --disable-faac
--disable-faad --disable-gsm --disable-ivorbis --disable-libmms
--disable-musepack --disable-musicbrainz --disable-neon --disable-sdl
--disable-sdltest --disable-soundtouch --disable-swfdec
--disable-theoradec --disable-xvid --disable-wavpack
make
make install
popd

================= Build script end =================



-----Original Message-----
From: gstreamer-devel-bounces at lists.sourceforge.net
[mailto:gstreamer-devel-bounces at lists.sourceforge.net] On Behalf Of
Wolfson, Alexander
Sent: Sunday, June 11, 2006 11:15 AM
To: gstreamer-devel at lists.sourceforge.net
Subject: Re: [gst-devel] How to register dfbvideosink

Hi Stefan,

Thanks a lot!
It was fast. The new log output helped to solve the problem.
As you suspected 2 libraries directfb and fusion were missing on the
target.
At least plugin is registered now.

Thanks again,

Alex 

-----Original Message-----
From: Stefan Kost [mailto:ensonic at hora-obscura.de] 
Sent: Sunday, June 11, 2006 10:48 AM
To: Wolfson, Alexander
Cc: gstreamer-devel at lists.sourceforge.net
Subject: Re: [gst-devel] How to register dfbvideosink

Hi,
Am Sonntag, den 11.06.2006, 10:18 -0400 schrieb Wolfson, Alexander:
> Hi Stefan,
> 
> Thanks a lot for your answer.
> 
> The only message in the log regarding my plugin was:
> 
>  file /usr/gst/lib/gstreamer-0.10/libgstdfbvideosink.so not yet in
> registry
> 
> I thought that plugins are added to the registry  in gstraemer-0.10
> automatically.
They are added automatically. This error means gstreamer is trying to
add it again and again, but still it fails to load. As I said the most
liekly case is a missing symbol. But then this information should be
next there in the log. Does the log say abything else. Can you try to
run again using:
GST_DEBUG="GST_PLUGIN_LOADING:4,GST_REGISTRY:4" gst-launch ...
and maybe send us the relevant section from the log.
> 
> Shall I do something to add the plugin?
> 
> Thanks,
> 
> Alex

Stefan
> 
> -----Original Message-----
> From: Stefan Kost [mailto:ensonic at hora-obscura.de] 
> Sent: Saturday, June 10, 2006 10:45 AM
> To: Wolfson, Alexander
> Cc: gstreamer-devel at lists.sourceforge.net
> Subject: Re: [gst-devel] How to register dfbvideosink
> 
> hi,
> 
> Am Freitag, den 09.06.2006, 18:44 -0400 schrieb Wolfson, Alexander:
> > Hi all,
> > 
> > I am experimenting with gstreamer-0.10.0 on the Xscale based board
> > 
> > Gstreamer generaly works well.
> > 
> > I did not used gst-plugins-bad before, but needed something for
video
> > testing, so I decided to use dfbvideosink for testing the video.
> > 
> > After compiling bad plugins I put libgstdfbvideosink.so into
> > /usr/gst/lib/gstreamer-0.10 on the board
> > All other plugin's libraries are in the same place.
> > 
> > gst-inspect does not show this plugin.
> > 
> > I thought may be something wrong with the plugin, so I renamed
> > libgstwaveparse.so into libgstdfbvideosink.so
> > 
> > gst-inspect dfbvideosink does not show it either. 
> > 
> > Is gst-inspect NAME is not based on the name of the file libNAME.so?
> >
> No the name comes from the satic plugin-info structure. Build you gst
> with --enable-gst-debug and run
> GST_DEBUG="GST_REGISTRY:4" gst-inspect-0.10 2>debug.log
> 
> and check debug.log afterwards. It will tell you whats going wrong.
Very
> likely a missing symbol in the plugin-library.
> 
> > 
> > Am I missing some step, or I have a bad dfbvideosink plugin?
> > 
> > 
> > Thanks,
> > 
> > Alex
> 
> Stefan
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list