you cannot see process list because of `...>pipe` command cause this process to wait.Therefore you can see only videostream.sh and not gst-launch.
if you try to read from the pipe with another process then you can see gst-launch process.
regards
ygemici
In bash, I need to send the STDOUT and STDERR from a command to one file, and then just STDERR to another file. Doing one or the other using redirects is easy, but trying to do both at once is a bit tricky. Anyone have any ideas? (9 Replies)
Is there a way to redirect all stdout to a file implicitly - like defining stdout=/home/me/process.log - so that all "echo" commands in several scripts/subscripts are written to that file; instead of having to edit all scripts to redirect the "echo" (e.g. echo 'This is a test ' >>... (1 Reply)
Hi,
I am trying to execute a command like this:
find ./ -name "*.gz" -exec sh -c 'zcat {} | awk -f parse.awk' \; >> output
If I want to print the filename, i generally use the -print argument to the find command but when I am redirecting the output to a file, how can I print just the... (2 Replies)
I have an executable that, depending on its input, outputs to either one file or several. It usually prints nothing on screen. The usual way to call this program is to specify an input and output filenames, like this:
./executable.exe -i inputfile -o outputfileIt will then try to use the output... (1 Reply)
can anyone help me in making singleline command for
Capital Letters are folders ,small letter are files
X,Y,Z are subfolders of A
as shown below
A - X,Y,Z
Folder X has three files a.txt,b.txt,c.txt similarly Y,Z.
as shown below
X- a.txt,b.txt,c.txt
Y- a.txt,b.txt,c.txt
Z-... (4 Replies)
Hi everybody,
I am trying to do the thing you see in the title, and I can't simply do
a=$(svn up)
echo $a
because the program (svn) gives output on lots of lines and in the variable the output is stored on only one line (resulting in a horribly formatted text). Any tips?
Thanks,... (2 Replies)
I have a simple bash script that prints sth every 5 seconds. What I do is the following. I redirect the output of the script to a file, tail the file and see that it works and then from another console I delete the file where the output is redirected to. Even though I have deleted the file, the... (2 Replies)
I have a C program that continously outputs info to stdout. The problem is that I am redirecting the stdout and stderr to a file and stdout is written at the end of the problem rather than continously to the file. This could be a problem if for example the program is killed and the stdout output is... (3 Replies)
Hello,
I'm strugling with some redirecting and all help is apreciated.
The following program is working as expected, but the result of the AT command doesn't go to any file.
Thanks in advance for the help.
#!/bin/bash
modem=/dev/ttyUSB1
file=/root/imsi.txt
# print error to stderr and exit... (4 Replies)
hi,
OK. I am writing a bash script, and it is almost working for me.
Problem 1: I currently have stout sent to a file (stout.miRNA.bash.$date_formatted) which I would like to have work inside my loop, but when I move it, it just prints to the screen.
Problem 2: I have a second file... (18 Replies)
Discussion started by: hmortens
18 Replies
LEARN ABOUT SUSE
gst-launch-ext
gst-launch-ext-0.8(1) User Commands gst-launch-ext-0.8(1)NAME
gst-launch-ext-0.8, gst-launch-ext - run a predefined GStreamer pipeline
SYNOPSIS
gst-launch-ext-0.8 filename [filename...] [gst-std-options]
gst-launch-ext filename [filename...] [gst-std-options]
DESCRIPTION
gst-launch-ext-0.8 runs a basic predefined GStreamer pipeline, and prints the name of the pipeline. gst-launch-ext-0.8 is only used as a
quick test to ensure that codecs and GStreamer work properly. gst-launch-ext-0.8 does not handle more advanced features such as synchro-
nization.
OPTIONS
The following options are supported by gst-launch-ext-0.8 and gst-launch-ext:
gst-std-options Standard options available for use with most GStreamer applications. See gst-std-options(5) for more
information.
The following options are supported by gst-launch-ext only:
--gst-list-mm List found major/minor versions. This option displays the versions that are available.
--gst-mm=string Force major/minor version. This option enables you to specify a specific version to run, if you do not want to run the
default version.
--print Print wrapped command line. This option displays the command that will be run, and then runs the command.
OPERANDS
The following operands are supported:
filename The name of the GStreamer pipeline to run.
EXTENDED DESCRIPTION
gst-launch-ext-0.8 can be configured by creating a .gst file in your home directory. This PERL-style configuration file can override the
default values for audio and video output sinks.
The following example .gst file implements the same defaults as those hard-coded in the script:
AUDIOSINK = osssink
VIDEOSINK = ffmpegcolorspace ! xvimagesink
You can change osssink to esdsink, alsasink, or sunaudiosink, and you can change xvimagesink to ximagesink, aasink, or sdlvideosink. You
must have the appropriate plugin installed on the system to use the specified output sink. Other GStreamer plug-ins can also be used.
EXAMPLES
Example 1: Launching a GStreamer Pipeline
example% gst-launch-ext-0.8 filename
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gst-launch-ext-Executable to run a predefined GStreamer pipeline
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-media |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform.
gst-complete(1), gst-compprep(1), gst-feedback(1), gst-inspect(1), gst-launch(1), gst-md5sum(1), gst-register(1), gst-thumbnail(1), gst-
typefind(1), gst-xmlinspect(1), gst-xmllaunch(1), gstreamer-properties(1), libgstreamer-0.8(3), libgstgetbits(3), gst-std-options(5)NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2004.
SunOS 5.10 14 Oct 2004 gst-launch-ext-0.8(1)