Page 1 of 1

Transcoding working for some wma but not others

PostPosted: Sun Oct 29, 2017 5:18 pm
by jade10145
So I am having an issue with Subsonic apparently transcoding some wma files and not others. It's the strangest thing. I am on Debian Jessie.

Here is what I have tried so far.

Installed ffmpeg via sudo apt-get install libav-tools
set up a soft symlink for ffmpeg from /var/subsonic/transcode to the /usr/bin/ffmpeg
changed the owner of /usr/bin/ffmpeg from root to subsonic

Tried copying /usr/bin/ffmpeg to /var/subsonic/transcode
-when using this set up I get nothing in the logs stating that the file is being transcoded.

set up a soft symlink for ffmpeg from /var/subsonic/transcode to the /usr/bin/ffmpeg
-this set up show that the file is being transcoded in the logs, but still nothing happens.

Also checked the transcoder settings, and made sure it was enabled for the player.

Any help would be appreciated.

Re: Transcoding working for some wma but not others

PostPosted: Sun Oct 29, 2017 9:21 pm
by oshman6785
What do the logs show when the transcode is successful vs not successful?

Have you tried transcoding the file by hand to see what ffmpeg says?

Re: Transcoding working for some wma but not others

PostPosted: Sun Mar 22, 2020 12:50 am
by WPWoodJr
I'm having this issue with some WMA files not playing too on Windows and on Linux. It's the weirdest thing. I have a double album where one "disc" plays and the other does not. Anyone have any luck fixing this?

Re: Transcoding working for some wma but not others

PostPosted: Sun Mar 22, 2020 2:15 am
by WPWoodJr
I fixed it, not sure its the best way but on the transcoding command I changed -map 0:0 to -map 0.

Disc 1 was using 0:1 and Disc 2 0:0 for some odd reason.

Re: Transcoding working for some wma but not others

PostPosted: Sun Mar 22, 2020 7:59 pm
by WPWoodJr
A little more investigation leads to using this for the "mp3 audio" transcoding command:
Code: Select all
ffmpeg -i %s -vn -b:a %bk -v 0 -f mp3 -

Leaving out -map tells ffmpeg to use the "best" audio and video streams from the input file. "-vn" tells it to ignore the video stream.