1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-11 17:37:01 +00:00
mpv/DOCS/man
wm4 9ac86d9e99 audio: decouple demux and audio decoder/filter sample formats
For a while, we used this to transfer PCM from demuxer to the filter
chain. We had a special "codec" that mapped what MPlayer used to do
(MPlayer passes the AF sample format over an extra field to ad_pcm,
which specially interprets it).

Do this by providing a mp_set_pcm_codec() function, which describes a
sample format in a generic way, and sets the appropriate demuxer header
fields so that libavcodec interprets it correctly. We use the fact that
libavcodec has separate PCM decoders for each format. These are
systematically named, so we can easily map them.

This has the advantage that we can change the audio filter chain as we
like, without losing features from the "rawaudio" demuxer. In fact, this
commit also gets rid of the audio filter chain formats completely.
Instead have an explicit list of PCM formats. (We could even just have
the user pass libavcodec PCM decoder names directly, but that would be
annoying in other ways.)
2014-09-24 22:55:50 +02:00
..
af.rst audio: drop swapped-endian audio formats 2014-09-23 23:09:25 +02:00
ao.rst man: fix a whole bunch of typos 2014-09-01 04:27:13 +02:00
changes.rst man: fix a whole bunch of typos 2014-09-01 04:27:13 +02:00
encode.rst man: fix a whole bunch of typos 2014-09-01 04:27:13 +02:00
input.rst command: allow using ASS tags on OSD messages 2014-09-18 00:49:55 +02:00
lua.rst lua: synchronously wait until scripts are loaded 2014-09-06 17:02:47 +02:00
mpv.rst manpage: document terminal status line components 2014-09-20 00:50:04 +02:00
options.rst audio: decouple demux and audio decoder/filter sample formats 2014-09-24 22:55:50 +02:00
osc.rst man: fix a whole bunch of typos 2014-09-01 04:27:13 +02:00
vf.rst manpage: clarify vf_pp docs 2014-09-21 11:10:52 +02:00
vo.rst vo_corevideo: remove this VO 2014-09-06 14:10:22 +02:00