mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
7c42ba97d7
rename gst-launch --> gst-launch-1.0 replace old elements with new elements(ffmpegcolorspace -> videoconvert, ffenc_** -> avenc_**) fix caps in examples https://bugzilla.gnome.org/show_bug.cgi?id=759432
13 lines
339 B
Bash
Executable file
13 lines
339 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ $# -ge 1 ]; then
|
|
DEVICE_OPT="device=$1"
|
|
else
|
|
DEVICE_OPT=""
|
|
fi
|
|
|
|
gst-launch-1.0 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
|