bpa wrote: 
> OK - that's positive.
> 
> It seems that since mplayer can output to an Alsa device and audio is
> heard, it would seem likely that squeezelite should be able to do the
> same.
> 
> The known issues are 
> 1. the asound library is not on the path - this could be a build issue
> if th path is non standard and so continue with present solution and
> hope it is OK.
> 2. when a suitable device is chosen - no audio is output.  The reason
> for this is not clear.
> 3. there is a no amixer or alsamixer command so no easy access to ALSA
> devices, their settings or controls
> 4. Unclear what the mplayer command option "-unique USB"  does - it
> seems to be important.
> 
> Since mplayer works, I think, it is worthwhile trying to spend time
> getting it to output more diagnostic. This means you have to learn more
> as waiting for me to suggest a command and then executing it a few days
> later will mean this process will take until Christmas.
> 
> Starting point - linux application normally have "help" options - which
> will tell what option can be given or are supported.  Please try the
> following (or any other variations you can think of or see suggested on
> Internet) 
> > 
Code:
--------------------
  >   > 
  > mplayer -?
  > mplayer -h
  > mplayer -help
  > mplayer -msglevel help
  > mplayer -ao help
  > mplayer -unique help
  > man mplayer 
  > 
--------------------
> > 
> 
> 
> 
> 
> The mplayer confguration files which could incldue the default
> settings when using Alsa devices may be somewhere on your system.  One
> of these files the "input.conf" is what is being checked in the
> messages 
> > 
Code:
--------------------
  >   > 
  > Cannot open file '/root/.mplayer/input.conf': No such file or directory
  > Failed to open /root/.mplayer/input.conf.
  > Cannot open file '/usr/local/etc/mplayer/input.conf': No such file or 
directory
  > Failed to open /usr/local/etc/mplayer/input.conf.
  > 
--------------------
> > 
> 
> Can you check for mplayer "conf" files on your system especially just
> "config" and "mplayer.conf" in the directories checked above (i.e.
> /root/.mplayer , /usr/local/etc/mplayer )  - note directories with
> leading dot are hidden.  If find the files examine and attach or post
> contents.

Thanks a lot! I will look into this and report back. 


In the mean time, I tried -v at the end of the command, which gave a
different result. Does this help in any way? 


root@Akela2:~# /var/packages/AudioStation/target/bin/mplayer
-gapless-audio -ao alsa -unique USB "/volume1/music/Santana/Shaman/1 -
Adouma.flac" -v
Reading config file /usr/local/etc/mplayer/mplayer.conf
: No such file or directory
get_path('') -> '/root/.mplayer/'
get_path('config') -> '/root/.mplayer/config'
Reading config file /root/.mplayer/config
MPlayer2 62ebca1 (C) 2000-2012 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 11
CPU: Intel(R) Celeron(R) CPU  N3160  @ 1.60GHz (Family: 6, Model: 76,
Stepping: 4)
extended cpuid-level: 8
extended cache-info: 67141696
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
Compiled against libavutil version 55.58.100
Compiled against libavcodec version 57.89.100
Compiled against libavformat version 57.71.100
Compiled against libswscale version 4.6.100
No optional codecs config file: /usr/local/etc/mplayer/codecs.conf
166 audio & 363 video codecs
Using built-in default codecs.conf.
Configuration: --enable-cross-compile --target=x86_64-pc-linux-gnu
--cc=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc
--extra-cflags=-I/source/ffmpeg-3.3-virtual-audio-station
-DSYNOPLAT_F_X86_64 -DSYNO_X64 -O2 -DBUILD_ARCH=64 -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -DSYNO_PLATFORM=X64 -g -DSDK_VER_MIN_REQUIRED=600
-pipe -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result
-I/source/alsa-lib-1.0.25/include -I/source/pulseaudio-2.1/src
-I/source/libsynomplayerinfo/include  --extra-ldflags=    
-L/source/ffmpeg-3.3-virtual-audio-station/libavformat -lavformat      
-L/source/ffmpeg-3.3-virtual-audio-station/libavcodec -lavcodec        
-L/source/ffmpeg-3.3-virtual-audio-station/libavutil -lavutil  
-L/source/ffmpeg-3.3-virtual-audio-station/libavdevice -lavdevice      
-L/source/ffmpeg-3.3-virtual-audio-station/libavfilter -lavfilter      
-L/source/ffmpeg-3.3-virtual-audio-station/libswscale -lswscale        
-L/source/ffmpeg-3.3-virtual-audio-station/libswresample -lswresample  
-L/source/ffmpeg-3.3-virtual-audio-station/libavresample -lavresample  
-lz     -lmp3lame   -Wl,-z,relro -Wl,--as-needed -Wl,--no-undefined
-L/source/alsa-lib-1.0.25/src/.libs -lasound
-L/source/pulseaudio-2.1/src/.libs  -L/source/libsndfile-1.0/src/.libs
-L/source/libsynomplayerinfo/lib       
-Wl,-rpath,/var/packages/AudioStation/target/lib       
-Wl,-rpath,/var/packages/AudioStation/target/lib/ffmpeg 
--extra-libs=-lpulse -lpulsecommon-2.1  -lsndfile  -ldbus-1 -ljson-c
-lsynomplayerinfo -ljson -lsynocredentials --disable-libass
--disable-faad --enable-libav --enable-alsa --enable-pulse
--enable-libavresample --disable-tv-v4l2 --disable-tv --disable-v4l2
--disable-vcd --disable-qtx --disable-xanim --disable-real --disable-tga
--disable-pnm --disable-md5sum --disable-libvorbis --disable-yuv4mpeg
CommandLine: '-gapless-audio' '-ao' 'alsa' '-unique' 'USB'
'/volume1/music/Santana/Shaman/1 - Adouma.flac' '-v'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Cannot open file '/root/.mplayer/input.conf': No such file or directory
Failed to open /root/.mplayer/input.conf.
Can't open input config file /root/.mplayer/input.conf.
Cannot open file '/usr/local/etc/mplayer/input.conf': No such file or
directory
Failed to open /usr/local/etc/mplayer/input.conf.
Can't open input config file /usr/local/etc/mplayer/input.conf.
Falling back on default (hardcoded) input config
get_path('1 - Adouma.flac.conf') -> '/root/.mplayer/1 -
Adouma.flac.conf'

Playing /volume1/music/Santana/Shaman/1 - Adouma.flac.
get_path('sub/') -> '/root/.mplayer/sub/'
[file] File size is 32461551 bytes
STREAM: [file] /volume1/music/Santana/Shaman/1 - Adouma.flac
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: raw FLAC
Detected file format: raw FLAC (libavformat)
==> Found audio stream: 0
======= WAVE Format =======
Format Tag: 61868 (0xF1AC)
Channels: 2
Samplerate: 44100
avg byte/sec: 0
Block align: 1
bits/sample: 0
cbSize: 34
Unknown extra header dump: [10] [0] [10] [0] [0] [0] [e] [0] [36] [1a]
[a] [c4] [42] [f0] [0] [ab] [ae] [b4] [49] [8d] [1f] [c1] [5b] [29] [e5]
[7a] [e4] [29] [e3] [ba] [ba] [9] [fb] [a4]
==========================================================================
[lavf] stream 0: audio (flac), -aid 0
==> Found video stream: 1
======= VIDEO Format ======
biSize 40
biWidth 500
biHeight 499
biPlanes 0
biBitCount 0
biCompression 1196444237='MJPG'
biSizeImage 0
===========================
[lavf] stream 1: video (mjpeg), -vid 0
LAVF: 1 audio and 1 video streams found
Clip info:
TITLE: Adouma
ARTIST: Santana
ALBUM: Shaman
GENRE: Rock
COMMENT:  -  -  -  -  -
ORGANIZATION: Arista
ENSEMBLE: Santana
track: 1
DATE: 2002
ALBUM ARTIST: Santana
album_artist: Santana
get_path('sub/') -> '/root/.mplayer/sub/'
Opening audio decoder: [ffmpeg] libavcodec audio decoders
dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
INFO: libavcodec "flac" init OK!
Selected audio codec: FLAC (Free Lossless Audio Codec) [libavcodec]
Audio codecs.conf entry: ffflac (FFmpeg FLAC audio)  afm: ffmpeg
AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Audio filter chain:
[in] 44100Hz/2ch/s16le
[dummy] 44100Hz/2ch/s16le
[out] 0Hz/0ch/??
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Audio filter chain:
[in] 44100Hz/2ch/s16le
[dummy] 44100Hz/2ch/s16le
[out] 0Hz/0ch/??
Trying preferred audio driver 'alsa', options '[none]'
alsa-init: requested format: 44100 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.25
alsa-init: using device hw:0
alsa-init: pcm opened in blocking mode
alsa-init: got buffersize=88200
alsa-init: got period size 1298
alsa: 44100 Hz/2 channels/4 bpf/88200 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <[email protected]>
AO: Comment: under development
Building audio filter chain for 44100Hz/2ch/s16le ->
44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Audio filter chain:
[in] 44100Hz/2ch/s16le
[dummy] 44100Hz/2ch/s16le
[out] 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Audio filter chain:
[in] 44100Hz/2ch/s16le
[dummy] 44100Hz/2ch/s16le
[out] 44100Hz/2ch/s16le
Remove the equalizer filter
Video: no video
Freeing 0 unused video chunks.
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
Increasing filtered audio buffer size from 65536 to 90240
A:  16.2 (16.2) of 255.1 (04:15.1)  0.5%


MPlayer interrupted by signal 2 in module: unknown
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: ffmpeg
[AO_ALSA] Mixer attach default error: No such file or directory
alsa-uninit: pcm closed

Exiting... (Quit)


------------------------------------------------------------------------
Thorden's Profile: http://forums.slimdevices.com/member.php?userid=66927
View this thread: http://forums.slimdevices.com/showthread.php?t=97766

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to