Re: Opus audio

The Wanderer <[email protected]>
Newsgroups gmane.comp.video.mplayer.user
Organization This space intentionally left blank.
Message-ID <[email protected]>
On 2018-10-19 at 15:20, Philipp Stanner wrote:

> Ok, great to know :)
> 
> But some codecs are supported natively without linking to other
> libraries? Thinking about it this way I wonder why anyone would
> support codecs natively in any case, as you can just link to the
> responsible libs.

Short answer: historical reasons.

IIRC, this was partly because in some cases there *weren't* originally
any libraries available (for the relevant platforms) which supported the
codecs in question, and in others someone thought the available library
didn't do the job well enough and thought they could do better.

Of course, if you're going to try to implement codec (etc.) support
better, it would make more sense to do it in a library than in MPlayer
itself, so that it can be used by other software - and, if I'm not
mistaken, that's exactly why so many codecs (etc.) got implemented in
FFmpeg rather than natively within MPlayer.


If all you want is to have MPlayer support the codec, it's very probably
faster and easier to implement the codec within MPlayer than to write a
separate library and then implement MPlayer support for that library.

But it's probably even faster and easier than *that* to implement the
codec within FFmpeg (which MPlayer already supports) and then let
MPlayer pick it up automagically - and doing that means other software,
beyond just MPlayer, can get the new codec automagically as well.

About the only reason to do it as an independent library nowadays, that
I can think of offhand, is if you don't want to deal with getting it
accepted into FFmpeg (and/or don't want to live within the constraints
of the FFmpeg structure).

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

_______________________________________________
MPlayer-users mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEJCOqsZEc2qVC44pUBKk1jTQoMmsFAlvKO9cACgkQBKk1jTQo
MmtWXQ/8D1nAWlKzycZ9eLTdwkfRQz6/ZquzZ2E7GFPwM/9LUVjKJuM0Tr4vLCBW
HTu8wbMiI97T0yqB2tCGGho2VtENeUSZAxDCptx7LzdlLQNkgsQGWh67eVPxhsyq
f/YHLU/zJgO/vduM5oMOukZmlPYdbc3mRmux9WFHzDlNep3k52cq+kM6xcXXfzsi
7g7Qn6+PKnc055c64LloB135iHo4+w1h4vkbbIK+Mwtenr61AzpzECvOg5RT9MNy
2oxFmsS65mK95yocHGsZGoqK8v8H7N8oGY8nCY4SNHKQBytrSmjX/SDKxg9EgnXm
YYFZ69QBqj9+fxUIvR1AeB0pmQRo+R6IVdTeR0J5PqiHyXKExK9vLlPpEQ5NeJpT
MM4r2FeBKsTSuUs3J5H+ckiP1SgyzlITb8XZCOk3ldeloKt4zu6jpbOZIdUSb89k
VrbHwe/N9OuRDy6nrmXVGars48qZTHIm6AX8XjK7YbtRF3L6D5y5LKLNo0ZaIbNl
JVEIfwCO2+51doyAibv69Z+47aTHDT6sdxE9Geb3GqxxvwoCVLoLnXHwikiygidV
eP9eOicECkDV7Qfsger05cg+OrhuAvvLfZ4LF37VZVin2+5DOZ3H9GU28TXKJOBd
GVGsZ3lqWsGSu6XGoAvICGgFhsVgEf9u3ir6KQWnOrL9BPtiUfA=
=5A45
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.