[FFmpeg-devel] [PATCH v3 0/8] add fd protocol

"zhilizhao(赵志立)" quinkblack at foxmail.com
Fri Jan 13 05:37:36 EET 2023


> 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.

> 
> -- 
> Реми Дёни-Курмон
> http://www.remlab.net/
> 
> 
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list