Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
b90bc564 by Alexandre Janniaux at 2026-02-23T17:14:27+01:00
vlc_fourcc: add ATRAC audio codecs
- - - - -
252dae35 by Alexandre Janniaux at 2026-02-23T17:14:27+01:00
fourcc_list: document ATRAC audio codecs
- - - - -
aca398cb by Alexandre Janniaux at 2026-02-23T17:14:27+01:00
avcodec: fourcc: map ATRAC audio codecs
This allows playing .oma files (SONY OpenMG files) with audio.
- - - - -
3 changed files:
- include/vlc_fourcc.h
- modules/codec/avcodec/fourcc.c
- src/misc/fourcc_list.h
Changes:
=====================================
include/vlc_fourcc.h
=====================================
@@ -590,6 +590,9 @@
#define VLC_CODEC_ATRAC1 VLC_FOURCC('a','t','r','1')
#define VLC_CODEC_ATRAC3 VLC_FOURCC('a','t','r','c')
#define VLC_CODEC_ATRAC3P VLC_FOURCC('a','t','r','p')
+#define VLC_CODEC_ATRAC3AL VLC_FOURCC('a','t','r','l')
+#define VLC_CODEC_ATRAC3PAL VLC_FOURCC('a','t','p','l')
+#define VLC_CODEC_ATRAC9 VLC_FOURCC('a','t','r','9')
#define VLC_CODEC_IMC VLC_FOURCC(0x1,0x4,0x0,0x0)
#define VLC_CODEC_TRUESPEECH VLC_FOURCC(0x22,0x0,0x0,0x0)
#define VLC_CODEC_NELLYMOSER VLC_FOURCC('N','E','L','L')
=====================================
modules/codec/avcodec/fourcc.c
=====================================
@@ -477,6 +477,9 @@ static const struct vlc_avcodec_fourcc audio_codecs[] =
{ VLC_CODEC_TRUEHD, AV_CODEC_ID_TRUEHD },
{ VLC_CODEC_ALS, AV_CODEC_ID_MP4ALS },
{ VLC_CODEC_ATRAC1, AV_CODEC_ID_ATRAC1 },
+ { VLC_CODEC_ATRAC3AL, AV_CODEC_ID_ATRAC3AL },
+ { VLC_CODEC_ATRAC3PAL, AV_CODEC_ID_ATRAC3PAL },
+ { VLC_CODEC_ATRAC9, AV_CODEC_ID_ATRAC9 },
{ VLC_CODEC_BINKAUDIO_RDFT, AV_CODEC_ID_BINKAUDIO_RDFT },
{ VLC_CODEC_BINKAUDIO_DCT, AV_CODEC_ID_BINKAUDIO_DCT },
{ VLC_CODEC_MP4A, AV_CODEC_ID_AAC_LATM },
=====================================
src/misc/fourcc_list.h
=====================================
@@ -1574,6 +1574,15 @@ static const staticentry_t p_list_audio[] = {
B(VLC_CODEC_ATRAC3P, "atrac 3+"),
A("atrp"),
+ B(VLC_CODEC_ATRAC3AL, "atrac 3 advanced lossless"),
+ A("atrl"),
+
+ B(VLC_CODEC_ATRAC3PAL, "atrac 3+ advanced lossless"),
+ A("atpl"),
+
+ B(VLC_CODEC_ATRAC9, "atrac 9"),
+ A("atr9"),
+
B(VLC_CODEC_IMC, "IMC" ),
A("\x01\x04\x00\x00"),
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/compare/61d8f2d6c138914bb89d5e4ab4685dd067ba4a36...aca398cbec402a215c7c97f2851a91a3f8c744ee
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/compare/61d8f2d6c138914bb89d5e4ab4685dd067ba4a36...aca398cbec402a215c7c97f2851a91a3f8c744ee
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits