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 /examples/pipeline-tester | |
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.
Diffstat (limited to 'examples/pipeline-tester')
-rwxr-xr-x | examples/pipeline-tester | 35 |
1 files changed, 32 insertions, 3 deletions
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: |