1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 05:15:12 +00:00
mpv/audio/decode
wm4 9ce4526139 audio: prefer libavcodec over libmpg123
libavcodec/libavformat now handles gapless audio better. In theory, this
could be implemented with ad_mpg123 too, but since libavformat strips
metadata from mp3 files and passes pure mp3 packets to the decoders
only, this can't work by itself. Instead, the player must pass this
metadata separately. libav* do this relatively transparently over packet
"side data" (attached to AVPacket).

It might also be possible to let libmpg123 handles all this by
implementing it as demuxer that outputs PCM, but that would have other
problems, and I think it's better to make libavformat work correctly.

libmpg123 can still be used with '--ad=mpg123:mp3'.

Also see issue #1101.
2014-09-22 22:38:06 +02:00
..
ad_lavc.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ad_mpg123.c audio: change playback restart and resyncing 2014-07-28 21:20:37 +02:00
ad_spdif.c audio: change playback restart and resyncing 2014-07-28 21:20:37 +02:00
ad.h audio: move initial decode to generic code 2014-07-21 19:29:58 +02:00
dec_audio.c audio: prefer libavcodec over libmpg123 2014-09-22 22:38:06 +02:00
dec_audio.h audio: ignore (some) decoding errors on initialization 2014-07-29 18:05:55 +02:00