gstreamer/ext/dvdnav/gst-dvd
Thomas Vander Stichele ad1972e29b get default videosink too
Original commit message from CVS:
get default videosink too
2004-07-29 09:58:16 +00:00

7 lines
452 B
Bash
Executable file

#!/bin/sh
AUDIOSINK=`gconftool-2 -g /system/gstreamer/0.8/default/audiosink`
VIDEOSINK=`gconftool-2 -g /system/gstreamer/0.8/default/videosink`
gst-launch dvdnavsrc ! dvddemux name=demux .current_video ! { queue max-size-buffers=10 ! mpeg2dec ! mpeg2subt name=sub ! \
navseek ! $VIDEOSINK } demux.current_subpicture ! queue max-size-buffers=5 block-timeout=100000 ! sub.subtitle \
demux.current_audio ! { queue ! a52dec ! audioscale ! $AUDIOSINK } $@