Video freeze UDP

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

Video freeze UDP

Tuğrul Eşin

Hello i am using udpsink/src on pi to android device. I have a problem , i am trying on Galaxy J7 Prime everythings ok but when i am trying Galaxy Note 3 video is freeze. Anyone help to me ?

 

Receiver(Android Device):

 

udpsrc port=5000 caps=\"application/x-rtp, media=video, clock-rate=90000, payload=96\" ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink

 

Sender(PI Zero W):

 

raspivid -v -w 854 -h 480 -fps 30 -hf -t 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink host=<MOBILE_DEVICE_IP> port=5000

 

Sent from Mail for Windows 10

 


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

Re: Video freeze UDP

killerrats
could try the v4l2src if its available for the android. when you use the v412src specify the device and the do-timestamps that way maybe it will correct the issue.
------------------------------
Gstreamer 1.14.3
------------------------------
Windows


Sent from the GStreamer-devel mailing list archive at Nabble.com.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
------------------------------
Gstreamer 1.14.3
------------------------------
Windows
Reply | Threaded
Open this post in threaded view
|

RE: Re: Video freeze UDP

Tuğrul Eşin
In reply to this post by Tuğrul Eşin

Can u give me example receiver and sender scripts ?

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: 20 Şubat 2020 Perşembe 00:00
To: [hidden email]
Subject: Re: Video freeze UDP

 

could try the v4l2src if its available for the android. when you use the v412src specify the device and the do-timestamps that way maybe it will correct the issue.

------------------------------
Gstreamer 1.14.3
------------------------------
Windows

 

Sent from the GStreamer-devel mailing list archive at 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: Re: Video freeze UDP

killerrats
can't be sure this will work.

sender:
gst-launch-1.0 -v v4l2src do-timestamp=true device="/dev/video0" !
video/x-h264,width=854,height=480,framerate=30/1 ! h264parse ! rtph264pay
config-interval=1 pt=96 ! udpsink host=<MOBILE_DEVICE_IP> port=5000

receiver:
udpsrc port=5000 caps=\"application/x-rtp, media=video, clock-rate=90000,
payload=96\" ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert !
autovideosink



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