Problem Description: I cannot get transcoding from FLAC to mp3 to work. Mp3 files play normally.
Troubleshooting Steps:
- To begin with, the web interface works, and folders added to "media folders" are visible on the left column of the web interface.
- For the setup I have followed this guide http://mj2p.co.uk/install-subsonic-medi ... pberry-pi/
- I have tried a simple installation of ffmpeg and lame (the same following commands for lame) with
- Code: Select all
sudo apt-get install ffmpeg
sudo rm /var/subsonic/transcode/ffmpeg
sudo cp /usr/bin/ffmpeg /var/subsonic/transcode
- The transcoding settings are taken from this page http://www.subsonic.org/pages/transcoding.jsp
- When I try to play a FLAC file, nothing is played. However, I don't see any errors in the log. The log looks like this:
- Code: Select all
INFO PlayQueueInputStream admin listening to "song.flac"
INFO TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/home/pi/song.flac] [-map] [0:0] [-b:a] [192k] [-v] [0] [-f] [mp3] [-]
- After that I tried to compile ffmpeg manually following this link http://www.jeffreythompson.org/blog/201 ... pberry-pi/
- The problem persists
Playback Application and version: Standard Subsonic Web Interface
Subsonic version: 5.3 (build 4568) – October 24, 2015
Server version: jetty-6.1.x, java 1.7.0_85, Linux (34.5 MB / 80.2 MB)
Hardware Platform: Raspberry Pi 2 Model B, Hardware: BCM2709, Revision: a01041
Output from ffmpeg -i:
- Code: Select all
ffmpeg version N-76976-gd208acf Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.6 (Debian 4.6.3-14+rpi1)
configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
libavutil 55. 9.100 / 55. 9.100
libavcodec 57. 16.101 / 57. 16.101
libavformat 57. 19.100 / 57. 19.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 18.100 / 6. 18.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Missing argument for option 'i'.
Error splitting the argument list: Invalid argument
Any help is appreciated.