forwarded screen stutters every several seconds
henryco
fhenryco at yahoo.fr
Mon Jan 18 04:21:49 PST 2016
OK, thank you, i eventually made it work with a huge udpsrc
buffer-size=50000000 just to be sure this not anymore a limitation ... and i
will come back on this later
As for the sound i eventually decided to send it uncompressed (LAN is not
bandwidth limited) to avoid charge the Pi too much. i get both sound and
image together almost perfect (one sound crack from time to time) ... dont
know if i can do better , with simple following pipeline for the sound
gst-launch-1.0 -v pulsesrc ! audioconvert ! rtpL16pay ! udpsink
host=192.168.1.19 port=5500
gst-launch-1.0 -v udpsrc buffer-size=50000000 port=5500 \
caps="application/x-rtp, media=(string)audio, clock-rate=(int)44100,
encoding-name=(string)L16, encoding-params=(string)2, channels=(int)2,
payload=(int)96" \
! rtpL16depay ! pulsesink
and for the video
gst-launch-1.0 -v ximagesrc use-damage=true ! queue ! videoflip method=5 !
videoconvert ! videoscale \
!
"video/x-raw,framerate=(fraction)30/1,format=(string)I420,force-aspect-ratio=(gboolean)true"
\
! queue ! x264enc tune=zerolatency bitrate=5000 speed-preset=ultrafast !
queue ! rtph264pay pt=96 \
! udpsink host=192.168.1.19 port=5000
gst-launch-1.0 -v udpsrc port=5000 caps="application/x-rtp,
media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264" ! rtpjitterbuffer ! rtph264depay ! queue !
h264parse ! queue ! omxh264dec !
queue ! eglglessink
the next step is to try to solve the delay : sound is very late though not
compressed , and to share usb mouse and keyboard with virtualhere to get the
homemade thinclient...i'm beginning to believe in it... any advices welcome
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/forwarded-screen-stutters-every-several-seconds-tp4675279p4675336.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list