[MPlayer-users] mencoder & cron

drwhat drwhat at hotmail.com
Tue Apr 29 03:01:27 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 28 April 2003 06:37 am, D Richard Felker III wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
> On Sun, Apr 27, 2003 at 10:53:16PM -0700, drwhat wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Sunday 27 April 2003 08:33 am, Attila Kinali wrote:
> > > [Automatic answer: RTFM (read DOCS, FAQ), also read
> > > DOCS/bugreports.html] On Thu, 24 Apr 2003 23:25:36 -0700
> > >
> > > drwhat <drwhat at ncplus.net> wrote:
> > > > now.. my question.. I have been trying to setup a pvr using mencoder,
> > > > but have run into a problem with crontab and mencoder... when ever I
> > > > try to setup a scheduled recording via cron... mencoder runs for
> > > > about 3 seconds.. then dies.. no error messages anywhere :/
> > >
> > > If mencoder realy doesnt give any msg (which i cant believe) use
> > > strace.
> >
> > well... it(mencoder) doesn't give any msgs about it dieing... I did do an
> > strace.. got lots of junk I don't know how to interput, but it did show:
> >
> > 13350 22:35:02 write(1, "Pos:   0.6s     18f ( 0%)   0fps"..., 69) = -1
> > EPIPE (Broken pipe)
> >
> > the script that I am using is:
> >
> > mencoder -tv
> > on:driver=v4l:input=1:norm=NTSC:chanlist=us-broadcast:channel=3:width=720
> >:height=480:audiorate=48000:buffersize=44 - -ovc lavc -oac mp3lame
> > -lameopts cbr:br=128 -lavcopts
> > vcodec=mpeg4:vbitrate=2000:v4mv -vop pp=lb -o $1 -endpos $2
> >
> > my cron job setup for it is:
> >
> > 35 22 * * * /home/drwhat/bin/vcr "test.avi 00:05:00"
>
> You need to redirect stdout/err to a file or /dev/null; otherwise your
> crond/mailer is going to get annoyed after tons of status junk is spit
> out, and close the pipe!

hmm now.. that explains why it keeps barfing...

and I just figured out how to pipe to /dev/null with it :)

thanx!!


>
> Rich
>
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

- --
*******#######$$$$$$$$@@@@@@@@@@@@@@@@
Linux user #:265953
os:mandake v9.1/winME	cpu:amd duron 1.2G
mobo:asus a7v133		mem:256M
cdr:LG-8080B			nic:netgear fa311
graphics:nvidia geforce3 ti200 64m ddr
hda:FUJITSU MPA3017AT, 1.7G
hdb: WESTERN DIGITAL WD1200BB-00CAA1, 120G
sound:ensoniq creative audiopci/es1370
videocapture:Hauppauge WinTV GO 190

Today is Tommorrow, is Yesterday, but neither, is niether
loc:48'02"N 122'49"W
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+rc7qeyQvdOSh1pcRAkMbAJ47xT3Wq/JE1gZosp7e9pbOkvtelQCeKjal
zftcy/AGWk8I0vPQzJx2IdQ=
=+Q3S
-----END PGP SIGNATURE-----



More information about the MPlayer-users mailing list