11-03-2014
EXCELLENT!! WORKS GREAT!!
Thank you, Chubler XL!!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This is my simple expect scritpt:
#!/usr/bin/expect -f
match_max 100000
set timeout -1
spawn telnet $IP
expect "#"
send -- "shell\r"
expect "*Ready*"
send -- "init\r"
expect "*Ready*"
send -- "readsensor \r"
expect -- "*" <<< Output of this is a 2 digit number
set val... (5 Replies)
Discussion started by: expect_user
5 Replies
2. Shell Programming and Scripting
I have only some info into my buffer, but after a rssi command I see the folowing lines expected into buffer but not present :
rssi=-106
rssi=-109
I see in my buffer only the first part of the output, here you are a part of script :
#!/usr/bin/expect -f
#global expect_out
match_max 10000000... (1 Reply)
Discussion started by: ugobale
1 Replies
3. Shell Programming and Scripting
I am trying to use send and receive using expect. the expect_out(buffer) is working fine while it is running it as foreground. But the same script when it is ran as background, the expect_out(buffer) errored out.
Is there any factor influence when we run script in foreground and in background? ... (0 Replies)
Discussion started by: shellscripter
0 Replies
4. Shell Programming and Scripting
expect "#"
send "terminal-length 0\r"
expect "#"
send "show mp cpu\r"
expect "#"
send "show mp memory\r"
expect "#"
while {1} {
expect "#"
send "clear counters\r"
sleep 30
... (0 Replies)
Discussion started by: roh_20022002
0 Replies
5. Programming
Greetings,
Having an issue with the expect_out(buffer). in a foreach loop through some switches I am grabbing some arp table information and writing it out to output files (1 each for each switch looped through).
The first iteration works fine. the second iteration of the loop writes the... (0 Replies)
Discussion started by: SuperSix4
0 Replies
6. Shell Programming and Scripting
Hi,
I am trying to write an expect script. Being a newbie in expect, maybee this is a silly doubt but i am stuck here.
So essentially , i want the o/p of one router command to be captured . Its something like this
Stats
Input Rx : 1234
Input Bytes : 3456
My expect script looks ... (5 Replies)
Discussion started by: ashy_g
5 Replies
7. Shell Programming and Scripting
Hello "expect" experts
I am new at Expect. I have searched for a little while how to capture multiple lines with Expect and I am almost succeeded on that but I don't get all the lines of a command's output that the script executes on a server.
Here is how my script works in a nutshell -
... (6 Replies)
Discussion started by: capacho6666
6 Replies
8. Shell Programming and Scripting
I am trying to read a file via SSH connect and store it to expect_out(buffer). I am a virgin to expect. Help is really appreciated. Wasted almost a day :-(
Code is as follows
expect "system32>"
send "type output.csv";
send "\r";
expect "system32>"
set outcome $expect_out(buffer)... (2 Replies)
Discussion started by: cityprince143
2 Replies
9. Programming
Can some one tell me how to flush expect_out(buffer)?
below is my code
expect -re {.*} {}
expect "swpackages>*"
send -i $con "trial.bat \r"
set outcome $expect_out(buffer)
expect "*continue*"
set prevreport $expect_out(buffer)
send "\r \r";
problem is :- I am getting "pre" stuffs... (0 Replies)
Discussion started by: cityprince143
0 Replies
10. Shell Programming and Scripting
I have a code like this :
set ipv6_acl_max_chars test_acl_max_chars123456a789%s%d2345678ww134rt789qa23456789012345%c89012%a56789012x4r67890test_acl_max_chars1234567890.01234aabcdob34567aBC0
spawn telnet $myip
expect "Login:" { send "admin\r" }
expect "Password:" {send "admin\r" }... (0 Replies)
Discussion started by: ylucki
0 Replies
LEARN ABOUT DEBIAN
yuvdenoise
yuvdenoise(1) MJPEG tools manual yuvdenoise(1)
NAME
yuvdenoise - Motion-Compensating-YUV4MPEG2-frame-denoiser
SYNOPSIS
yuvdenoise [options] </dev/stdin >/dev/stdout
DESCRIPTION
yuvdenoise is a spatio-temporal noise-filter for YUV4MPEG2 streams. This is useful to reduce the bitrate needed to encode your captured
movies for VCD and SVCD creation.
OPTIONS
yuvdenoise accepts the following options:
-g y,u,v [0..255] Gaussian filter thresholds
This sets the thresholds for the gaussian filter. A value of 0 disables filtering for a specific component and 0,0,0 completely dis-
ables/bypasses the filter. This filter is applied before the temporal (-t) filter.
(default=0,0,0)
-m y,u,v [0..255] Pre 3D Median filter thresholds
This sets the thresholds for the pre-processing 3D median filter. A value of 0 disables median filtering for a specific component and
0,0,0 completely disables/bypasses the filter. This filter is applied before the temporal (-t) filter.
(default=0,0,0)
-r y,u,v [0..255] Renoising filter thresholds
This sets the thresholds for adding random "noise" back into the video stream. Default is disabled (not adding random noise). This
filter, if enabled, is run as the Blast filter (after the median and temporal filters). Reasonable value is 4,8,8 but if you are work-
ing with monochrome (black and white movie) then 4,0,0 will speed things up by not processing the chroma planes.
(default=0,0,0)
-t y,u,v [0..255] Temporal noise-filter thresholds
This sets the thresholds for the temporal noise-filter. Values above 12 may introduce ghosting. The default value for Y' (y) is often
a little high and reducing it to 4 or 5 may be necessary. If the chroma smears or ghosts try using values of 5 or 6 instead of the
default (12). A value of 0 disables temporal filtering for the specified component (0,0,0 disables/bypasses all temporal filtering).
Thus for black and white movies 4,0,0 will be faster by not denoising the chroma planes.
(default=4,8,8)
-M y,u,v [0..255] Post 3D Median filter thresholds
This sets the thresholds for the post-processing 3D median filter. A value of 0 disables median filtering for a specific component and
0,0,0 completely disables/bypasses the filter. This filter is applied after the temporal (-t) filter. Reasonable value is 4,8,8 but
if you are working with monochrome (black and white movie) then 4,0,0 will speed things up by not processing the chroma planes.
(default=0,0,0)
HOW IT WORKS
To Be Written (maybe) in the future.
TYPICAL USAGE AND TIPS
As it is self-adapting to the noise-situation found in the stream you normally just can go without any options set:
lav2yuv my-video.avi | yuvdenoise | mpeg2enc -t 1 -o my-video.m1v
AUTHOR
This man page was written by Stefan Fendt <stefan@lionfish.ping.de> and revised by Steven Schultz.
ADDITIONAL INFO
If you have questions, remarks, problems or you just want to contact the developers, the main mailing list for the MJPEG-tools is:
mjpeg-users@lists.sourceforge.net
For more info, see our website at
http://mjpeg.sourceforge.net/
SEE ALSO
mjpegtools(1), mpeg2enc(1) lavrec(1) lav2yuv(1)
MJPEG Linux Square 11th August 2005 yuvdenoise(1)