[FFmpeg-devel] [RFC] fftools/ffmpeg and libavdevice/sdl issue

Michael Niedermayer michael at niedermayer.cc
Tue Dec 19 21:36:53 EET 2023


On Tue, Dec 19, 2023 at 08:48:39PM +0200, Rémi Denis-Courmont wrote:
> Le tiistaina 19. joulukuuta 2023, 18.58.40 EET Michael Niedermayer a écrit :
> > so the idea is that we cannot access any GUI in any code from anything in
> > libavformat and probably all other libs, ever
> 
> No. The idea is that a command line program cannot use the GUI, and a library 
> can only use the GUI if the main program is a GUI program.

with that, the obvious thought would be to have the user interface of ffmpeg
factored out and then the user can choose between a text based command line
and GUI interface. Thats not so trivial but its a clean way to do it.

This can form the basis of a video player, video editor and so on

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231219/a44638ba/attachment.sig>


More information about the ffmpeg-devel mailing list