examples/pipeline-tester: Commit some updates I had.
Original commit message from CVS: 2005-08-03 Andy Wingo <wingo@pobox.com> * examples/pipeline-tester: Commit some updates I had. * configure.ac (PYGST_CFLAGS): pygst.py generation is handled by the makefile.
This commit is contained in:
parent
826f130ae6
commit
e6c416ca0d
@ -1,3 +1,10 @@
|
|||||||
|
2005-08-03 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
|
* examples/pipeline-tester: Commit some updates I had.
|
||||||
|
|
||||||
|
* configure.ac (PYGST_CFLAGS): pygst.py generation is handled by
|
||||||
|
the makefile.
|
||||||
|
|
||||||
2005-08-01 Edward Hervey <edward@fluendo.com>
|
2005-08-01 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* README-docs:
|
* README-docs:
|
||||||
|
@ -120,7 +120,6 @@ changequote([,])dnl
|
|||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
pygst.py
|
|
||||||
examples/Makefile
|
examples/Makefile
|
||||||
gst/Makefile
|
gst/Makefile
|
||||||
pkgconfig/Makefile
|
pkgconfig/Makefile
|
||||||
|
@ -57,12 +57,41 @@ data = (('Video capture via V4L',
|
|||||||
' tee. ! oggdemux name=demux \n'
|
' tee. ! oggdemux name=demux \n'
|
||||||
' demux. ! queue ! theoradec ! xvimagesink \n'
|
' demux. ! queue ! theoradec ! xvimagesink \n'
|
||||||
' demux. ! queue ! vorbisdec ! audioconvert ! alsasink \n'
|
' demux. ! queue ! vorbisdec ! audioconvert ! alsasink \n'
|
||||||
' tee. ! filesink location=cooldance.ogg'),
|
' tee. ! queue ! filesink location=cooldance.ogg'),
|
||||||
|
('Video test, YUV format',
|
||||||
|
'videotestsrc \n'
|
||||||
|
' ! video/x-raw-yuv,format=(fourcc)I420 \n'
|
||||||
|
' ! xvimagesink'),
|
||||||
|
('Video test, RGB format',
|
||||||
|
'videotestsrc \n'
|
||||||
|
' ! video/x-raw-rgb,red_mask=0xff00 \n'
|
||||||
|
' ! ximagesink'),
|
||||||
('Reencode Vorbis to mulaw, play via ALSA',
|
('Reencode Vorbis to mulaw, play via ALSA',
|
||||||
'filesrc location=cooldance.ogg \n'
|
'filesrc location=cooldance.ogg \n'
|
||||||
' ! oggdemux \n'
|
' ! oggdemux \n'
|
||||||
' ! vorbisdec ! audioconvert \n'
|
' ! vorbisdec ! audioconvert \n'
|
||||||
' ! mulawenc ! mulawdec ! alsasink'))
|
' ! mulawenc ! mulawdec ! alsasink'),
|
||||||
|
('Capture DV via firewire, transcode into Ogg',
|
||||||
|
'dv1394src \n'
|
||||||
|
' ! dvdec name=dec drop-factor=2 \n'
|
||||||
|
' ! video/x-raw-yuv,format=(fourcc)YUY2 \n'
|
||||||
|
' ! queue \n'
|
||||||
|
' ! videorate \n'
|
||||||
|
' ! videoscale \n'
|
||||||
|
' ! video/x-raw-yuv,width=360,height=288 \n'
|
||||||
|
' ! videoscale \n'
|
||||||
|
' ! video/x-raw-yuv,width=240,height=192,framerate=10.0,format=(fourcc)YUY2 \n'
|
||||||
|
' ! ffmpegcolorspace \n'
|
||||||
|
' ! theoraenc \n'
|
||||||
|
' ! oggmux name=mux \n'
|
||||||
|
' ! filesink location=dv.ogg \n'
|
||||||
|
' \n'
|
||||||
|
' dec. \n'
|
||||||
|
' ! audio/x-raw-int \n'
|
||||||
|
' ! queue \n'
|
||||||
|
' ! audioconvert \n'
|
||||||
|
' ! vorbisenc \n'
|
||||||
|
' ! mux.'))
|
||||||
|
|
||||||
|
|
||||||
def escape(s, chars, escaper='\\'):
|
def escape(s, chars, escaper='\\'):
|
||||||
@ -186,7 +215,7 @@ class Window(gtk.Window):
|
|||||||
self.set_sensitive(True)
|
self.set_sensitive(True)
|
||||||
except gobject.GError, e:
|
except gobject.GError, e:
|
||||||
self.set_sensitive(True)
|
self.set_sensitive(True)
|
||||||
self.error('Could not create pipeline', e.__str__)
|
self.error('Could not create pipeline', str(e))
|
||||||
return False
|
return False
|
||||||
watch_id = pipeline.get_bus().add_watch(self.on_message)
|
watch_id = pipeline.get_bus().add_watch(self.on_message)
|
||||||
if pipeline.set_state(gst.STATE_PLAYING) != gst.STATE_SUCCESS:
|
if pipeline.set_state(gst.STATE_PLAYING) != gst.STATE_SUCCESS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user