These deps are only needed for the stable download, but they will get
pulled in for HEAD builds unless the are scoped appropriately (i.e.
inside a stable block).
Since they are also auto-detected from the URL now, we can just remove
them.
* Add head URL.
* Enable more optional dependencies.
* Enable avplay with optional sdl dependency.
* Currently libcdio, libdc1394, and libgsm dependencies doesn't work out
of the box. May need to keep an eye on them.
Partially adapted from the ffmpeg formula. libav compilation seems robust, I
tested on two laptops and installed alongside ffmpeg without issue. I also
tested with all build options enabled.
Previous mention of a libav formula was at #12534.
Closes#20827.
Signed-off-by: Xiyue Deng <manphiz@gmail.com>