Enviar:
gst-launch v4l2src ! video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)2/1 ! ffmpegcolorspace ! smokeenc keyframe=8 qmax=40 ! udpsink host=192.168.1.1 port=5000
Recibir:
gst-launch udpsrc port=5000 ! smokedec ! autovideosink
Mostrando entradas con la etiqueta gstreamer. Mostrar todas las entradas
Mostrando entradas con la etiqueta gstreamer. Mostrar todas las entradas
sábado, 18 de septiembre de 2010
Audio y Video por la red con gstreamer
Enviar:
gst-launch v4l2src ! queue ! video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)4/1 ! videorate ! videoscale ! ffmpegcolorspace ! queue ! smokeenc ! queue ! udpsink host=192.168.1.1 port=5000 alsasrc ! queue ! audio/x-raw-int,rate=8000,channels=1,depth=8 ! audioconvert ! speexenc ! queue ! tcpserversink host=192.168.1.1 port=5001
Recibir:
gst-launch-0.10 udpsrc port=5000 ! queue ! smokedec ! queue ! autovideosink tcpclientsrc host=192.168.1.5 port=5001 ! queue ! speexdec ! queue ! alsasink sync=false
gst-launch v4l2src ! queue ! video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)4/1 ! videorate ! videoscale ! ffmpegcolorspace ! queue ! smokeenc ! queue ! udpsink host=192.168.1.1 port=5000 alsasrc ! queue ! audio/x-raw-int,rate=8000,channels=1,depth=8 ! audioconvert ! speexenc ! queue ! tcpserversink host=192.168.1.1 port=5001
Recibir:
gst-launch-0.10 udpsrc port=5000 ! queue ! smokedec ! queue ! autovideosink tcpclientsrc host=192.168.1.5 port=5001 ! queue ! speexdec ! queue ! alsasink sync=false
Video por la red con gstreamer
Enviar:
gst-launch v4l2src ! video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)2/1 ! ffmpegcolorspace ! smokeenc keyframe=8 qmax=40 ! udpsink host=192.168.1.1 port=5000
Recibir:
gst-launch udpsrc port=5000 ! smokedec ! autovideosink
gst-launch v4l2src ! video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)2/1 ! ffmpegcolorspace ! smokeenc keyframe=8 qmax=40 ! udpsink host=192.168.1.1 port=5000
Recibir:
gst-launch udpsrc port=5000 ! smokedec ! autovideosink
Acceder a la web cam con gstreamer
gst-launch-0.10 v4l2src ! ximagesink
gst-launch-0.10 v4l2src ! video/x-raw-yuv,framerate=15/1,width=320,height=240 ! ffmpegcolorspace ! ximagesink
gst-launch-0.10 v4l2src device=/dev/video0 ! decodebin ! ffmpegcolorspace ! autovideosink
gst-launch-0.10 v4l2src ! video/x-raw-yuv,framerate=15/1,width=320,height=240 ! ffmpegcolorspace ! ximagesink
gst-launch-0.10 v4l2src device=/dev/video0 ! decodebin ! ffmpegcolorspace ! autovideosink
Fotografiar con gstreamer
gst-launch-0.10 v4l2src ! ffmpegcolorspace ! pngenc ! filesink location=mifoto.png
gst-launch-0.10 v4l2src ! jpegenc ! filesink location=foo.jpg
gst-launch-0.10 v4l2src ! ffmpegcolorspace ! jpegenc ! filesink location=foo.jpg
gst-launch-0.10 v4l2src ! jpegenc ! filesink location=foo.jpg
gst-launch-0.10 v4l2src ! ffmpegcolorspace ! jpegenc ! filesink location=foo.jpg
Video play con gstreamer
Nota:
Reproduce video de cualquier archivo soportado por gstreamer según los plugins instalados en tu sistema.
gst-launch-0.10 filesrc location=2xo2.ogg ! decodebin ! autovideosink
Reproduce video de cualquier archivo soportado por gstreamer según los plugins instalados en tu sistema.
gst-launch-0.10 filesrc location=2xo2.ogg ! decodebin ! autovideosink
Audio play con gstreamer
Nota:
Reproduce audio de cualquier archivo soportado por gstreamer según los plugins instalados en tu sistema:
Reproduce audio de cualquier archivo soportado por gstreamer según los plugins instalados en tu sistema:
gst-launch-0.10 filesrc location=01-MIPC.ogg ! decodebin ! audioconvert ! alsasink
Suscribirse a:
Comentarios (Atom)