Tech Support > Operating Systems > Linux / Variants > -=help recording with mencoder=-
-=help recording with mencoder=-
Posted by Paul on January 25th, 2004


I am trying to set up a script to record tv shows using mencoder and
my Pinnacle PCTV card. I had a script that used to work for me:

mencoder -tv on:driver=v4l:device=/dev/video0:norm=NTSC:width=352:height=288
-oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800 -vop pp=lb
-endpos 30 -o test.avi

but I now get "illegal instruction" when I try to use that. I
understand that there is now a requirement to add tv:// to the end
such as:

mencoder -tv driver=v4l:device=/dev/video0:norm=NTSC:width=352:height=288
-oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800 -vop pp=lb
-endpos 30 -o test.avi tv://

but I still get the same error.

Any suggestions would be greatly appreciated.

Paul