[FFmpeg-devel] x11 output device for libavdevice

Stefano Sabatini stefasab at gmail.com
Sun May 26 12:48:17 CEST 2013


On date Tuesday 2013-05-14 17:58:35 +0200, Stefano Sabatini encoded:
> On date Wednesday 2013-04-17 19:35:03 +0000, Moguillansky, Jeff encoded:
> > Thanks,
> 
> > Unfortunately I won't be able to continue working on xvideo output
> > device but if anyone wants to take over, feel free.  -Jeff
> 
> Here.
> 
> Todo: support more pixel formats and options (for example w/h/x/y),
> but I don't plan to work on them soon, so I suggest to push as is and
> make easier for other contributors to extend it.
> 
> BTW does someone know how to draw on the root window (allowing to
> implement live desktop background with FFmpeg)?
> -- 
> FFmpeg = Fundamentalist and Friendly Meaningless Puristic Emblematic Gladiator

> From d01b0791f02936033c335166fbd2c650e90994fa Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefasab at gmail.com>
> Date: Tue, 14 May 2013 13:44:29 +0200
> Subject: [PATCH] lavd: add xv device
> 
> Based on the work of Jeff Moguillansky <Jeff.Moguillansky at am.sony.com>.
> 
> See thread:
> Subject: [FFmpeg-devel] x11 output device for libavdevice
> Date: Wed, 10 Apr 2013 23:10:47 +0000
> ---
>  configure                |    4 +
>  doc/outdevs.texi         |   27 +++++++
>  libavdevice/Makefile     |    1 +
>  libavdevice/alldevices.c |    1 +
>  libavdevice/xv.c         |  183 ++++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 216 insertions(+)
>  create mode 100644 libavdevice/xv.c

Updated with a few more options, and a TODO. As suggested by Reimar,
the live desktop thing could be done by implementing a -window_id
option to set the already existing window to use, as an alternative to
creating a new one.
-- 
FFmpeg = Faithless and Foolish Merciful Political Exciting Game
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavd-add-xv-device.patch
Type: text/x-diff
Size: 13026 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130526/9ed142fa/attachment.bin>


More information about the ffmpeg-devel mailing list