[FFmpeg-devel] [RFC] fftools/ffmpeg and libavdevice/sdl issue
Nicolas George
george at nsup.org
Mon Dec 18 22:02:15 EET 2023
Michael Niedermayer (12023-12-18):
> I think the first question is, does this actually need
> "massive hacks in ffmpeg CLI" ?
Thank you for bringing some sanity.
> If you ignore the recommandition that SDL should be run from the main
> thread then iam not sure what change would be needed in ffmpeg CLI at all.
I must say, I am very dubious about the statement. It is probably an
over-simplification for “in the same thread” with caveats.
> The last option would maybe be to run some sort of AVExecutor on the
> main thread and allow things like muxers to que operations on it.
> The muxers would totally unchanged be running on a random thread
> but que some operation on the main thread if an external lib, driver or
> other needs it.
> Naively that feels relatively clean to me
Of course. Having that kind of mechanism is obviously necessary anyway.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231218/d87a940f/attachment.sig>
More information about the ffmpeg-devel
mailing list