HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: vader on 2012-05-21 14:39:01

Title: FLAC: cannot start the encoder, fb2k says it needs elevated privileges
Post by: vader on 2012-05-21 14:39:01
Hi this is my first post, so try to be gentle. For starters, I have been using foobar for quite a long time and never have this problem. I searched for some related problem in google and in the hydrogenaudio forum with no luck so here I go

a) I have been trying to convert a Wav file to flac. My system is win 7 pro sp1 64 bits. 8 gb of RAM, Foobar 1.1.11. Almost all my music library is on flac and I can listen to them in foobar. Problem is encding from wav to flac specifically.

b) I installed Flac via flac installer at c:\program files (x86)\flac\flac.exe
c)I also get a 64bit version of flac and I put it on  c:\program files\flac\flac.exe

Whenever I try to make the conversion, with the 64 bit or 32 bit version I get the following error

1 out of 1 tracks converted with major problems.

Source: "C:\Users\IIAMaps\Desktop\MARTIUS- A. Quant froidure trait a fin - Domino Quoniam (Montepellier Codex, H196) - B. R.wav"
  An error occurred while writing to file (Could not start commandline encoder: La operación solicitada requiere elevación.  ) : "C:\Users\IIAMaps\Downloads\MARTIUS- A. Quant froidure trait a fin - Domino Quoniam (Montepellier Codex, H196) - B. R.flac"
  Additional information:
  Encoder stream format: 44100Hz / 2ch / 16bps
  Command line: "C:\Program Files\flac\flac.exe" -s --ignore-chunk-sizes -5 - -o "MARTIUS- A. Quant froidure trait a fin - Domino Quoniam (Montepellier Codex, H196) - B. R.flac"
  Working folder: C:\Users\IIAMaps\Downloads\
 
  Conversion failed: Could not start commandline encoder: La operación solicitada requiere elevación. 

translation of " La operación solicitada requiere elevación= operation requested requires elevation"

I never had this problem, I have been usin flac with foobar and EAC with xp vista and win7  all of them 32 bits.

Any ideas ?

Thanks before hand
Title: FLAC: cannot start the encoder, fb2k says it needs elevated privileges
Post by: mobyduck on 2012-05-21 14:54:41
I think the problem is that you're using a non-administrator account.

Not sure how to solve it as I'm not familiar with Win 7 / Vista.

Alessandro
Title: FLAC: cannot start the encoder, fb2k says it needs elevated privileges
Post by: vader on 2012-05-21 15:07:54
Thanks

I am using an administrator account. Also I asked to run flac as administrator...

Title: FLAC: cannot start the encoder, fb2k says it needs elevated privileges
Post by: Nessuno on 2012-05-21 17:32:48
I am using an administrator account. Also I asked to run flac as administrator...

I don't see why flac.exe should run with administrator's privileges, in the first place. Put everything, encoder and source file in a subfolder of your home and try a run from the command line.
Title: FLAC: cannot start the encoder, fb2k says it needs elevated privileges
Post by: Nick.C on 2012-05-21 18:26:41
Are either of the directories in which you have installed the FLAC executable on the system PATH?
Title: FLAC: cannot start the encoder, fb2k says it needs elevated privileges
Post by: Apesbrain on 2012-05-21 18:52:22
If you are still having problems you might try temporarily renaming your file to something simple like "martius.wav".  Move the 32-bit version of flac.exe and the file above into the same folder and open a CMD window there.  Type:

flac martius.wav

If that works and you still want to use the 64-bit encoder, then try it the same way.

If you then get an error, see this thread:
http://www.hydrogenaudio.org/forums/index....showtopic=90447 (http://www.hydrogenaudio.org/forums/index.php?showtopic=90447)

BTW, since you are familiar with foobar2000 why not use it to accomplish this?  Just drop your wave file on the playlist, right-click and select "Convert" > "..."  Configure the conversion properties as you see fit.
Title: FLAC: cannot start the encoder, fb2k says it needs elevated privileges
Post by: EagleScout1998 on 2012-05-21 19:05:16
It might be easier to simply copy the flac.exe to the main foobar2000 program folder. That's where I put lame.exe, flac.exe, and neroAacEnc.exe.
Title: FLAC: cannot start the encoder, fb2k says it needs elevated privileges
Post by: db1989 on 2012-05-21 19:25:55
BTW, since you are familiar with foobar2000 why not use it to accomplish this?  Just drop your wave file on the playlist, right-click and select "Convert" > "..."  Configure the conversion properties as you see fit.
That's exactly what is being done . . .

Anyway, moving to foobar2000: General.

So, since you apparently "never had this problem", never until when? What changed? Did you change your version of Windows, foobar2000, FLAC, or what? As you haven't specified, does this only affect this one file? I don't think anyone has enough information to really offer any useful suggestions here.
Title: FLAC: cannot start the encoder, fb2k says it needs elevated privileges
Post by: vader on 2012-05-21 19:32:01
Thanks every one

I have this problem with my new pc. It came with win7 64. I am familiar with the conversion process in foobar, since I have been using it for some years now.  I always used to do it in 32 bits OS (XP, Vista and win7). In my new pc I have not succeeded yet...

Quote
Are either of the directories in which you have installed the FLAC executable on the system PATH?


Yes...

Quote
If you are still having problems you might try temporarily renaming your file to something simple like "martius.wav". Move the 32-bit version of flac.exe and the file above into the same folder and open a CMD window there. Type:

flac martius.wav


I tried but it tells me that I do not have msvcr100.dll in my system. Nevertheless I have this file in c:\windows\syswow64 and c:\windows\system32

Any ideas are wolcome
Title: FLAC: cannot start the encoder, fb2k says it needs elevated privileges
Post by: vader on 2012-05-21 19:49:00
Solved

I followed EagleScout advise and now its working. I created a folder called flac and I copied flac.exe there.

Thanks Everyone!!