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

Paul B Mahol onemda at gmail.com
Tue Sep 8 14:29:46 EEST 2020


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.


More information about the ffmpeg-devel mailing list