mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
fix mpeg and vob pipelines, others are still borked though
Original commit message from CVS: fix mpeg and vob pipelines, others are still borked though
This commit is contained in:
parent
4cd37e5de5
commit
7bc821f460
2 changed files with 13 additions and 9 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-12-16 Christian Fredrik Kalager Schaller <uraeus@gnome.org>
|
||||||
|
|
||||||
|
* tools/gst-launch-ext-m.m: fix mpeg and vob pipelines
|
||||||
|
|
||||||
2004-12-16 David Schleef <ds@schleef.org>
|
2004-12-16 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
* gst/audioscale/gstaudioscale.c: the resample library only
|
* gst/audioscale/gstaudioscale.c: the resample library only
|
||||||
|
|
|
@ -103,8 +103,8 @@ read_config ($0);
|
||||||
%pipes = (
|
%pipes = (
|
||||||
"ac3", "a52dec ! $cfg{AUDIOSINK}",
|
"ac3", "a52dec ! $cfg{AUDIOSINK}",
|
||||||
"au", "auparse ! $cfg{AUDIOSINK}",
|
"au", "auparse ! $cfg{AUDIOSINK}",
|
||||||
"avi", "avidemux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
|
"avi", "avidemux name=demux ! { demux.video_00 ! queue ! spider ! ffmpegcolorspace ! $cfg{VIDEOSINK} } { demux.audio_00 ! queue ! spider ! $cfg{AUDIOSINK} }",
|
||||||
"asf", "asfdemux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
|
"asf", "asfdemux name=demux ! { demux.video_00 ! queue ! spider ! ffmpegcolorspace ! $cfg{VIDEOSINK} } { demux.audio_00 ! queue ! spider ! $cfg{AUDIOSINK} }",
|
||||||
"flac", "flacdec ! $cfg{AUDIOSINK}",
|
"flac", "flacdec ! $cfg{AUDIOSINK}",
|
||||||
"fli", "flxdec ! colorspace ! $cfg{VIDEOSINK}",
|
"fli", "flxdec ! colorspace ! $cfg{VIDEOSINK}",
|
||||||
"m1v", "mpegdemux ! { queue ! mpeg2dec ! $cfg{VIDEOSINK} }",
|
"m1v", "mpegdemux ! { queue ! mpeg2dec ! $cfg{VIDEOSINK} }",
|
||||||
|
@ -113,12 +113,12 @@ read_config ($0);
|
||||||
"mod", "modplug ! $cfg{AUDIOSINK}",
|
"mod", "modplug ! $cfg{AUDIOSINK}",
|
||||||
"mp2", "mad ! $cfg{AUDIOSINK}",
|
"mp2", "mad ! $cfg{AUDIOSINK}",
|
||||||
"mp3", "mad ! $cfg{AUDIOSINK}",
|
"mp3", "mad ! $cfg{AUDIOSINK}",
|
||||||
"mpeg", "mpegdemux name=demux ! { queue ! mpeg2dec ! $cfg{VIDEOSINK} } { demux. ! queue ! mad ! $cfg{AUDIOSINK} }",
|
"mpeg", "mpegdemux name=d { d.audio_00 ! queue ! mad ! audioconvert ! audioscale ! $cfg{AUDIOSINK} } { d.video_00 ! queue ! mpeg2dec ! $cfg{VIDEOSINK} }",
|
||||||
"mpg", "mpegdemux name=demux ! { queue ! mpeg2dec ! $cfg{VIDEOSINK} } { demux. ! queue ! mad ! $cfg{AUDIOSINK} }",
|
"mpg", "mpegdemux name=demux { demux.video_00 ! queue ! mpeg2dec ! ffmpegcolorspace ! $cfg{VIDEOSINK} } { demux.audio_00 ! queue ! mad ! $cfg{AUDIOSINK} }",
|
||||||
"ogg", "oggdemux ! vorbisdec ! audioconvert ! $cfg{AUDIOSINK}",
|
"ogg", "oggdemux ! vorbisdec ! audioconvert ! $cfg{AUDIOSINK}",
|
||||||
"sid", "siddec ! $cfg{AUDIOSINK}",
|
"sid", "siddec ! $cfg{AUDIOSINK}",
|
||||||
"swf", "swfdec name=swfdec ! { queue ! colorspace ! $cfg{VIDEOSINK} } { swfdec. ! queue ! $cfg{AUDIOSINK} }",
|
"swf", "swfdec name=swfdec ! { queue ! colorspace ! $cfg{VIDEOSINK} } { swfdec. ! queue ! $cfg{AUDIOSINK} }",
|
||||||
"vob", "mpegdemux name=demux ! { queue ! mpeg2dec ! $cfg{VIDEOSINK} } { demux. ! queue ! a52dec ! $cfg{AUDIOSINK} }",
|
"vob", "mpegdemux name=d { d.video_00 ! queue ! mpeg2dec ! $cfg{VIDEOSINK} } { d.audio_00 ! queue ! a52dec ! audioconvert ! audioscale ! $cfg{AUDIOSINK} }",
|
||||||
"wav", "wavparse ! $cfg{AUDIOSINK}",
|
"wav", "wavparse ! $cfg{AUDIOSINK}",
|
||||||
"wm", "asfdemux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
|
"wm", "asfdemux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
|
||||||
### a wma file can use wmav1 or wmav2 codec so we must use spider to decode it
|
### a wma file can use wmav1 or wmav2 codec so we must use spider to decode it
|
||||||
|
@ -126,15 +126,15 @@ read_config ($0);
|
||||||
"wmv", "asfdemux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
|
"wmv", "asfdemux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
|
||||||
"mkv", "matroskademux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
|
"mkv", "matroskademux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
|
||||||
"mka", "matroskademux ! spider ! $cfg{AUDIOSINK}",
|
"mka", "matroskademux ! spider ! $cfg{AUDIOSINK}",
|
||||||
"mov", "qtdemux name=demux { .video_00 ! queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
|
"mov", "qtdemux name=demux { demux.video_00 ! queue ! spider ! ffmpegcolorspace ! $cfg{VIDEOSINK} } { demux.audio_00 ! queue ! spider ! $cfg{AUDIOSINK} }",
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($cfg{VISUALIZER}) {
|
if ($cfg{VISUALIZER}) {
|
||||||
%pipes = (
|
%pipes = (
|
||||||
%pipes,
|
%pipes,
|
||||||
"vis.mp3", "mad ! tee name=tee silent=true ! queue leaky=1 ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } tee. ! $cfg{AUDIOSINK}",
|
"vis.mp3", "mad ! tee name=tee silent=true ! queue leaky=1 ! { $cfg{VISUALIZER} ! ffmpegcolorspace ! $cfg{VIDEOSINK} } tee. ! $cfg{AUDIOSINK}",
|
||||||
"vis.ogg", "vorbisdec ! tee name=tee silent=true ! queue leaky=1 ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } tee. ! $cfg{AUDIOSINK}",
|
"vis.ogg", "vorbisdec ! tee name=tee silent=true ! queue leaky=1 ! { $cfg{VISUALIZER} ! ffmpegcolorspace ! $cfg{VIDEOSINK} } tee. ! $cfg{AUDIOSINK}",
|
||||||
"vis.wav", "wavparse ! tee name=tee silent=true ! queue leaky=1 ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } tee. ! $cfg{AUDIOSINK}",
|
"vis.wav", "wavparse ! tee name=tee silent=true ! queue leaky=1 ! { $cfg{VISUALIZER} ! ffmpegcolorspace ! $cfg{VIDEOSINK} } tee. ! $cfg{AUDIOSINK}",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue