Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I currently have my Wii plugged into a Linux box with a Hauppauge WinTV PVR-350.

To view the video input on my monitor I use VLC with /dev/video0 as the input.

This works great, but I would like to be able to press the record button on the capture card's remote and have the Linux box start recording my Wii's output until I press the stop button.

I've fiddled around using irexec to just pipe the output of /dev/video0 to a file, but this seems inelegant as a solution.

Is there anything out there that makes it easy to view, and arbitrarily record, a video input using a lirc interface?

The box currently has Ubuntu 9.04, but that should be irrelevant.

I've also posted this question on the Ubuntu Community Forums.

share|improve this question

3 Answers 3

up vote 0 down vote accepted
+100

you could use irexec to kickoff mencoder, which can use a v4l input. You will have to use the tv:// url as the encode source and specify the v4l device with some options that can be found in the mencode/mplayer man page.

You should also be able to use it to kickoff VLC as an encoder as well (VLC can both run headless [minus a gui] and sports a fully featured encoder) from the commandline.

But for the easiest solution, I think you should look into a linux DVR app like MythTV, which should support all of this out of the box.

share|improve this answer
    
I'd like a solution somewhere between scripts and bloated DVR apps like MythTV, but thanks for the suggestions. –  Ben S Sep 19 '09 at 17:41
    
I ended up going the scripted route by using irexec like you mentioned. –  Ben S Sep 28 '09 at 14:27

Try NVRec. Also check this list of applications: Video for Linux resources

share|improve this answer

I would consider looking at this page. Based on your comments to @Saavedro, however, it might be too 'scripty' for you.

It does allow you to exert full ir control and call whatever programs you want to map to different controls, but typing is definitely required.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.