[FFmpeg-devel] [PATCH] avfilter: add http video filter.

Nicolas George george at nsup.org
Fri Sep 11 16:49:50 EEST 2020


Alex (12020-09-11):
> Can You explain more, because I not fully understand "hard-codingĀ " params, http.

Where does it say that the size and format of the frame needs to be
passed as "width=1280&height=720&format=1" rather than
"1280x720/yuv420p"?

In fact, where did you find that using the numeric value of a codec id
like that was a good idea?

You are not adding a generic filter, not even a generic HTTP filter, you
are defining your own private protocol op top of HTTP, without even
realizing it, without properly documenting it, and making it
unacceptably limited (where is the time base? where is the aspect
ratio?).

There are already many protocols and formats that already do all of it,
properly.

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/20200911/1ceb95b3/attachment.sig>


More information about the ffmpeg-devel mailing list