Results 1 to 7 of 7

Thread: How do I "wake up" /dev/video1 (Easycap DC 60)?

  1. #1
    Join Date
    Mar 2006
    Beans
    Hidden!

    Question How do I "wake up" /dev/video1 (Easycap DC 60)?

    I am using an Easycap DC60 adapter to input composite video to my PC. I use an mplayer command to view the input. The easycap is assigned /dev/video1 on boot due to built in webcam being on /dev/video0. /dev/video1 is there and easycap shows up in dmesg prior to running the command.

    Command:
    Code:
    mplayer tv:// -tv driver=v4l2:norm=NTSC_M_JP:output=0:device=/dev/video1 -vo xv -fs
    At first run of the command, I just get a green screen which won't allow me to simply "Esc" out of, I have to kill mplayer. On second run, I get a flash of green and then the output is displayed as expected. This is the case for subsequent uses in that session.

    Can anyone advise of a way to "wake up" easycap or /dev/video1, so I can write a small script to activate my video input. Yes, I could run the command, kill it, then run it again, but wondering if there is a better way?

    Alternatively, how do I test that mplayer has successfully delivered video to the screen, to avoid a restart?
    Last edited by Jose Catre-Vandis; March 23rd, 2012 at 05:17 PM.
    No longer participating......

  2. #2
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: How do I "wake up" /dev/video1 (Easycap DC 60)?

    bump anyone ?
    No longer participating......

  3. #3
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,661
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I "wake up" /dev/video1 (Easycap DC 60)?


  4. #4
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: How do I "wake up" /dev/video1 (Easycap DC 60)?

    Hmmm, points to doing some kind of test with xawtv. Is it possible to do a test with mplayer using -vo dummy or similar?
    No longer participating......

  5. #5
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,661
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I "wake up" /dev/video1 (Easycap DC 60)?

    I would try to set/refresh the Easyap settings with
    dov4l
    v4lctl

    maybe these will wake the device & it will then work immediately.

  6. #6
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: How do I "wake up" /dev/video1 (Easycap DC 60)?

    I'll give it a go and report back, thanks for your input.
    No longer participating......

  7. #7
    Join Date
    Jul 2011
    Beans
    10
    Distro
    Ubuntu

    Re: How do I "wake up" /dev/video1 (Easycap DC 60)?

    I have the internal webcam has /dev/video0 and Easycap has /dev/video1, and no wake up is necessary, I just installed VLC (a video application) from "Ubuntu Software Center", and then start "VLC" and from menu "Media/Open Capture Device" dialog switch "Capture Mode" to "Video for Linux 2" and choose "/dev/video1" and hit "play" button...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •