P
Peter
My script runs a program which outputs various information and i need to
sort through that info and store some of it as a variable.
When the program finishes (mencoder)... this is what it spits out to the
console.
Recommended video bitrate for 650MB CD: 16021
Recommended video bitrate for 700MB CD: 17264
Recommended video bitrate for 800MB CD: 19749
Recommended video bitrate for 2 x 650MB CD: 32175
Recommended video bitrate for 2 x 700MB CD: 34661
Recommended video bitrate for 2 x 800MB CD: 39631
Video stream: 0.767 kbit/s (95 bps) size: 32380 bytes 337.539 secs
8095 frames
Audio stream: 117.333 kbit/s (14666 bps) size: 4957920 bytes 338.040
secs
I need to get the "4957920" bytes value from the audio line and the
"337.539" seconds value from the audio stream line and store them as
some variables. Any help is appreciated
Thanks
sort through that info and store some of it as a variable.
When the program finishes (mencoder)... this is what it spits out to the
console.
Recommended video bitrate for 650MB CD: 16021
Recommended video bitrate for 700MB CD: 17264
Recommended video bitrate for 800MB CD: 19749
Recommended video bitrate for 2 x 650MB CD: 32175
Recommended video bitrate for 2 x 700MB CD: 34661
Recommended video bitrate for 2 x 800MB CD: 39631
Video stream: 0.767 kbit/s (95 bps) size: 32380 bytes 337.539 secs
8095 frames
Audio stream: 117.333 kbit/s (14666 bps) size: 4957920 bytes 338.040
secs
I need to get the "4957920" bytes value from the audio line and the
"337.539" seconds value from the audio stream line and store them as
some variables. Any help is appreciated
Thanks