diff options
author | Brian Cameron <brian.cameron@sun.com> | 2008-09-04 17:57:50 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2008-09-04 17:57:50 +0000 |
commit | 94a232fdbf26ea2b6d45c9cdff060e29896f157b (patch) | |
tree | 262b27ae9eb4a6172f58839766d89375d82b6842 | |
parent | 3b20dd082df5a250990b8af7e558b07875a0bbb4 (diff) |
examples/pipeline-tester: Don't hardcode audio/video source and sinks, and instead use more generic sources.
Original commit message from CVS:
* examples/pipeline-tester:
Don't hardcode audio/video source and sinks, and instead use more
generic sources.
Based on a patch by Brian Cameron <brian.cameron@sun.com>
Fixes #517993
-rw-r--r-- | ChangeLog | 8 | ||||
-rwxr-xr-x | examples/pipeline-tester | 30 |
2 files changed, 23 insertions, 15 deletions
@@ -1,3 +1,11 @@ +2008-09-04 Edward Hervey <edward.hervey@collabora.co.uk> + + * examples/pipeline-tester: + Don't hardcode audio/video source and sinks, and instead use more + generic sources. + Based on a patch by Brian Cameron <brian.cameron@sun.com> + Fixes #517993 + 2008-08-26 Edward Hervey <edward.hervey@collabora.co.uk> * gst/gstcaps.override: diff --git a/examples/pipeline-tester b/examples/pipeline-tester index 069d891..0621097 100755 --- a/examples/pipeline-tester +++ b/examples/pipeline-tester @@ -41,44 +41,44 @@ import debugslider data = (('Video capture via V4L', 'v4lsrc name=source \n' ' ! videorate \n' - ' ! xvimagesink'), + ' ! ffmpegcolorspace ! autovideosink'), ('Video capture via V4L, fixed frame rate', 'v4lsrc name=source autoprobe=false autoprobe-fps=false \n' ' ! video/x-raw-yuv,format=(fourcc)I420,framerate=(double)7.5 \n' ' ! videorate \n' ' ! ffmpegcolorspace \n' - ' ! xvimagesink'), - ('Sound capture via ALSA', - 'alsasrc\n' - ' ! audio/x-raw-int,rate=22050,depth=16,channels=1,width=16,signed=(boolean)TRUE,endianness=1234\n' + ' ! autovideosink'), + ('Sound capture', + 'gconfaudiosrc\n' + ' ! audio/x-raw-int,rate=22050,depth=16,channels=1,width=16,signed=(boolean)TRUE,endianness=(int)BYTE_ORDER\n' ' ! level message=true\n' ' ! fakesink'), ('Streaming Ogg/Theora+Vorbis playback, tee to disk', 'gnomevfssrc location=http://gstreamer.freedesktop.org/media/small/cooldance.ogg \n' ' ! tee name=tee \n' ' tee. ! oggdemux name=demux \n' - ' demux. ! queue ! theoradec ! xvimagesink \n' - ' demux. ! queue ! vorbisdec ! audioconvert ! alsasink \n' - ' tee. ! queue ! filesink location=cooldance.ogg'), + ' demux. ! queue ! theoradec ! ffmpegcolorspace ! autovideosink \n' + ' demux. ! queue ! vorbisdec ! audioconvert ! autoaudiosink \n' + ' tee. ! queue ! filesink location=/tmp/cooldance.ogg'), ('Video test, YUV format', 'videotestsrc \n' ' ! video/x-raw-yuv,format=(fourcc)I420 \n' - ' ! xvimagesink'), + ' ! ffmpegcolorspace ! autovideosink'), ('Video test, RGB format', 'videotestsrc \n' ' ! video/x-raw-rgb,red_mask=0xff00 \n' ' ! ffmpegcolorspace \n' - ' ! ximagesink'), + ' ! autovideosink'), ('Software scaling', 'videotestsrc \n' ' ! video/x-raw-rgb,height=200,width=320 \n' ' ! videoscale method=2 \n' - ' ! ximagesink'), - ('Reencode Vorbis to mulaw, play via ALSA', - 'filesrc location=cooldance.ogg \n' + ' ! ffmpegcolorspace ! autovideosink'), + ('Reencode Vorbis to mulaw, play', + 'filesrc location=/tmp/cooldance.ogg \n' ' ! oggdemux \n' ' ! vorbisdec ! audioconvert \n' - ' ! mulawenc ! mulawdec ! alsasink'), + ' ! mulawenc ! mulawdec ! autoaudiosink'), ('Capture DV via firewire, transcode into Ogg', 'dv1394src \n' ' ! dvdemux name=demux \n' @@ -93,7 +93,7 @@ data = (('Video capture via V4L', ' ! ffmpegcolorspace \n' ' ! theoraenc \n' ' ! oggmux name=mux \n' - ' ! filesink location=dv.ogg \n' + ' ! filesink location=/tmp/dv.ogg \n' ' \n' ' demux. \n' ' ! audio/x-raw-int \n' |