Ok, but the recordserver correctly stops the record when I'm using VCR_CMD= mplayer.....
Why doesn't it correctly stops the record when I'm using VCR_CMD = mencoder ..... ? The record starts from a popen call in recordserver.py helpers. It sould use the pid of the called program to stop it, ( def handleEvents(self):) but why not with mencoder... Claudio Il giorno gio, 23/06/2005 alle 15.24 +0200, Wander Winkelhorst ha scritto: > On 6/23/05, Claudio <[EMAIL PROTECTED]> wrote: > > Hi friends, > > > > [...] I'm trying to use mencoder for saving my dvb stream directly > > with lavc with this: > > > > VCR_CMD = CONF.mencoder + ' "dvb://%(channel)s" -ovc lavc -lavcopts > > vcodec=mpeg4:vbitrate=1200:keyint=30 -oac lavc -vf pp=fd,scale=720:576 > > -ffourcc divx -o %(filename)s' > > TV_RECORDFILE_SUFFIX = '.avi' > > > > > > It successfully record the stream but doesn't stop the record > > filling the disk. What's the problem? > > You didn't tell mencoder when to stop recording, so it continues > untill the end of the DVB stream is found (ie. never) > In my own personal scripts (not freevo related) I use the parameter > -endpos ro tell mencoder when to stop. > like this: > > #!/bin/sh > TIME="00:40:00" #time to record in HH:MM:SS > > mencoder tv:// -tv > "channel=$CHANNEL:width=768:height=576:outfmt=I420:alsa:driver=v4l2" > -vop scale=640:480,pp=md,crop=756:566:6:8 -vc rawi420 -oac mp3lame > -lameopts mode=3:abr:br=96 -ovc lavc -lavcopts > vcodec=mpeg4:vbitrate=2000"$HIGHQ" -endpos "$TIME" -o "$FILE" -quiet > > I hope this helps. > Wander > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Freevo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freevo-devel ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
