FFmpeg Screen Capture Recorder

Source: Internet
Author: User

FFmpeg using X11grab for screen recording under Linux, using DirectShow filters under Windows

First you need to install a software, screen capture recorder

The compilation is:

http://sourceforge.net/projects/screencapturer/files/

The source address is:

Https://github.com/rdp/screen-capture-recorder-to-video-windows-free

After the installation is finished, execute at the command line:

    1. Ffmpeg-list_devices true-f dshow-i dummy

The system output is roughly as follows:

    1. [DShow @ 002db420] DirectShow Video Devices
    2. [DShow @ 002db420] "Screen-capture-recorder"
    3. [DShow @ 002db420] DirectShow Audio Devices
    4. [DShow @ 002db420] "Virtual-audio-capturer"

FFmpeg has been able to capture DirectShow video devices, and audio devices.

"Screen-capture-recorder" This is the desktop capture device, if the computer has a webcam, it will be listed.

"Virtual-audio-capturer" This is an audio capture device.

And then you can use FFmpeg to make a video.

Java code
    1. Ffmpeg-f dshow-i video="Screen-capture-recorder"-F dshow-i audio="Virtual-audio-capturer"-pix_fmt yuv420p-v Codec Libx264-acodec libvo_aacenc-s 1280x720-r 25-q 10-ar 44100-ac 2-tune zerolatency-preset Ultra Fast-f Mpegts-| Ffmpeg-f Mpegts-i-C copy-bsf:a aac_adtstoasc-f flv temp.flv

FFmpeg Screen Capture Recorder

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.