forwarded screen stutters every several seconds
henryco
fhenryco at yahoo.fr
Mon Jan 25 07:49:25 PST 2016
Hi everybody ,
I eventually managed to get the optimal quality and latency for both sound
and video toward my pi2 with the following pipelines :
sender side:
gst-launch-1.0 -v ximagesrc use-damage=false ! queue ! videoflip method=5 !
videoconvert ! videoscale \
!
"video/x-raw,framerate=(fraction)30/1,format=(string)I420,force-aspect-ratio=(gboolean)true"
! queue \
! x264enc pass=pass1 tune=zerolatency speed-preset=veryfast
intra-refresh=true ! queue \
! rtph264pay pt=96 ! udpsink host=192.168.1.11 port=5000
gst-launch-1.0 -v pulsesrc ! audioconvert ! rtpL16pay ! udpsink
host=192.168.1.19 port=5500
receiver side:
gst-launch-1.0 -v udpsrc port=5000 caps="application/x-rtp,
media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264" ! rtph264depay ! queue ! h264parse ! queue !
omxh264dec !
queue ! eglglessink
gst-launch-1.0 -v udpsrc buffer-size=10000 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 ! waveparse ! audioconvert ! alsasink
The problem i have now is that i dont manage to send only one window with
ximagesrc xid= ...
it did work but only once just sending the window to autovideosink for
example:
gst-launch-1.0 -v ximagesrc xid=0x5e00001 ! videoconvert ! autovideosink
but then for other trials it always failed with message:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 131 (MIT-SHM)
Minor opcode of failed request: 4 (X_ShmGetImage)
Serial number of failed request: 53
Current serial number in output stream: 53
Could someone help ?
thank you
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/forwarded-screen-stutters-every-several-seconds-tp4675279p4675467.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list