Skip to content

Instantly share code, notes, and snippets.

@edward93
Created January 26, 2020 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edward93/1d0a9d77bfa539b1797de1b7074da227 to your computer and use it in GitHub Desktop.
Save edward93/1d0a9d77bfa539b1797de1b7074da227 to your computer and use it in GitHub Desktop.
FFmpeg cheat sheet

FFmpeg Scripts (Windows 10)

Some scripts and codes related to ffmpeg

ffmpeg version 4.0

How to show input devices

ffmpeg -list_devices true -f dshow -i dummy

How to display webcam

Keep in mind that this is a very generic code on your local machine the pix_fmt and video name might be different

ffmpeg -f dshow -i video="Integrated Webcam" -pix_fmt yuv420p -s 1280x800 -f sdl2 -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment