[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird bash pipe behavior
From: |
jellybean stonerfish |
Subject: |
Re: weird bash pipe behavior |
Date: |
Thu, 21 Jan 2010 01:09:46 GMT |
User-agent: |
Pan/0.132 (Waxed in Black) |
On Wed, 20 Jan 2010 07:34:35 -0800, CptDpondo wrote:
> Note that it's using \r instead of \n for line breaks; that's to
> overwrite the status line without scrolling the screen. this works fine
> when displaying on a terminal.
>
> I'm trying to reduce this to where it only prints the status line if it
> gets a Skipped frame warning, so the above would look like this:
>
> Pos: 0.7s 22f ( 0%) 0.00fps Trem: 2min 15mb A-V:0.070 [0:180]
> Skipping frame!
> .....
I haven't tested this: Have you tried the '-quiet' option?
>From the mencoder manpage:
-quiet
Make console output less verbose; in particular, prevents the
status line (i.e. A: 0.7 V: 0.6 A-V: 0.068 ...) from being
displayed. Particularly useful on slow terminals or broken ones
which do not properly handle carriage return (i.e. \r).