<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Tim,<br>
    thanks for your time.<br>
    <br>
    Adding the path to /etc/ld.so.conf finally it worked!<br>
    But now its behaviour is strange (this is with the latest 1.1.1):<br>
    [BEGIN]<br>
    root@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<br>
    Setting pipeline to PAUSED ...<br>
    Pipeline is live and does not need PREROLL ...<br>
    Progress: (open) Opening Stream<br>
    Progress: (connect) Connecting to rtsp://192.168.0.253/ch0_0.h264<br>
    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<br>
    0:00:00.035388494 16369      0x1892680 ERROR                rtspsrc
    gstrtspsrc.c:3558:gst_rtsp_conninfo_connect:<rtspsrc0> Could
    not connect to server. (Generic error)<br>
    ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
    Could not open resource for reading and writing.<br>
    Additional debug info:<br>
    gstrtspsrc.c(5986): gst_rtspsrc_retrieve_sdp ():
    /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:<br>
    Failed to connect. (Generic error)<br>
    ERROR: pipeline doesn't want to preroll.<br>
    Setting pipeline to PAUSED ...<br>
    Setting pipeline to READY ...<br>
    Setting pipeline to NULL ...<br>
    Freeing pipeline ...<br>
    root@testingVM:~/code/gst-plugins-good#<br>
    [END]<br>
    <br>
    But if I launch the SAME command in the SAME time in an other VM
    (with 0.10 version) it works:<br>
    [BEGIN]<br>
    root@debianVM:~# gst-launch rtspsrc
    location=rtsp://192.168.0.253/ch0_0.h264 !
    application/x-rtp,media=video ! decodebin ! videoscale !  v4l2sink
    device=/dev/video0<br>
    Impostazione della pipeline a PAUSED ...<br>
    La pipeline è viva e non necessita il PREROLL ...<br>
    Impostazione della pipeline a PLAYING ...<br>
    New clock: GstSystemClock<br>
    <br>
    ** (gst-launch-0.10:1881): CRITICAL **:
    gst_v4l2sink_sync_overlay_fields: assertion `v4l2_ioctl (fd,
    VIDIOC_G_FMT, &format) >= 0' failed<br>
    ATTENZIONE: dall'elemento
    /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Stanno per essere
    scartati molti buffer.<br>
    Informazioni di debug aggiuntive:<br>
    gstbasesink.c(2686): gst_base_sink_is_too_late ():
    /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:<br>
    There may be a timestamping problem, or this computer is too slow.<br>
    ^C <-- HERE I INTERRUPT<br>
    Caught interrupt -- handling interrupt.<br>
    Interrotto: arresto della pipeline ...<br>
    Execution ended after 4513370552 ns.<br>
    Impostazione della pipeline a PAUSED ...<br>
    Impostazione della pipeline a READY ...<br>
    Impostazione della pipeline a NULL ...<br>
    Esecuzione di free sulla pipeline...<br>
    root@debianVM:~#<br>
    [END]<br>
    There is no problem of firewall, I'm sure.<br>
    Is it a bug of this new version ?<br>
    <br>
    About this:<br>
    <blockquote type="cite">
      <pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">><i> gstbasesink.c(2686): gst_base_sink_is_too_late (): 
</i>><i> > /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
</i>><i> > There may be a timestamping problem, or this computer is too slow.
</i>
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.</pre>
    </blockquote>
    Is likely to be the original live lagging sometimes.. I'll try to
    use sync=false when I'll fix the above problem.<br>
    <br>
    Fabio<br>
    <br>
    <br>
    <br>
    <blockquote type="cite">
      <pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On Sun, 2013-06-09 at 02:31 +0200, Fabio Cecamore wrote:

><i> Trying to fix this, I updated to the latest 1.1.1 (GIT) but now I get 
</i>><i> this error:
</i>><i> 
</i>><i> (gst-plugin-scanner:30659): GStreamer-WARNING **: Failed to load plugin 
</i>><i> '/usr/local/lib/gstreamer-1.0/libgstvideo4linux2.so': 
</i>><i> libgstallocators-1.0.so.0: cannot open shared object file: No such file 
</i>><i> or directory
</i>><i> 
</i>><i> I installed: gst-ffmpeg  gst-plugins-bad  gst-plugins-base 
</i>><i> gst-plugins-good  gst-plugins-ugly  gstreamer but still receiving that 
</i>><i> error.
</i>><i> Where can I find that library ?
</i>
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).

><i> gstbasesink.c(2686): gst_base_sink_is_too_late (): 
</i>><i> > /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
</i>><i> > There may be a timestamping problem, or this computer is too slow.
</i>
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</pre>
    </blockquote>
    <br>
  </body>
</html>