how to load aravis plugin with python-gstreamer

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to load aravis plugin with python-gstreamer

Bert Douglas
Hi All,

I managed to use aravis plugin from shell script as shown below.
How can I do same sort of thing from python?

Thanks much,
Bert Douglas

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


LD_PRELOAD=/usr/lib/libaravis.so                                         \
gst-launch --gst-plugin-load=/usr/lib/gstreamer-0.10/libgstaravis.so     \
     aravissrc camera-name=""      \
   ! ffmpegcolorspace       \
   ! autovideosink


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to load aravis plugin with python-gstreamer

Stefan Sauer
On 01.09.2010 17:33, Bert Douglas wrote:

> Hi All,
>
> I managed to use aravis plugin from shell script as shown below.
> How can I do same sort of thing from python?
>
> Thanks much,
> Bert Douglas
>
> -----------------------------------
>
>
> LD_PRELOAD=/usr/lib/libaravis.so                                         \
> gst-launch --gst-plugin-load=/usr/lib/gstreamer-0.10/libgstaravis.so     \
>      aravissrc camera-name=""      \
>    ! ffmpegcolorspace       \
>    ! autovideosink
>
Why do you have to LD_PRELOAD the lib?

Stefan

>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to load aravis plugin with python-gstreamer

Bert Douglas
Because the so file for the plugin is defective.  It lacks a reference to libaravis.  You can see this with ldd.

Bert Douglas

On Tue, Sep 7, 2010 at 7:24 AM, Stefan Kost <[hidden email]> wrote:
On 01.09.2010 17:33, Bert Douglas wrote:
> Hi All,
>
> I managed to use aravis plugin from shell script as shown below.
> How can I do same sort of thing from python?
>
> Thanks much,
> Bert Douglas
>
> -----------------------------------
>
>
> LD_PRELOAD=/usr/lib/libaravis.so                                         \
> gst-launch --gst-plugin-load=/usr/lib/gstreamer-0.10/libgstaravis.so     \
>      aravissrc camera-name=""      \
>    ! ffmpegcolorspace       \
>    ! autovideosink
>
Why do you have to LD_PRELOAD the lib?

Stefan
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel