graphics card - What is VLC doing when it changes the "video input pin"?

07
2014-07
  • Questionmark

    I have a video input card that has s-video, composite, and tuner/antenna in. I am able to view the output from this card in VLC as well as other programs. The only issue I am facing is that when I open the card the tuner/antenna input is automatically used. In VLC I am able to change this by setting the "video input pin" to 2 rather than -1. However need to make it so the card will automatically use the tuner/antenna so I am able to use this in other programs that do not have this settable.

    Bottom Line

    How do they do it in VLC and some of the other programs? Is there a way that I can change the input that is automatically used coming in from a AVTuner capture card?

    I am wondering if this would take a registry edit or what....

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    recording - How can I easily view and record a video input in Linux?
  • Ben S

    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.


  • Related Answers
  • Saavedro

    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.

  • kolypto

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

  • DaveParillo

    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.