Re: how to use mencoder to record TV program
Serena Cantor wrote:
> I am too tired and let's end this thread. Thanks!
> There is a long way to go to meet my goal:
> 1) the output is playable on Linux and Windows
> 2) the output is two to three megabytes per minutes, frame size is
> 384x288, my CPU is P3/550
> Replacing with "-oac copy" does not work. Audio still can't be heard after
> some effort. All the switchs used by mencoder still seem foreign to me.
> Maybe I should read mplayer manual. The learning curve is not smooth.
> Mplayer is in beta stage, and a/v synchronization problem often occurs.
> I am quite happy with helix producer that uses real media format. producer
> works well in sarge (kernel 2.4) and meet my goal. So why should I try so
> hard using mplayer?
> --- On Wed, 11/5/08, Emanoil Kotsev <email@example.com> wrote:
>> From: Emanoil Kotsev <firstname.lastname@example.org>
>> Subject: Re: how to use mencoder to record TV program
>> To: email@example.com
>> Date: Wednesday, November 5, 2008, 5:25 AM
>> Serena Cantor wrote:
>> > It works now though it has many programs! Thanks!!!
>> > After running 2 sudo commands given by you, your
>> mencoder command can
>> > record. I don't copy sudo output, because 1st sudo
>> merely says insmod
>> > snd-mixer-oss.ko and snd-pcm-oss.ko and 2nd sudo has
>> no output at all,
>> > though I have /dev/dsp and /dev/mixer after running 2
>> sudo. I change
>> > /dev/dsp1 to /dev/dsp in your command, and run it. It
>> records, and I can
>> > hear TV audio. After about 15 seconds, I press Ctrl+C
>> to end recording and
>> > play output.avi. I find that TV audio is NOT recorded
>> (TV video seems OK).
>> > I have to add "-vo x11" to "mplayer
>> output.avi" to play it. vlc player
>> > can't play output.avi, even video is not shown.
>> So now you have video but no audio. right? But when you
>> watch TV you hear
>> may be try first instead -oac lame and -lameopts -oac copy.
>> means replace
>> '-oac mp3lame -lameopts cbr:br=64'
>> '-oac copy'
>> I think though that the problem is another one, but try
>> this first and tell
>> me if it works.
>> If it's not working you may also try to add following
>> to the tv driver line
>> notice the forceaudio command and the immediatemode. The
>> immediate mode
>> (look in man mplayer) is the option that we need I think.
>> We can try add alsa and replace adevice=/dev/dsp with
>> adevice=hw=0.0 or
>> adevice=hw=0.1 I don't remember which was correct for
>> I'm not familiar with vlc, but after you manage to
>> record your first video
>> with sound you can play with the different options of
>> mencoder and try to
>> find a way that records or converts videos to something vlc
>> would like.
>> When I record movie and check the file type with file it
>> file 20081014-201413.avi
>> 20081014-201413.avi: RIFF (little-endian) data, AVI, 720 x
>> 576, 25.00 fps,
>> video: FFMpeg MPEG-4, audio: MPEG-1 Layer 1 or 2 (stereo,
>> 48000 Hz)
>> I usually convert them after this with mencoder
>> file 3SAT_Effesos.avi
>> 3SAT_Effesos.avi: RIFF (little-endian) data, AVI, 720 x
>> 576, 25.00 fps,
>> video: FFMpeg MPEG-4, audio: MPEG-1 Layer 3 (stereo, 48000
>> When recording I use -oac copy ( means no conversion of
>> audio stream)
>> Then I convert with mencoder and do higher compression of
>> video too.
>> To UNSUBSCRIBE, email to
>> with a subject of "unsubscribe". Trouble? Contact
read the manual. I think you have a/v sync problems because you cpu may be
too slow for the on the fly conversion and the postprocessing with the -vf
Any way its cool app. It's almost all the time in beta so don't worry about
I don't think it would be too hard to fix the sound issue too, but as you
wish we stop here.