ffmpeg screen capture directshow windows

Basically install https://github.com/rdp/screen-capture-recorder-to-video-windows-free then use ffmpeg with directshow input of screen capture device.

Basically you can follow the instructions for here:

http://betterlogic.com/roger/2010/07/how-to-use-vlc-as-a-free-open-source-alternative-to-playon-tv

But the syntax on the command line will be like

C:\> ffplay -f dshow -i audio="virtual-audio-capturer":video="screen-capture-recorder"
(or ffmpeg instead of ffplay)
More information:

ffmpeg has an “avisynth” option so you could use to read from a directshow screen capture source.

UPDATE: appears ffmpeg can do this natively now, too: http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=3&t=27

in linux they could (using x11grab for input). Also note that FFmpeg has a “gdigrab” input option for windows now, FWIW [doesn’t include any native audio however].

see also http://betterlogic.com/roger/2011/08/ffmpeg-directshow/

See also http://betterlogic.com/roger/2010/07/list-of-available-directshow-screen-capture-filters/

One thought on “ffmpeg screen capture directshow windows”

  1. In your opinion why this command line does not work?

    -vf “movie=Integrated Webcam:f=dshow, scale=240:-1, fps, setpts=PTS-STARTPTS [movie]; [in][movie] overlay=main_w-overlay_w-2:main_h-overlay_h-2 [out]”

    I am trying to use the webcam and to overlay it on a live stream. The problem is ffmpeg gives always the same error:

    [movie @ 02B67900] Failed to avformat_open_input ‘Integrated Webcam’

    Do you have any idea?

    Thanks and regards,
    Francesco

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.