mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
14 lines
335 B
Text
14 lines
335 B
Text
|
#!/bin/sh
|
||
|
|
||
|
if [ $# -ge 1 ]; then
|
||
|
DEVICE_OPT="device=$1"
|
||
|
else
|
||
|
DEVICE_OPT=""
|
||
|
fi
|
||
|
|
||
|
gst-launch rsndvdbin name=dvd "$DEVICE_OPT" \
|
||
|
dvdspu name=spu ! deinterlace ! xvimagesink force-aspect-ratio=false \
|
||
|
dvd. ! queue max-size-buffers=3 max-size-bytes=0 ! spu.video \
|
||
|
dvd. ! spu.subpicture \
|
||
|
dvd. ! audioconvert ! autoaudiosink
|