i can’t seem to get mp3 converting right i have everything the LAME excitable and i’ve seemed to narrow the down what part of the script that needs editing on is this right? if not PLEASE HELP ME!!!
if toformat is mp3 then
set exportfile to " -acodec pcm_s16be -ac 2 -f s16be - "
--set endline to " 2>> " & tmpdir & "songredux_time | " & appsup & "lame -r -s " & finalhz & " --resample " & finalhz & "" & howchan & "-m s" & cbr & "--cbr" & lamebit & "-b " & otherextras & " - -o " & quotedoutputfile & ".temp." & fileext & " 2>> " & tmpdir & "songredux_time >> " & tmpdir & "songredux_time ; echo done > " & tmpdir & "songredux_working"
end if
if finalchan is 2 then
set howchan to " -m s "
else
-- try
set howchan to " -a "
-- end try
end if
if "-v" is in otherextras then
set cbr to ""
else
set cbr to " --cbr"
end if
if "-V " is in otherextras then
set lamebit to ""
else
set lamebit to " -b " & finalbit
end if
set endline to " 2>> " & tmpdir & "songredux_time | " & appsup & "lame -r -s " & finalhz & " --resample " & finalhz & howchan & cbr & lamebit & " " & otherextras & " - -o " & quotedoutputfile & ".temp." & fileext & " 2>> " & tmpdir & "songredux_time >> " & tmpdir & "songredux_time ; echo done > " & tmpdir & "songredux_working"
-- end if
-- else
--set endline to (thequotedapppath & "/Contents/Resources/LAME -r -s " & filetype & " mp3 " & codectype & " -c " & finalchan & afbit & " --resample " & otherextras & " - -o" & exportfile & "-acodec pcm_s16be -ac 2 -f s16be - " & quoteddonefile & " ; echo done > " & tmpdir & "songredux_working ; /bin/rm " & exportfile)
-- setyear & setartist & settitle & setcomment & settrack & setgenre & setalbum &
set ffmpegstring to pipe & ffmpeg & pipeprep & " -y -i " & filetoconvert & audiotrack & skipsec & forcedur & " -vn -acodec " & acodec & " -ar " & finalhz & " -ac " & finalchan & " -ab " & finalbit & "k" & vol & ffaudios & " " & exportfile
--set exportfile back
set exportfile to quotedoutputfile & ".temp." & fileext
Model: Macbook
Browser: Firefox 3.6.3
Operating System: Mac OS X (10.6)