Okay, well this is more or less my first attempt at writing a shell script.
Anyways, here's my code:
cd ${PATH}
if
then
rm ${FILE}
./anotherScript
else
exit 1
fi
exit 1
Anyways, it's a pretty simple script that is supposed to search for the... (4 Replies)
This is the code:
while test 1 -eq 1
do
read a
$a
if test $a = stop
then
break
fi
done
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
Hello all,
I'm trying to automate an if statement in my Perl script. The script opens an input file for reading, checks each line in the file for a particular substring, and if it finds the substring, writes it to an output file.
There are approximately 200 different input files. Each has... (3 Replies)
How do I test multiple words in a string test like below:
if ]
then
print "You entered $TBS name.\n"
else
print "You entered an incorrect response.\n"
fi
This test does not work. I have tried different syntax versions. How does this work? And is there a better way to do it?
... (10 Replies)
Is it possible to test against a varible within a ranges in a if statement.
ex.
if ];then
echo "not in range"
else
echo "number within range"
fi (8 Replies)
Discussion started by: leemalloy
8 Replies
LEARN ABOUT REDHAT
gst-launch-ext
GStreamer(1)GStreamer(1)NAME
gst-launch-ext - Run a predefined GStreamer pipeline
SYNOPSIS
gst-launch-ext filename [filename...]
DESCRIPTION
gst-launch-ext is a tool that is used to run a basic predefined GStreamer pipeline. This application is only used as a quick test to
ensure proper working of codecs and GStreamer. It doesn't handle more advanced features like synchronisation.
All supported formats in GStreamer should be playable by simply typing:
gst-launch-ext filename
It will also print out the pipeline it uses, so you can customize it using cut and paste.
CONFIGURATION
gst-launch-ext can be configured by creating a .gst file in your home directory. This is a perl-style configuration file and can override
the defaults for audio and video output sinks.
Here is an example .gst file that implements the same defaults as hard-coded in the script :
$cfg{AUDIOSINK} = "osssink"; $cfg{VIDEOSINK} = "colorspace ! xvideosink";
You can change osssink to any of esdsink, alsasink, jacksink (if you have the plug-in), and you can change xvideosink to aasink or
sdlvideosink.
Other plug-ins might be used as well if GStreamer has them.
SEE ALSO gst-guilaunch(1), gst-complete(1), gst-register(1), gst-inspect(1), gst-launch(1),
AUTHOR
The GStreamer team at http://gstreamer.net/
February 2002 GStreamer(1)