Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: codec selector (switcher)
#12
Ok now I understand.

AAC encoded web radio is decoded by faad according to MPD log

Code:
Oct 18 20:41 : playlist: play 4:"http://aac-64.streamthejazzgroove.com:80/stream"
Oct 18 20:41 : curl: icy-metaint=16000
Oct 18 20:41 : decoder_thread: probing plugin faad
Oct 18 20:41 : decoder: audio_format=44100:16:2, seekable=false
Oct 18 20:41 : alsa_output: opened hw:0,0 type=HW
Oct 18 20:41 : alsa_output: buffer: size=128..131072 time=2902..2972155
Oct 18 20:41 : alsa_output: period: size=64..65536 time=1451..1486078
Oct 18 20:41 : alsa_output: default period_time = buffer_time/4 = 500000/4 = 125000
Oct 18 20:41 : alsa_output: format=S16_LE (Signed 16 bit Little Endian)
Oct 18 20:41 : alsa_output: buffer_size=22050 period_size=4410
Oct 18 20:41 : output: opened plugin=alsa name="ALSA default" audio_format=44100:16:2

To use fdk-aac for AAC encoded web radio you would need to have the code block in mpd.conf with enable="no" for faad decoder and due to the restrictive license, you would need to custom compile ffmpeg (libav) with the fdk-aac codec and install it on Moode OS. The license prohibits me from doing this and redistributing it.
https://trac.ffmpeg.org/wiki/Encode/AAC#fdk_aac
https://wiki.libav.org/Encoding/aac

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
codec selector (switcher) - by kitamura_design - 10-16-2018, 05:45 AM
RE: codec selector (switcher) - by Tim Curtis - 10-16-2018, 12:01 PM
RE: codec selector (switcher) - by Tim Curtis - 10-16-2018, 06:08 PM
RE: codec selector (switcher) - by Tim Curtis - 10-17-2018, 06:44 PM
RE: codec selector (switcher) - by Tim Curtis - 10-18-2018, 01:00 PM
RE: codec selector (switcher) - by Tim Curtis - 10-18-2018, 03:56 PM
RE: codec selector (switcher) - by Tim Curtis - 10-19-2018, 01:00 AM
RE: codec selector (switcher) - by Tim Curtis - 10-19-2018, 02:36 AM

Forum Jump: