mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
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
This commit is contained in:
parent
3b20dd082d
commit
94a232fdbf
2 changed files with 23 additions and 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>
|
2008-08-26 Edward Hervey <edward.hervey@collabora.co.uk>
|
||||||
|
|
||||||
* gst/gstcaps.override:
|
* gst/gstcaps.override:
|
||||||
|
|
|
@ -41,44 +41,44 @@ import debugslider
|
||||||
data = (('Video capture via V4L',
|
data = (('Video capture via V4L',
|
||||||
'v4lsrc name=source \n'
|
'v4lsrc name=source \n'
|
||||||
' ! videorate \n'
|
' ! videorate \n'
|
||||||
' ! xvimagesink'),
|
' ! ffmpegcolorspace ! autovideosink'),
|
||||||
('Video capture via V4L, fixed frame rate',
|
('Video capture via V4L, fixed frame rate',
|
||||||
'v4lsrc name=source autoprobe=false autoprobe-fps=false \n'
|
'v4lsrc name=source autoprobe=false autoprobe-fps=false \n'
|
||||||
' ! video/x-raw-yuv,format=(fourcc)I420,framerate=(double)7.5 \n'
|
' ! video/x-raw-yuv,format=(fourcc)I420,framerate=(double)7.5 \n'
|
||||||
' ! videorate \n'
|
' ! videorate \n'
|
||||||
' ! ffmpegcolorspace \n'
|
' ! ffmpegcolorspace \n'
|
||||||
' ! xvimagesink'),
|
' ! autovideosink'),
|
||||||
('Sound capture via ALSA',
|
('Sound capture',
|
||||||
'alsasrc\n'
|
'gconfaudiosrc\n'
|
||||||
' ! audio/x-raw-int,rate=22050,depth=16,channels=1,width=16,signed=(boolean)TRUE,endianness=1234\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'
|
' ! level message=true\n'
|
||||||
' ! fakesink'),
|
' ! fakesink'),
|
||||||
('Streaming Ogg/Theora+Vorbis playback, tee to disk',
|
('Streaming Ogg/Theora+Vorbis playback, tee to disk',
|
||||||
'gnomevfssrc location=http://gstreamer.freedesktop.org/media/small/cooldance.ogg \n'
|
'gnomevfssrc location=http://gstreamer.freedesktop.org/media/small/cooldance.ogg \n'
|
||||||
' ! tee name=tee \n'
|
' ! tee name=tee \n'
|
||||||
' tee. ! oggdemux name=demux \n'
|
' tee. ! oggdemux name=demux \n'
|
||||||
' demux. ! queue ! theoradec ! xvimagesink \n'
|
' demux. ! queue ! theoradec ! ffmpegcolorspace ! autovideosink \n'
|
||||||
' demux. ! queue ! vorbisdec ! audioconvert ! alsasink \n'
|
' demux. ! queue ! vorbisdec ! audioconvert ! autoaudiosink \n'
|
||||||
' tee. ! queue ! filesink location=cooldance.ogg'),
|
' tee. ! queue ! filesink location=/tmp/cooldance.ogg'),
|
||||||
('Video test, YUV format',
|
('Video test, YUV format',
|
||||||
'videotestsrc \n'
|
'videotestsrc \n'
|
||||||
' ! video/x-raw-yuv,format=(fourcc)I420 \n'
|
' ! video/x-raw-yuv,format=(fourcc)I420 \n'
|
||||||
' ! xvimagesink'),
|
' ! ffmpegcolorspace ! autovideosink'),
|
||||||
('Video test, RGB format',
|
('Video test, RGB format',
|
||||||
'videotestsrc \n'
|
'videotestsrc \n'
|
||||||
' ! video/x-raw-rgb,red_mask=0xff00 \n'
|
' ! video/x-raw-rgb,red_mask=0xff00 \n'
|
||||||
' ! ffmpegcolorspace \n'
|
' ! ffmpegcolorspace \n'
|
||||||
' ! ximagesink'),
|
' ! autovideosink'),
|
||||||
('Software scaling',
|
('Software scaling',
|
||||||
'videotestsrc \n'
|
'videotestsrc \n'
|
||||||
' ! video/x-raw-rgb,height=200,width=320 \n'
|
' ! video/x-raw-rgb,height=200,width=320 \n'
|
||||||
' ! videoscale method=2 \n'
|
' ! videoscale method=2 \n'
|
||||||
' ! ximagesink'),
|
' ! ffmpegcolorspace ! autovideosink'),
|
||||||
('Reencode Vorbis to mulaw, play via ALSA',
|
('Reencode Vorbis to mulaw, play',
|
||||||
'filesrc location=cooldance.ogg \n'
|
'filesrc location=/tmp/cooldance.ogg \n'
|
||||||
' ! oggdemux \n'
|
' ! oggdemux \n'
|
||||||
' ! vorbisdec ! audioconvert \n'
|
' ! vorbisdec ! audioconvert \n'
|
||||||
' ! mulawenc ! mulawdec ! alsasink'),
|
' ! mulawenc ! mulawdec ! autoaudiosink'),
|
||||||
('Capture DV via firewire, transcode into Ogg',
|
('Capture DV via firewire, transcode into Ogg',
|
||||||
'dv1394src \n'
|
'dv1394src \n'
|
||||||
' ! dvdemux name=demux \n'
|
' ! dvdemux name=demux \n'
|
||||||
|
@ -93,7 +93,7 @@ data = (('Video capture via V4L',
|
||||||
' ! ffmpegcolorspace \n'
|
' ! ffmpegcolorspace \n'
|
||||||
' ! theoraenc \n'
|
' ! theoraenc \n'
|
||||||
' ! oggmux name=mux \n'
|
' ! oggmux name=mux \n'
|
||||||
' ! filesink location=dv.ogg \n'
|
' ! filesink location=/tmp/dv.ogg \n'
|
||||||
' \n'
|
' \n'
|
||||||
' demux. \n'
|
' demux. \n'
|
||||||
' ! audio/x-raw-int \n'
|
' ! audio/x-raw-int \n'
|
||||||
|
|
Loading…
Reference in a new issue