gstreamer/subprojects/gst-plugins-bad/ext/resindvd/resin-play

14 lines
351 B
Text
Raw Normal View History

#!/bin/sh
if [ $# -ge 1 ]; then
DEVICE_OPT="device=$1"
else
DEVICE_OPT=""
fi
gst-launch-1.0 rsndvdbin name=dvd "$DEVICE_OPT" \
2012-09-14 14:45:34 +00:00
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