diff options
author | Andy Wingo <wingo@pobox.com> | 2005-08-03 12:32:13 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2005-08-03 12:32:13 +0000 |
commit | e6c416ca0dcbbb22ee96e8175e1e394a8649fca2 (patch) | |
tree | 3208087689c2e834aca088f2f45f6373d663ff66 | |
parent | 826f130ae605c07de499bf7d606ac3e7912c8539 (diff) |
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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rwxr-xr-x | examples/pipeline-tester | 35 |
3 files changed, 39 insertions, 4 deletions
@@ -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> * README-docs: diff --git a/configure.ac b/configure.ac index 022c9e3..1d5f894 100644 --- a/configure.ac +++ b/configure.ac @@ -120,7 +120,6 @@ changequote([,])dnl AC_OUTPUT([ Makefile - pygst.py examples/Makefile gst/Makefile pkgconfig/Makefile diff --git a/examples/pipeline-tester b/examples/pipeline-tester index 7da420a..1ee3210 100755 --- a/examples/pipeline-tester +++ b/examples/pipeline-tester @@ -57,12 +57,41 @@ data = (('Video capture via V4L', ' tee. ! oggdemux name=demux \n' ' demux. ! queue ! theoradec ! xvimagesink \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', 'filesrc location=cooldance.ogg \n' ' ! oggdemux \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='\\'): @@ -186,7 +215,7 @@ class Window(gtk.Window): self.set_sensitive(True) except gobject.GError, e: self.set_sensitive(True) - self.error('Could not create pipeline', e.__str__) + self.error('Could not create pipeline', str(e)) return False watch_id = pipeline.get_bus().add_watch(self.on_message) if pipeline.set_state(gst.STATE_PLAYING) != gst.STATE_SUCCESS: |