mplayer-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]

Re: [MPlayer-users] re:Recording with mencoder


To: Lee Jones <slothpuck@xxxxxxxxx>,"MPlayer usage questions, feature requests, bug reports" <mplayer-users@xxxxxxxxxxxx>
Subject: Re: [MPlayer-users] re:Recording with mencoder
From: Kichigai Mentat <kichigai@xxxxxxxxxxx>
Date: Mon, 14 Mar 2005 15:05:18 -0600
Cc:
Delivered-to: itdp@localhost
Delivered-to: mplayer-users@mplayerhq.hu
In-reply-to: <c362cb8805031403432b3bb1c8@mail.gmail.com>
References: <c362cb8805031403432b3bb1c8@mail.gmail.com>

On Mar 14, 2005, at 05.43, Lee Jones wrote:

Hi,

Thanks for all the replies, btw here is my scriptfile I'm using
(almost as a sort of simple video recorder!) ;

<----

#!/bin/sh
echo " "
echo "enter filename (e.g. out.avi)"
read name1
echo " "
echo "enter video quality (e.g. 32=low,1000=high)"
read quality
echo " "
echo "enter size (e.g. 352:288, 256:192, 768:576 etc)"
read size
echo " "
echo "enter audio quality (e.g. 48)"
read aquality
echo " "
echo "enter recording time (e.g. HH:MM:SS or 100mb)"
read rectime

if [ "$name1" = "" ]
then
 name1="out.avi"
fi

if [ "$quality" = "" ]
then
 quality=768
fi

if [ "$size" = "" ]
then
 size=352:288
fi

if [ "$aquality" = "" ]
then
 aquality=64
fi

echo " "
echo "--"
echo "Filename        : $name1"
echo "Video quality   : $quality"
echo "Size            : $size"
echo "Audio quality   : $aquality"
echo "Rec. time       : $rectime"
echo "--"
echo " "

if [ "$rectime" = "" ]
then
mencoder -tv input=1:driver=v4l:width=768:height=576 -ovc lavc
-lavcopts vcodec=mpeg4:vbitrate=$quality:vhq:vqmax=31:keyint=300 -oac
mp3lame -lameopts cbr:br=$aquality -vf scale=$size -sws 1 -o $name1
tv://
fi

mencoder -tv input=1:driver=v4l:width=768:height=576 -ovc lavc
-lavcopts vcodec=mpeg4:vbitrate=$quality:vhq:vqmax=31:keyint=300 -oac
mp3lame -lameopts cbr:br=$aquality -vf scale=$size -sws 1 -o $name1
tv:// -endpos $rectime

---->

I wasn't sure how to use the deinterlacer, and I didn't know about
mbd=2(!) Ooop!

ljones

OK, that looks pretty good, except for the scaling. A more efficient way of handling it is changing the width settings and such up at the -tv option. But, we would need to know the numbers you put in there for video quality before we can tell you much more about this.
_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
http://mplayerhq.hu/mailman/listinfo/mplayer-users

The price of seeking to force our beliefs on others is that someday they might force their beliefs on us.
-- Mario Cuomo


_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
http://mplayerhq.hu/mailman/listinfo/mplayer-users


[Prev in Thread] Current Thread [Next in Thread]