navidrome / navidrome

🎧☁️ Modern Music Server and Streamer compatible with Subsonic/Airsonic
https://www.navidrome.org
GNU General Public License v3.0
10.48k stars 798 forks source link

[Bug]: transcoding is not working #2891

Closed qilinxinan closed 3 months ago

qilinxinan commented 3 months ago

I confirm that:

Version

0.51.1

Current Behavior

EnableTranscodingConfig is enabled, but transcoding still doesn't work no matter what

Expected Behavior

It should transcode.

Steps To Reproduce

image image

Environment

- OS:Linux
- Browser:Chrome

How Navidrome is installed?

Docker

Configuration

navidrome:
    container_name: navidrome
    image: deluan/navidrome:0.51.1
    ports:
      - 4533:4533
    environment:
      - "ND_DEFAULTLANGUAGE=zh-Hans"
      - "ND_ENABLEGRAVATAR=true"
      - "ND_ENABLETRANSCODINGCONFIG=true"
      - "ND_TRANSCODINGCACHESIZE=200M"
      - "ND_IMAGECACHESIZE=200M"
      - "ND_SCANSCHEDULE=1h"
      - "ND_LOGLEVEL=debug"
      - "ND_SESSIONTIMEOUT=24h"
      - "ND_BASEURL="
      - "ND_LASTFM_ENABLED=false"
    volumes:
      - /etc/localtime:/etc/localtime
      - /data/navidrome/data/:/data
      - /data/navidrome/music/:/music:ro
    networks:
      - backend
    user: 0:0
    restart: unless-stopped

Relevant log output

No response

Anything else?

No response

Code of Conduct

metalheim commented 3 months ago

EnableTranscodingConfig does not enable transcoding. It only enables you to edit the transcoding presets. Please disable EnableTranscodingConfig if you don't plan to edit the transcoding commands itself.

Transcoding must be requested by a client. If the client does not request it, navidrome will be default deliver the original file. You can also select a Transcoding profile from the "Players" Menu and select a transcoding profile for that specific client.

qilinxinan commented 3 months ago

EnableTranscodingConfig does not enable transcoding. It only enables you to edit the transcoding presets. Please disable EnableTranscodingConfig if you don't plan to edit the transcoding commands itself.

Transcoding must be requested by a client. If the client does not request it, navidrome will be default deliver the original file. You can also select a Transcoding profile from the "Players" Menu and select a transcoding profile for that specific client.

How do I get the web client to do the transcoding? Tried both mp3 and flac, but no luck with either.

qilinxinan commented 3 months ago

EnableTranscodingConfig does not enable transcoding. It only enables you to edit the transcoding presets. Please disable EnableTranscodingConfig if you don't plan to edit the transcoding commands itself.

Transcoding must be requested by a client. If the client does not request it, navidrome will be default deliver the original file. You can also select a Transcoding profile from the "Players" Menu and select a transcoding profile for that specific client.

I finally figured out that the web page is just a basic play button. Also, I finally found a client that works with Navidrome and confirmed it does the transcoding. Thanks for your reply.