flac > mp3 transcoding RESOLVED

Need help? Post your questions here.

Moderator: moderators

flac > mp3 transcoding RESOLVED

Postby disgustipated » Thu Sep 22, 2011 5:44 am

Ive searched around quite a bit and just find people saying search the forum to get transcoding to work and things like why would you want to

my reasoning is att 3g network is swell but its not enough to stream 50MB files without skipping but on my server i still want to keep the flac as flac.

my setup:
standalone subsonic installed on the full version of freenas

ok so i have this line working if im in console
ffmpeg -i <path to file>.flac -acodec adpcm_ima_wav -ac 2 -ar 48000 -ab 192k 01test.wav

this file plays fine as a wav, granted im having trouble at the moment getting lame to encode it since it thinks its a raw pcm, need to find the lame input paramaters...

in subsonic i use this line in the first step of transcoding
ffmpeg -i %s -acodec adpcm_ima_wav -ac 2 -ar 48000 -ab 192k -
second step i have
lame -b %b --tt %t --ta %a --tl %l -S --resample 44.1 - -

the reason im using adpcm_ima_wav is i get "unknown codec <insert codec here>"with anything else i try to use, libmp3lame, libfaac, libx264, mp3, x264, h264.....


in the log i get the following
Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/mnt/zfsPool/media/music/Nine Inch Nails/Nine_Inch_Nails_-_halo_26_-_Ghosts_I-IV/Ghosts I-IV flac/32 Ghosts IV.flac] [-acodec] [adpcm_ima_wav] [-ac] [2] [-ar] [48000] [-ab] [192k] [-]
Starting transcoder: [/var/subsonic/transcode/lame] [-b] [64] [--tt] [Ghosts IV] [--ta] [Nine Inch Nails] [--tl] [Ghosts I-IV] [-S] [--resample] [44.1] [-] [-]
/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: Syntax error: "(" unexpected

i get the same if i remove the second step

i get the same if i use the default
ffmpeg -i %s -f wav -

where is the ( coming from? There is no ( in the filename of the file i am trying to transcode

the files i have in transcode folder are ffmpeg and lame which ive pulled off of various sites since im lazy and havent compiled them myself

ffmpeg | grep
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-shared --enable-gpl --enable-swscale --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-memalign-hack --cc=cc --extra-cflags=-I/usr/local/include/vorbis -I/usr/local/include --extra-ldflags=-L/usr/local/lib --extra-libs=-pthread --disable-debug --disable-sse --disable-mmx --disable-libamr-nb --disable-libamr-wb --disable-libdirac --disable-libfaac --enable-libfaad --enable-libfaadbin --disable-libgsm --disable-vhook --enable-ipv6 --disable-libmp3lame --disable-libopenjpeg --enable-libschroedinger --disable-ffplay --disable-libspeex --enable-libtheora --enable-libvorbis --disable-x11grab --enable-libx264 --enable-libxvid
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
disgustipated
 
Posts: 96
Joined: Wed Jan 26, 2011 4:18 pm
Location: US

Re: flac > mp3 transcoding

Postby disgustipated » Thu Sep 22, 2011 5:51 am

nevermind...im freaking mentally challenged.... it was permissions on ffmpeg
disgustipated
 
Posts: 96
Joined: Wed Jan 26, 2011 4:18 pm
Location: US


Return to Help

Who is online

Users browsing this forum: No registered users and 31 guests