Hi, Actually I record my signal tv with mencoder<http://www.videohelp.com/tools/MPlayer> ex: mencoder tv://$channel_number -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=$VBITRATE:vhq:keyint=100 -oac mp3lame -lameopts vbr=0 -o OUT_PATH/NAME.avi I would like to do the same but I would like to generate a mpg file not and avi file. How could I do this?? Many thanks Regards
On 6/14/09 9:24 AM, "mierdatutis mi" <mmm286@gmail.com> wrote:
ex: mencoder tv://$channel_number -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=$VBITRATE:vhq:keyint=100 -oac mp3lame -lameopts vbr=0 -o OUT_PATH/NAME.avi
I would like to do the same but I would like to generate a mpg file not and avi file. How could I do this??
You could try this. Aspect ratio may need to be something else, same goes for frame rate. mencoder tv://$channel_number -ovc lavc -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=6000:vqmin=1:k eyint=15:vstrict=0:aspect=4/3 -oac lavc -lavcopts acodec=mp2:abitrate=256 -of mpeg -mpegopts format=dvd:tsaf:muxrate=36000 -o OUT_PATH/NAME. Laine Lee
Thanks I try with this way. I try to record 40 seconds but the size of this 40 seconds is about 300 mbs!!!. I would like some way that have less size. Many thanks! 2009/6/15 L Lee <llee040@sbcglobal.net>
On 6/14/09 9:24 AM, "mierdatutis mi" <mmm286@gmail.com> wrote:
ex: mencoder tv://$channel_number -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=$VBITRATE:vhq:keyint=100 -oac mp3lame -lameopts vbr=0 -o OUT_PATH/NAME.avi
I would like to do the same but I would like to generate a mpg file not and avi file. How could I do this??
You could try this. Aspect ratio may need to be something else, same goes for frame rate.
mencoder tv://$channel_number -ovc lavc -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=6000:vqmin=1:k eyint=15:vstrict=0:aspect=4/3 -oac lavc -lavcopts acodec=mp2:abitrate=256 -of mpeg -mpegopts format=dvd:tsaf:muxrate=36000 -o OUT_PATH/NAME.
Laine Lee
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
On 06/14/2009 10:24 AM, mierdatutis mi wrote:
Hi,
Actually I record my signal tv with mencoder<http://www.videohelp.com/tools/MPlayer>
ex: mencoder tv://$channel_number -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=$VBITRATE:vhq:keyint=100 -oac mp3lame -lameopts vbr=0 -o OUT_PATH/NAME.avi
I would like to do the same but I would like to generate a mpg file not and avi file. How could I do this??
Read the man page on the '-of' option. (All of the other options in the other command line you were given just alter video encoding, and don't necessarily do anything you need to do.) -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. Secrecy is the beginning of tyranny.
Thanks! I understand that mpeg2(mpeg) must have more size to can have the same quality that mpeg4 (avi). I have a program that I input a size that I would like to have the recording and the program caculates the bitrate by this way: mb*1000000*8/minutes*60/1000 So if I would like that a recording have 300mb the bitrate is 1333. I would like to do this, but recording in mpeg, not in avi. How could I calculate the bitrate, knowing the size that I like have in the mpeg file.?? Many thanks!!! 2009/6/15 The Wanderer <inverseparadox@comcast.net>
On 06/14/2009 10:24 AM, mierdatutis mi wrote:
Hi,
Actually I record my signal tv with mencoder<http://www.videohelp.com/tools/MPlayer>
ex: mencoder tv://$channel_number -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=$VBITRATE:vhq:keyint=100 -oac mp3lame -lameopts vbr=0 -o OUT_PATH/NAME.avi
I would like to do the same but I would like to generate a mpg file not and avi file. How could I do this??
Read the man page on the '-of' option. (All of the other options in the other command line you were given just alter video encoding, and don't necessarily do anything you need to do.)
-- The Wanderer
Warning: Simply because I argue an issue does not mean I agree with any side of it.
Secrecy is the beginning of tyranny.
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
On Monday 2009-06-15 21:13, mierdatutis mi wrote:
Thanks!
I understand that mpeg2(mpeg) must have more size to can have the same quality that mpeg4 (avi).
I have a program that I input a size that I would like to have the recording and the program caculates the bitrate by this way:
mb*1000000*8/minutes*60/1000 ^[1]
So if I would like that a recording have 300mb the bitrate is 1333.
I would like to do this, but recording in mpeg, not in avi. How could I calculate the bitrate,
The bitrate remains the same... simply because the formula^[1] is independent of codec.
On 06/15/2009 03:13 PM, mierdatutis mi wrote:
Thanks!
I understand that mpeg2(mpeg) must have more size to can have the same quality that mpeg4 (avi).
You can put MPEG-4 video in an MPEG container as well as in an AVI container (and you can put MPEG-2 video in AVI, as well). But yes, MPEG-2 will in general be worse quality per unit bitrate than MPEG-4.
I have a program that I input a size that I would like to have the recording and the program caculates the bitrate by this way:
mb*1000000*8/minutes*60/1000
So if I would like that a recording have 300mb the bitrate is 1333.
I would like to do this, but recording in mpeg, not in avi. How could I calculate the bitrate, knowing the size that I like have in the mpeg file.??
As Jan said, bitrate calculations don't depend on the container (except for container-specific overhead, but that's not likely to make much difference in most cases). Just add '-of mpeg' to your basic command line, without changing any other options, and there's a pretty good chance that you will get what you're after. -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. Secrecy is the beginning of tyranny.
participants (4)
-
Jan Engelhardt -
L Lee -
mierdatutis mi -
The Wanderer