mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update gstreamer plugin README: use the -e flag
This commit is contained in:
parent
ad4eb52a85
commit
5c121bc8d4
1 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ cp target/release/libgstservoplugin.* target/gstplugins
|
|||
To run locally:
|
||||
```
|
||||
GST_PLUGIN_PATH=target/gstplugins \
|
||||
gst-launch-1.0 servowebsrc \
|
||||
gst-launch-1.0 -e servowebsrc \
|
||||
! video/x-raw\(memory:GLMemory\),framerate=50/1,width=1920,height=1080,format=RGBA \
|
||||
! glimagesink rotate-method=vertical-flip
|
||||
```
|
||||
|
@ -36,7 +36,7 @@ GST_PLUGIN_PATH=target/gstplugins \
|
|||
To stream over the network:
|
||||
```
|
||||
GST_PLUGIN_PATH=target/gstplugins \
|
||||
gst-launch-1.0 servowebsrc \
|
||||
gst-launch-1.0 -e servowebsrc \
|
||||
! video/x-raw\(memory:GLMemory\),framerate=50/1,width=512,height=256 \
|
||||
! glcolorconvert \
|
||||
! gldownload \
|
||||
|
@ -49,7 +49,7 @@ GST_PLUGIN_PATH=target/gstplugins \
|
|||
To save to a file:
|
||||
```
|
||||
GST_PLUGIN_PATH=target/gstplugins \
|
||||
gst-launch-1.0 servowebsrc \
|
||||
gst-launch-1.0 -e servowebsrc \
|
||||
! video/x-raw\(memory:GLMemory\),framerate=50/1,width=512,height=256 \
|
||||
! glcolorconvert \
|
||||
! gldownload \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue