1#!/bin/sh 2 3if [ $# -ge 1 ]; then 4 DEVICE_OPT="device=$1" 5else 6 DEVICE_OPT="" 7fi 8 9gst-launch-1.0 rsndvdbin name=dvd "$DEVICE_OPT" \ 10 dvdspu name=spu ! videoconvert ! videoscale ! ximagesink force-aspect-ratio=true \ 11 dvd. ! queue max-size-buffers=3 max-size-bytes=0 ! spu.video \ 12 dvd. ! spu.subpicture \ 13 dvd. ! audioconvert ! autoaudiosink 14