libgstallocators-1.0.so.0: cannot open shared object file

Fabio Cecamore ceca_89 at hotmail.com
Sun Jun 9 05:30:43 PDT 2013


Hi Tim,
thanks for your time.

Adding the path to /etc/ld.so.conf finally it worked!
But now its behaviour is strange (this is with the latest 1.1.1):
[BEGIN]
root at testingVM:~/code/gst-plugins-good# gst-launch-1.0 rtspsrc 
location=rtsp://192.168.0.253/ch0_0.h264 ! application/x-rtp,media=video 
! decodebin ! videoscale !  v4l2sink device=/dev/video0
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.0.253/ch0_0.h264
0:00:00.035090679 16369      0x1892680 ERROR                default 
gstrtspconnection.c:685:gst_rtsp_connection_connect: failed to connect: 
Could not connect to 192.168.0.253: Connection refused
0:00:00.035388494 16369      0x1892680 ERROR                rtspsrc 
gstrtspsrc.c:3558:gst_rtsp_conninfo_connect:<rtspsrc0> Could not connect 
to server. (Generic error)
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could 
not open resource for reading and writing.
Additional debug info:
gstrtspsrc.c(5986): gst_rtspsrc_retrieve_sdp (): 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Failed to connect. (Generic error)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root at testingVM:~/code/gst-plugins-good#
[END]

But if I launch the SAME command in the SAME time in an other VM (with 
0.10 version) it works:
[BEGIN]
root at debianVM:~# gst-launch rtspsrc 
location=rtsp://192.168.0.253/ch0_0.h264 ! application/x-rtp,media=video 
! decodebin ! videoscale !  v4l2sink device=/dev/video0
Impostazione della pipeline a PAUSED ...
La pipeline è viva e non necessita il PREROLL ...
Impostazione della pipeline a PLAYING ...
New clock: GstSystemClock

** (gst-launch-0.10:1881): CRITICAL **: 
gst_v4l2sink_sync_overlay_fields: assertion `v4l2_ioctl (fd, 
VIDIOC_G_FMT, &format) >= 0' failed
ATTENZIONE: dall'elemento /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: 
Stanno per essere scartati molti buffer.
Informazioni di debug aggiuntive:
gstbasesink.c(2686): gst_base_sink_is_too_late (): 
/GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
There may be a timestamping problem, or this computer is too slow.
^C <-- HERE I INTERRUPT
Caught interrupt -- handling interrupt.
Interrotto: arresto della pipeline ...
Execution ended after 4513370552 ns.
Impostazione della pipeline a PAUSED ...
Impostazione della pipeline a READY ...
Impostazione della pipeline a NULL ...
Esecuzione di free sulla pipeline...
root at debianVM:~#
[END]
There is no problem of firewall, I'm sure.
Is it a bug of this new version ?

About this:
> >/  gstbasesink.c(2686): gst_base_sink_is_too_late ():
> />/  > /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
> />/  > There may be a timestamping problem, or this computer is too slow.
> /
> As it says, this might just mean things run too slow in your VM. Could
> also be an issue with latency reporting/handling if you have live
> elements in your pipeline. Try setting sync=false on v4l2sink.
Is likely to be the original live lagging sometimes.. I'll try to use 
sync=false when I'll fix the above problem.

Fabio



> On Sun, 2013-06-09 at 02:31 +0200, Fabio Cecamore wrote:
>
> >/  Trying to fix this, I updated to the latest 1.1.1 (GIT) but now I get
> />/  this error:
> />/  
> />/  (gst-plugin-scanner:30659): GStreamer-WARNING **: Failed to load plugin
> />/  '/usr/local/lib/gstreamer-1.0/libgstvideo4linux2.so':
> />/  libgstallocators-1.0.so.0: cannot open shared object file: No such file
> />/  or directory
> />/  
> />/  I installed: gst-ffmpeg  gst-plugins-bad  gst-plugins-base
> />/  gst-plugins-good  gst-plugins-ugly  gstreamer but still receiving that
> />/  error.
> />/  Where can I find that library ?
> /
> It's part of gst-plugins-base 1.1.1 an should have been installed
> into /usr/local/lib/ as well. Maybe your system isn't set up properly so
> that it doesn't find it there? Try setting the LD_LIBRARY_PATH
> environment variable to /usr/local/lib/ or adding that directory
> to /etc/ld.so.conf* (and run sudo ldconfig).
>
> >/  gstbasesink.c(2686): gst_base_sink_is_too_late ():
> />/  > /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
> />/  > There may be a timestamping problem, or this computer is too slow.
> /
> As it says, this might just mean things run too slow in your VM. Could
> also be an issue with latency reporting/handling if you have live
> elements in your pipeline. Try setting sync=false on v4l2sink.
>
> Cheers
>   -Tim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130609/ba842125/attachment.html>


More information about the gstreamer-devel mailing list