GstUDPSink:udpsink3: Could not get/set settings from/on resource

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

GstUDPSink:udpsink3: Could not get/set settings from/on resource

psyzinho
This post was updated on .
Hello,

I am new to GStreamer, i'm trying to use gstreamer in an Android app to show
a camera ip stream.
But the stream freeze on the first frame (link tested :
rtsp://freja.hiof.no:1935/rtplive/_definst_/hessdalen03.stream ).

It's working with this link :
rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov

So i try to test with gstreamer on mac os.
What i've done :
brew install gstreamer
brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad
gst-plugins-ugly

then i use this cmd :

gst-launch-1.0 --gst-debug-level=4 playbin uri=rtsp://freja.hiof.no:1935/rtplive/_definst_/hessdalen03.stream


The output ERROR :


Here is the link to the logs :
https://paste.ofcode.org/QGEF32SDRnpE7T5bLnMVCG
<https://paste.ofcode.org/QGEF32SDRnpE7T5bLnMVCG

Any idea ?
Thanks in advance




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GstUDPSink:udpsink3: Could not get/set settings from/on resource

Nicolas Dufresne-5
Le mercredi 20 novembre 2019 à 10:28 -0600, psyzinho a écrit :
> Hello,
>
> I am new to GStreamer, i'm trying to use gstreamer in an Android app to show
> a camera ip stream.
> But the stream freeze on the first frame (link tested :
> rtsp://freja.hiof.no:1935/rtplive/_definst_/hessdalen03.stream ).

Works for me, what version of GStreamer ? The audio seems to have some
troubles though and there is a lot of noise in the image.

gst-play-1.0 "rtsp://158.39.165.8:1935/rtplive/_definst_/hessdalen03.stream" --flags=video


p.s. I've used the IP, since here it resolves in IPv6 and apprently
this s currently broken, I'll report.

>
> It's working with this link :
> rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
>
> So i try to test with gstreamer on mac os.
> What i've done :
> brew install gstreamer
> brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad
> gst-plugins-ugly
>
> then i use this cmd :
>
>
>
>
> The output ERROR :
>
>
> Here is the link to the logs :
> https://paste.ofcode.org/QGEF32SDRnpE7T5bLnMVCG
> <https://paste.ofcode.org/QGEF32SDRnpE7T5bLnMVCG>  
>
> Any idea ?
> Thanks in advance
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GstUDPSink:udpsink3: Could not get/set settings from/on resource

psyzinho
Hello Nicolas,

using : gst-launch-1.0 --gst-version
i get GStreamer Core Library version 1.16.1

using your command it's working on Mac os

Using ip on my android tablet it's working with 1 frame by second, then 1 by
2second, 1 by 3s, 1 by 4s, etc.

i have no idea why.

Here's some logs :



Full log : https://paste.ofcode.org/32y5CyDmPNehWe52BRg3TVT





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GstUDPSink:udpsink3: Could not get/set settings from/on resource

psyzinho
In reply to this post by psyzinho
By using :

g_object_set(user_data->video_sink, "sync", FALSE, NULL);

i have a fluid stream, but the timestamp shows that 10 seconds on the stream
are equivalent to 15 seconds in reality



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel