timl
Posts: 44
Joined: Sat May 04, 2013 3:41 am

AAC on Pi

Sat Apr 20, 2019 8:10 am

Hi, I tried to play an audio track on my Pi via a bluetooth speaker. Codec information as follows

Code: Select all

ID                                       : 1
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 3 h 2 min
Bit rate mode                            : Variable
Bit rate                                 : 322 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 419 MiB (100%)
Language                                 : English
Default                                  : Yes
Alternate group                          : 1
Not a sound. The following error was spat out at the command line from vlc

Code: Select all

VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85f73)
[01c38e80] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[01c4f420] main interface error: no suitable interface module
[01bc9938] main libvlc error: interface "globalhotkeys,none" initialization failed
[01bc9938] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[01c4f420] skins2 interface error: cannot initialize OSFactory
[01c4f420] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.6 Vetinari
Command Line Interface initialized. Type `help' for help.

The error says connection refused however I used ffmpeg on another computer to convert the file to mp3 and all is good. Do I need to install a specific package for AAC? BTW I tried cvlc also with this error

Code: Select all

VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85f73)
[00150e90] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[00166f78] main interface error: no suitable interface module
[000e1938] main libvlc error: interface "globalhotkeys,none" initialization failed
[00166fe0] dummy interface: using the dummy interface module...
TIA

Return to “General discussion”