Results 1 to 10 of 30

Thread: HOW TO: Use VLC to capture video from your webcam to a file

Threaded View

  1. #1
    Join Date
    Oct 2005
    Location
    Aldan, PA
    Beans
    552

    HOW TO: Use VLC to capture video from your webcam to a file

    I tried the VLC wizard tonight on Ubuntu Dapper Flight 5 and I was able to capture the webcam video to a file.

    Do this:

    Connect your webcam.

    Open VLC
    File--> OPen capture device
    Go to Video4Linux tab
    Specify your video device name (mine was /dev/video0)
    (My webcam audio doesn't work, so I left audio device as it is)
    Norm: Automatic

    Check "stream output" box
    Click settings
    Specify a filename (make sure you have write permissions there - usually a file on desktop or home directory is the best bet)
    Unselect "dump raw input" (it must reamain empty)
    Encapsulation method: MPEG1
    Video codec: mp1v
    Audio codec: mpga
    "select all elementary streams" should remain empty.

    Press OK

    Press OK

    Now press PLAY button on VLC.
    The video should start recording. You can check this while VLC is recording video by right clicking on the recording file and selecting properties (it will show increasing file size).

    Notes:
    1. You can do an HTTP streaming by a similar method you are able to capture to a file.
    2. Powerusers:
    Media resource locator:
    v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/dsp" :v4l-norm=3 :v4l-frequency=-1
    Destination target:
    :sout=#transcode{vcodec=mp1v,vb=1024,scale=1}:dupl icate{dst=std{access=file,mux=mpeg1,url="FULL PATH NAME HERE"}}

    ========================================
    Keywords: VLC, Video, Capture, Record, Encode, Save, V4L, Video for Linux, Streaming
    Last edited by anil_robo; September 8th, 2006 at 08:53 PM.
    Photography by Indians
    I'm registered Linux User # 406032

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
  •