mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
b1fe467289
Original commit message from CVS: * ext/dvdnav/dvdnavsrc.c: * ext/dvdnav/dvdnavsrc.h: Apply patch that adds some seeking support to dvdnav, and fixes it in various other ways. This doesn't make dvdnavsrc fully functional, but moves it forward. Fixes: #476149 Patch By: Simone Gotti <simone.gotti@email.it> * ext/dvdnav/gst-dvd: Update the simple dvdnavsrc gst-launch example to work for 0.10
9 lines
496 B
Bash
Executable file
9 lines
496 B
Bash
Executable file
#!/bin/sh
|
|
|
|
AUDIOSINK=`gconftool-2 -g /system/gstreamer/0.10/default/audiosink`
|
|
VIDEOSINK=`gconftool-2 -g /system/gstreamer/0.10/default/videosink`
|
|
gst-launch dvdnavsrc ! dvddemux name=demux multiqueue name=mq \
|
|
demux.current_video ! mq.sink0 mq.src0 ! mpeg2dec ! dvdspu name=sub ! \
|
|
navseek ! ffmpegcolorspace ! videoscale ! $VIDEOSINK \
|
|
demux.current_subpicture ! mq.sink1 mq.src1 ! sub.subpicture \
|
|
demux.current_audio ! mq.sink2 mq.src2 ! a52dec ! audioconvert ! audioresample ! $AUDIOSINK $@
|