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

Re: how to use mencoder to record TV program

Serena Cantor wrote:

> mencoder
>> tv://<SOME_CHANNEL> -o out.avi


I missed the -tv indeed

What about the mencoder commands there from the link

do they don't work? I guess no, because otherwise you wouldn't be posting

mencoder -tv driver=v4l2:width=768:height=576:chanlist=china-bcast \
    -oac mp3lame -lameopts cbr:br=64 \
    -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900:autoaspect=1 \
    -vf  scale,pp=lb -o output.avi tv://<CHANNEL>

Can you try this command and replace <CHANNEL> with the channel you want to
record? If you miss the channel then I guess the last one you've tuned the
receiver will be captured.

When recording no other application should be running that uses your tv card
like xawtv or similar. May be you have tried to watch and record at the
same time? If you want to do this you better start mencoder to record the
stream and run mplayer output.avi to watch the stream while recording.

I changed the v4l to v4l2, because I think the howto is a bit outdated. You
can try both if it's not working and if you want. I also added the chanlist
and autoaspect option and instead cropping I use scale filter.

I hope this will work. Have a look at the output.avi file and post output if
there are problems like you did now.


Reply to: