Add a really simple sample DVD player gst-launch command line
authorJan Schmidt <thaytan@mad.scientist.com>
Thu, 1 Apr 2004 12:54:44 +0000 (12:54 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Thu, 1 Apr 2004 12:54:44 +0000 (12:54 +0000)
Original commit message from CVS:
Add a really simple sample DVD player gst-launch command line

ChangeLog
ext/dvdnav/gst-dvd [new file with mode: 0755]

index 7621d47..d6a728a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2004-04-01  Jan Schmidt  <thaytan@mad.scientist.com>
 
+       * ext/dvdnav/gst-dvd:
+       Add a really simple sample DVD player
+
+2004-04-01  Jan Schmidt  <thaytan@mad.scientist.com>
+
        * ext/a52dec/gsta52dec.c: (gst_a52dec_get_type), (gst_a52dec_init),
        (gst_a52dec_push), (gst_a52dec_handle_event),
        (gst_a52dec_update_streaminfo), (gst_a52dec_loop),
diff --git a/ext/dvdnav/gst-dvd b/ext/dvdnav/gst-dvd
new file mode 100755 (executable)
index 0000000..8e2bb21
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+AUDIOSINK=`gconftool-2 -g /system/gstreamer/default/audiosink`
+gst-launch dvdnavsrc ! dvddemux name=demux .current_video ! mpeg2dec ! { queue max-size-buffers=10 ! mpeg2subt name=sub ! \
+navseek ! xvimagesink } demux.current_subpicture ! queue max-size-buffers=5 block-timeout=100000 ! sub.subtitle \
+demux.current_audio ! { queue ! a52dec ! audioscale ! $AUDIOSINK } $@