To capture video only can use ffmpeg -f dshow -i video="UScreenCapture" -vf crop=xwidth:xheight:xleft:xtop c:\output.flv ffmpeg -f dshow -i video="UScreenCapture":audio="Realtek AC97 Audio" -vf crop=xwidth:xheight:xleft:xtop c:\output.flv Xleft, xtop the coord of the top left point of the rectangle capture. Xwidth, xheight are the width & height of the region want to capture. Then i used the crop() ffmpeg function to capture any region on the screen.the command line is : There is an error in registry location,in parameters types (dwords are specified by the author but reg_binary is installed). I cannot install params of UscreenCapture in registry (tried even on IscrenCapture.h file ).It always provide the full scren capture only. capture screen video and audio (adjust the device audio you have-mine is RealTek AC97 It's sent with an IscrenCapture.h file also. Its registered automatically from the (ScreenCapture.ax file). ScreenCapture can be downloaded for free (google). ffmpeg.exe must be copied in c:\windows\system32 directory for being accessed from anywhere from your PC) *this code is tried successfully on windows XP Sp3 and ffmpeg (last version for windows)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |