[FFmpeg-user] Preview desktop capture

Lou lou at lrcd.com
Thu Jun 12 00:48:33 CEST 2014


On Wed, 11 Jun 2014 15:39:49 -0700 (PDT)
"mark_a_lee-abeng at yahoo.ca" <mark_a_lee-abeng at yahoo.ca> wrote:

> Greetings again.  Two questions:
> 
> (1) Is it possible to embed ffplay in an application window
> (Lazarus/Free Pascal GUI/Debian Wheezy)?

I don't have an answer for this.

> (2) Is it possible to preview the area of a desktop that is to be
> captured in the player I asked about in (1) or another player that can
> be embedded?

The simplest command is:

  ffplay -f x11grab -i :0.0

I'm not sure if that is helpful for you though.

Also, the "-show_region" x11grab option may also be of interest:
http://ffmpeg.org/ffmpeg-devices.html#x11grab


More information about the ffmpeg-user mailing list