[FFmpeg-devel] Can anyone write simple "http" filter for 100$ ?

Alex 3.14pi at ukr.net
Tue Sep 8 15:26:42 EEST 2020


I think it's not so bad if in my case server post-process of images is very slow (max 3-10fps). And I'ts easy way to communicate between ffmpeg filter and other process/server.Why not?

--- Original message ---
From: "Paul B Mahol" <onemda at gmail.com>
Date: 8 September 2020, 14:30:05

On Tue, Sep 08, 2020 at 01:58:44PM +0300, Alex wrote:
> Hi!Can any one write simple "http" filter for ffmpeg and I'm paying for this job 100$.
> Filter must accept server address, port, path, query as options. This filter, just send post request with attached raw image/frame data to the server and server will respond with new post-processed image/frame then this frame must be injected to next filter in ffmpeg filter complex. 
> In other word I need to do post-processing of image/frame on remote server.
>  
> Filter must be used like so:
> ffmpeg -i video.mp4 -vf scale=1920:-1,format=rgb24,http=http//127.0.0.1:8080/image-post-processing?param1=abc&param2=123,format=yuv420p  -c:v h264 -an -y out.mp4

This is just a bad idea to do.

> 
> Is it possible to use libcurl for post requests in ffmpeg filter?
>  https://curl.haxx.se/libcurl/c/postinmemory.html

Even if it is really possible, it would be bad idea to write filter which would do it.
Would filter need to wait indefinetely for server response, etc. There
are so many issue with such idea.
There are much better ways to do what you want.
_______________________________________________
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