ffmpeg dont work corectly

Need help? Post your questions here.

Moderator: moderators

ffmpeg dont work corectly

Postby mrn » Sat Oct 13, 2018 3:28 pm

hi, i have a big probleme with ffmpeg wich not transcode flac and m4a.
i have ffmpeg v 4.0.2 and subsonic 6.1.3.
i realy dont understand.


thank's
mrn
 
Posts: 3
Joined: Sat Oct 13, 2018 3:17 pm

Re: ffmpeg dont work corectly

Postby LRanger » Sun Oct 14, 2018 12:19 am

Not much info to go on.

Are you running on Linux? Subsonic installs it's own transcoders - ffmpeg & lame (probably located in /var/subsonic/transcode). You could try renaming ffmpeg and then creating symbolic links to your system ffmpeg (ln -s /usr/bin/ffmpeg).
LRanger
 
Posts: 48
Joined: Thu Mar 03, 2016 10:51 am

Re: ffmpeg dont work corectly

Postby mrn » Sun Oct 14, 2018 11:36 am

hi, sorry about that. yes i'm running linux (freenas, based on freebsd). i have already created a symbolic link from /usr/local/bin/ffmpeg to /var/subsonic/transcode.

i have updated the version of ffmpeg and i have tryed to install libmp3lame and i've also created a symbolic link to lame in transcode folder.

thanks
mrn
 
Posts: 3
Joined: Sat Oct 13, 2018 3:17 pm

Re: ffmpeg dont work corectly

Postby mrn » Sun Oct 21, 2018 1:31 pm

ok , so after a long time of searching i finaly found how to transcode m4a and flac.

for flac :

if you have the flac and lam transcoders you can do :

Code: Select all
name : flac > mp3
source: flac
destination: mp3
step 1 : flac --silent --decode --stdout %s
step 2 : lame --silent -h -b %b -


if you want to do that with ffmpeg you can use ogg instead of mp3 for the streaming format:

Code: Select all
name : flac > ogg
source: flac
destination: ogg
step 1 : ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -f ogg -
step 2 : "leav blank"


for m4a :

Code: Select all
name : m4a> ogg
source: m4a
destination: ogg
step 1 : ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -f ogg -
step 2 : "leav blank"


for m4a and flac in same time:

Code: Select all
name : flac/m4a> ogg
source: flac m4a
destination: ogg
step 1 : ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -f ogg -
step 2 : "leav blank"
mrn
 
Posts: 3
Joined: Sat Oct 13, 2018 3:17 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 25 guests