[MEncoder-users] record with mencoder

mierda tuti mierdatuti at gmail.com
Mon Jan 26 19:07:36 CET 2009


Thanks

Actually I do:

mencoder dvb://Telecinco -tv
driver=v4l2:device=/dev/video0:forceaudio:norm=NTSC-M:chanlist=us-cable:alsa:adevice=hw.0,0:immediatemode=0
-ovc xvid -xvidencopts bitrate=800 -oac pcm -endpos 1800 -sws 1 -o
Karlos_Arguiñano_en_tu_cocina.avi > /home/david/messages 2>&1

But 30 minutes are 500 mb!!


2009/1/26 Stefan Sassenberg <stefan.sassenberg at gmx.de>

> mierda tuti schrieb:
> > Hello,
> >
> > Thanks Stefan.
> >
> > Whell I have an hauppauge wintv-nota-t-stick and ubuntu  and I would like
> to
> > record the signtal tv. I would like that for example, if the recording
> has
> > aprox. 2 hours, the size of the file will have about 700mb, and the file
> > will be an avi with xvid or divx.
> >
> > How could I do this with mencoder, what command must I use?
> >
> > Many thanks and sorry for my english!
>
> No need to be sorry, your english is not worse than mine :-)
>
> Ok, let's start with the ~/.mplayer/mencoder. Here's mine:
>
> ds9 bin # cat ~/.mplayer/mencoder
> # Write your default config options here!
> #outfmt=yuy2
> tv:device=/dev/video0
> tv:driver=v4l2
> tv:width=768
> tv:height=576
> tv:fps=25
> #tv:input=0
> #tv:norm=PAL
>
> tv:channels=E10-ARD,E8-ZDF,E6-RBB,SE18-mdr,S24-BR,S22-WDR,E9-SAT.1,E11-RTL,SE13-RTL_II,S21-Super_RTL,SE20-PRO7,SE6-KABEL1,SE11-VOX,SE17-NDR,22-Eurosport,S23-DSF,21-MTV,29-MTV_II/9Live,26-VIVA,24-Comedy_Central,25-terranova,SE9-3sat,SE15-Kinderkanal,SE4-arte,E7-Phoenix,SE7-tvBerlin,SE16-FAB,33-EuroNews/Tele5,S25-N24,SE19-Nick,SE5-ntv,S35-XXP,SE14-BBC_World,SE12-CNN,SE8-OKB,SE10-Mischkanal,E5-HSE,E12-QVC,23-TD1,28-DasVierte,30-123tv,31-K1010,32-TV5
> tv:chanlist=europe-west
> tv:saturation=-40
>
> Of course, you have to adopt it to your device names, channel list and
> names, and the saturation may not fit to your signal. You can then use
> the file for ~/.mplayer/config as well and try watching tv with
> mplayer tv://<channel number>
>
> If that works, you can start recording:
> mencoder tv://$channel_number -ovc lavc -lavcopts
> vcodec=mpeg4:vbitrate=$VBITRATE:vhq:keyint=100 -oac mp3lame -lameopts
> vbr=0 -o OUT_PATH/NAME.avi
>
> You have to set the VBITRATE to a value depending on the recording time.
>  If you want to get 100 minutes into a 700MB file:
> (700 * 1e6 * 8)/(100 * 60)/1000=933
> If you subtract 128 kBit/s for audio, you get ~800 kBit/s as your video
> bitrate. Try it to see if it works to get not more than 700 MB and if
> the result fits your quality needs. If not, we can search for
> optimizations.
>
> Stefan
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>



More information about the MEncoder-users mailing list