mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 21:01:14 +00:00
13 lines
347 B
Bash
Executable file
13 lines
347 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ $# -ge 1 ]; then
|
|
DEVICE_OPT="device=$1"
|
|
else
|
|
DEVICE_OPT=""
|
|
fi
|
|
|
|
gst-launch rsndvdbin name=dvd "$DEVICE_OPT" \
|
|
dvdspu name=spu ! videoconvert ! videoscale ! ximagesink force-aspect-ratio=true \
|
|
dvd. ! queue max-size-buffers=3 max-size-bytes=0 ! spu.video \
|
|
dvd. ! spu.subpicture \
|
|
dvd. ! audioconvert ! autoaudiosink
|