mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
ad1972e29b
Original commit message from CVS: get default videosink too
7 lines
452 B
Bash
Executable file
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 } $@
|