How to record a specific window using ffmpeg?

前端 未结 6 818
说谎
说谎 2021-02-18 18:41

I use ffmpeg to record a window using this code:

ffmpeg.exe
-f dshow 
-y 
-i video=\"screen-capture-recorder\":audio=\"virtual-audio-capturer\":audio=\"Microphon         


        
6条回答
  •  醉话见心
    2021-02-18 19:02

    This example works for me:

    ffmpeg -f gdigrab -framerate 30 -i title="german.avi - VLC media player" -b:v 3M  germ.flv
    

    where "title" means actual title of a target window.

    Hope this will help.

提交回复
热议问题