mirror of
https://github.com/servo/servo.git
synced 2025-06-29 11:33:39 +01:00
Update gstreamer plugin README: use the glvideoflip plugin
This commit is contained in:
parent
5c121bc8d4
commit
308aa1606b
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@ To stream over the network:
|
||||||
GST_PLUGIN_PATH=target/gstplugins \
|
GST_PLUGIN_PATH=target/gstplugins \
|
||||||
gst-launch-1.0 -e servowebsrc \
|
gst-launch-1.0 -e servowebsrc \
|
||||||
! video/x-raw\(memory:GLMemory\),framerate=50/1,width=512,height=256 \
|
! video/x-raw\(memory:GLMemory\),framerate=50/1,width=512,height=256 \
|
||||||
|
! glvideoflip video-direction=vert \
|
||||||
! glcolorconvert \
|
! glcolorconvert \
|
||||||
! gldownload \
|
! gldownload \
|
||||||
! videoflip video-direction=vert \
|
|
||||||
! theoraenc \
|
! theoraenc \
|
||||||
! oggmux \
|
! oggmux \
|
||||||
! tcpserversink host=127.0.0.1 port=8080
|
! tcpserversink host=127.0.0.1 port=8080
|
||||||
|
@ -51,9 +51,9 @@ To save to a file:
|
||||||
GST_PLUGIN_PATH=target/gstplugins \
|
GST_PLUGIN_PATH=target/gstplugins \
|
||||||
gst-launch-1.0 -e servowebsrc \
|
gst-launch-1.0 -e servowebsrc \
|
||||||
! video/x-raw\(memory:GLMemory\),framerate=50/1,width=512,height=256 \
|
! video/x-raw\(memory:GLMemory\),framerate=50/1,width=512,height=256 \
|
||||||
|
! glvideoflip video-direction=vert \
|
||||||
! glcolorconvert \
|
! glcolorconvert \
|
||||||
! gldownload \
|
! gldownload \
|
||||||
! videoflip video-direction=vert \
|
|
||||||
! theoraenc \
|
! theoraenc \
|
||||||
! oggmux \
|
! oggmux \
|
||||||
! filesink location=test.ogg
|
! filesink location=test.ogg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue