Closed UseRadio closed 3 years ago
In the lliquidsoap config I have set the following:
set("decoder.file_extensions.mad",["mp3","mp2","mp1"]) set("decoder.mime_types.mad",["audio/mpeg","audio/MPA"]) set("decoder.stream_decoders",["FFMPEG"])
But in runtime different decoders are tested until method "Mad" is picked up. How can I fix this issue?
The log file:
2021/07/01 09:38:54 [decoder.aac:4] Invalid MIME type for "/home/radio/mp3s/files/Intro_01/64k_Intro_01A.mp3": audio/mpeg! 2021/07/01 09:38:54 [decoder.aac:4] Invalid file extension for "/home/radio/mp3s/files/Intro_01/64k_Intro_01A.mp3"! 2021/07/01 09:38:54 [decoder:4] Trying method "MP4" for "/home/radio/mp3s/files/Intro_01/64k_Intro_01A.mp3"... 2021/07/01 09:38:54 [decoder:4] Decoder "MP4" failed on "/home/radio/mp3s/files/Intro_01/64k_Intro_01A.mp3": Faad.Failed! 2021/07/01 09:38:54 [decoder:4] Trying method "OGG" for "/home/radio/mp3s/files/Intro_01/64k_Intro_01A.mp3"... 2021/07/01 09:38:54 [playlist parser:4] Trying audio/x-scpls parser 2021/07/01 09:38:54 [playlist parser:4] Trying application/x-mpegURL parser 2021/07/01 09:38:54 [decoder.ogg:4] Invalid MIME type for "/home/radio/mp3s/files/Intro_01/64k_Intro_01A.mp3": audio/mpeg! 2021/07/01 09:38:54 [decoder.ogg:4] Invalid file extension for "/home/radio/mp3s/files/Intro_01/64k_Intro_01A.mp3"! 2021/07/01 09:38:54 [decoder:4] Trying method "MAD" for "/home/radio/mp3s/files/Intro_01/64k_Intro_01A.mp3"... 2021/07/01 09:38:54 [decoder.mad:4] Libmad recognizes "/home/radio/mp3s/files/Intro_01/64k_Intro_01A.mp3" as mpeg audio (layer III, 64kbps, 22050H$ 2021/07/01 09:38:54 [decoder:3] Method "MAD" accepted "/home/radio/mp3s/files/Intro_01/64k_Intro_01A.mp3".
I tested to set set("decoder.file_decoders",["MAD", "GSTREAMER"])
and it solved my problem.
I close this one.
In the lliquidsoap config I have set the following:
But in runtime different decoders are tested until method "Mad" is picked up. How can I fix this issue?
The log file: