[MPlayer-users] Recording from tv:// isn't realtime

Marc MERLIN marc_mplayer at merlins.org
Mon Jul 28 22:25:49 CEST 2014

On Mon, Jul 28, 2014 at 08:56:34PM +0200, Reimar Döffinger wrote:
> If you have the patience, there are two other things you could try -
> starting from the original line with fps=25
> 1) Try adding -fps 25 (and/or -fps 60 to the line quoted above).

Nice one. This worked (adding -fps 25)
mencoder tv:// -tv driver=v4l2:norm=PAL:width=720:height=576:outfmt=uyvy:device=/dev/video1:input=0:fps=25:alsa:amode=1:forcechan=2:audiorate=48000:forceaudio:immediatemode=0 -ovc x264 -x264encopts threads=8:subq=5:8x8dct:frameref=2:bframes=3:b_pyramid=normal:weight_b -oac mp3lame -lameopts cbr:br=128   -fps 25 -o test.avi

My only 2 concerns left are:
1) sound is being recorded from my laptop's mic and not the tv input
(while video is from the tv input)

2) I would love to be able to play this output file in near realtime
while it's being recorded, but mplayer will only play the amount of file
that was saved at the moment I started mplayer

Any idea on those 2?

"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901

More information about the MPlayer-users mailing list