philippe_44 wrote: 
> My guess is that you're not telling faac what format is the input.
> Spotty spits raw pcm, not wav so faac has no idea what it is receiving.
> You can have a look at the other rules

Thanks for the help. I say that because I know this is not an important
issue, it just bugs me that I cannot get transcoding to AAC to work!

I am using the faac -P option, which assumes raw pcm input. I modified
my SPT->AAC conversion rule to this:
spt aac * *
# RT:{START=--start-position %s}
[spotty] -n Squeezebox -c "$CACHE$" --single-track $URL$ --bitrate
320 --disable-discovery --disable-audio-cache $START$ | [faac] -P -q 150
--mpeg-vers 4 -o - -

The issue has something to do with streaming the AAC format to stdout.
When attempting to stream to my SBT, I do get error messages such as:
[21-01-06 15:34:58.7095] Slim::Player::Squeezebox2::statHandler (149)
Error: 00:04:20:23:c4:ce: Decoder does not support file format, code 0

I tried streaming to a squeezelite client, and using the UPnPBridge too.
I tried both mpeg versions 2 and 4. The format being generated by
libfaac is not acceptable somehow. I get a similar result using ffmpeg,
and it's various encoding choices.  Encoding to AAC is somehow different
than using the AAC pass-through rule.



*Living Room:* SB Touch + DIY PSU > CI Audio VDA.2 DAC + VAC.1 PSU >
VRX.1 cables > Emotiva XSP-1 Gen 2 preamp + XPA-DR2 amp > Blue Jeans
cables > B&W 804 speakers
*Laptop:* System76 Galago + Ubuntu 16.04 + Squeezelite +
Vivaldi/Material Skin > Emotiva Little Ego DAC > Grado PS500 headphones
*Bedroom:* RPi Zero W + Squeezelite > miniBOSS DAC HAT > Bose SoundLink
Revolve
*Phone:* Pixel 3a + SB Player + Material APK > Senn IE80 earbuds
*Server:* Puget Systems Serenity + Ubuntu 18.04 + LMS 8.2
------------------------------------------------------------------------
Ron F.'s Profile: http://forums.slimdevices.com/member.php?userid=5616
View this thread: http://forums.slimdevices.com/showthread.php?t=111923

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

Reply via email to