[FFmpeg-devel] [PATCH v3 0/8] add fd protocol
Rémi Denis-Courmont
remi at remlab.net
Fri Jan 13 20:12:54 EET 2023
Le perjantaina 13. tammikuuta 2023, 5.37.36 EET zhilizhao(赵志立) a écrit :
> > On Jan 13, 2023, at 03:13, Rémi Denis-Courmont <remi at remlab.net> wrote:
> >
> > Le keskiviikkona 11. tammikuuta 2023, 10.52.08 EET Paul B Mahol a écrit :
> >>> Sorry for the break, I’m trying to figure out how to make it compatible
> >>> with Windows.
> >>
> >> Is this even portable?
> >
> > If you build FFmpeg correctly, so that all the FFmpeg libraries and the
> > application code share the same instance of the same CRT, yes. That is to
> > say, you can use POSIX-style file descriptors.
> >
> > Whether it is of any practical usefulness is more questionable, as those
> > file descriptors are not passed from parent to child processes
>
> When an app requests a media file, Android system provides it as a file
> descriptor over IPC for security. Users may find other usecases.
I'm not quite clear how that is relevant to Windows, TBH.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the ffmpeg-devel
mailing list