[MPlayer-users] mencoder -really-quiet

littlebat dashing.meng at gmail.com
Fri Dec 28 01:52:39 CET 2012


On Thu, 27 Dec 2012 15:15:30 -0800
Grant <emailgrant at gmail.com> wrote:

> >>>>> I'm using mencoder in a crontab with > /dev/null so I'm only
> >>>>> emailed about STDERR.  I added -quiet and I still receive
> >>>>> messages like this:
> >>>>>
> >>>>> Could not determine number of frames (for absolute seek).
> >>>>>
> >>>>> I'm going to try -really-quiet, but will that suppress any
> >>>>> important messages such as failure of the command?
> >>>>
> >>>> Yes, I think so.
> >>>> However failures should also be indicated by the return value,
> >>>> so I think cron should still notice them, even if you won't get
> >>>> the error message, in case that helps.
> >>>
> >>> Thanks Reimar.  Can anyone confirm this or does anyone have an
> >>> idea for receiving only important messages on STDERR from
> >>> mencoder?
> >>>
> >>> - Grant
> >>
> >> You could add "1>/dev/null" to the end of you command to make
> >> STDOUT go to /dev/null
> >
> > You can ignore that. I just noticed that you said you are basically
> > doing that already.
> 
> No problem, I am doing that already.  I'm trying to figure out how to
> receive only important messages from mencoder so I'm not emailed about
> trivial stuff.

A not confirmed idea:
Write a shell, deal with all the mencoder staff, get the the
information you want and discard you want not. Then call this shell by
crontab.


More information about the MPlayer-users mailing list