sentriz / gonic

music streaming server / free-software subsonic server API implementation
ircs://irc.libera.chat/#gonic
GNU General Public License v3.0
1.49k stars 105 forks source link

Transcoding seemingly does nothing #463

Closed AlicesReflexion closed 5 months ago

AlicesReflexion commented 5 months ago

gonic version: 0.16.2

if from docker, docker tag: latest

I have my client, Symfonium, request a max bitrate of 192kbps. image

MaxBitRate is successfully passed to Gonic, I can see it in the log:

image

Gonic has transcoding profiles, for both * and the Synfonium client:

image

The file that Symfonium receives back, however, is a 24-bit FLAC, at a whopping 1570kbps:

image

Docker-compose.yml is as follows

services:
  gonic:
    image: sentriz/gonic:latest
    environment:
      - TZ
      - GONIC_MULTI_VALUE_GENRE=multi
      - GONIC_MULTI_VALUE_ARTIST=multi
      - GONIC_MULTI_VALUE_ALBUM_ARTIST=multi
    ports:
      - 4747:80
    volumes:
      - /home/alice/.gonic:/data
      - /home/alice/.playlists:/playlists
      - /home/alice/disks/encrypted/Music:/music:ro
      - /home/alice/.cache/gonic:/cache

The docker container seems to have the ffmpeg binary

sudo docker exec -it alice_gonic_1 "ffmpeg"
ffmpeg version 6.0.1 Copyright (c) 2000-2023 the FFmpeg developers

So, at this point, I'm kind of at a loss as to what could be going wrong.

sentriz commented 5 months ago

can you try the :nightly tag, it has some extra logging for transcoding

AlicesReflexion commented 5 months ago

serving raw file, no user transcode preferences found for client "Symfonium"!?

AlicesReflexion commented 5 months ago

Oh! I didn't realize transcode settings were different for each user. I assumed the admin set those and it worked system-wide.