INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Rip failed using LAME MP3 encoder  (Read 1271 times)

JimK

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
  • nothing more to say...
Rip failed using LAME MP3 encoder
« on: June 12, 2020, 05:37:38 pm »

When I try to rip a CD using the LAME MP3 encoder, I get a pop-up message that says "Unknown error from the encoder", and when ripping completes, the MP3 file isn't created. The log file is attached.

I tried to rip uncompressed to wav file and convert to MP3. Conversion completes without an error, but the MP3 file isn't created.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Rip failed using LAME MP3 encoder
« Reply #1 on: June 12, 2020, 05:50:25 pm »

Check your options for file location.  Maybe you don't have permission to write the file or the temp file that is created.
Logged

JimK

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
  • nothing more to say...
Re: Rip failed using LAME MP3 encoder
« Reply #2 on: June 12, 2020, 06:25:41 pm »

Which of these file locations does it create the temp file?

Conversion Cache
Program Files: Temporary Files



Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Rip failed using LAME MP3 encoder
« Reply #3 on: June 12, 2020, 06:53:59 pm »

Temp files, I believe.  Just try creating a file in that location.
Logged

JimK

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
  • nothing more to say...
Re: Rip failed using LAME MP3 encoder
« Reply #4 on: June 12, 2020, 07:14:26 pm »

I was able to create a file in that folder.
Logged

JimK

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
  • nothing more to say...
Re: Rip failed using LAME MP3 encoder
« Reply #5 on: June 12, 2020, 08:07:50 pm »

I tested the other encoders and all were successful except for MP3, Musepack and Ogg.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Rip failed using LAME MP3 encoder
« Reply #6 on: June 12, 2020, 08:16:11 pm »

If you're using Windows 10, make sure you configure it.  There is a thread here.
Logged

JimK

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
  • nothing more to say...
Re: Rip failed using LAME MP3 encoder
« Reply #7 on: June 12, 2020, 08:33:14 pm »

I'm using Windows 10. Could you point me to the thread? Thanks Jim.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Rip failed using LAME MP3 encoder
« Reply #8 on: June 12, 2020, 09:12:19 pm »

Please read the list of topics on this board.  Or search at Google.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Rip failed using LAME MP3 encoder
« Reply #9 on: June 12, 2020, 09:23:08 pm »

Jim means the "Taming Windows Defender on Windows 10 for JRiver Media Center" thread. Windows Defender may be stopping something from working.

The MP3 encoder is working for me, with the settings shown in the image. Try changing settings.

MC will use both the Cache and Temporary directors when converting, if the Cache isn't disabled. Or more correctly, it uses the temporary directory for the conversion, and then puts a copy in the Conversion Cache if that Cache setting is not "None".
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

JimK

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
  • nothing more to say...
Re: Rip failed using LAME MP3 encoder
« Reply #10 on: June 12, 2020, 10:55:23 pm »

I tried adding exclusions for the folders, processes and file types, but encoding still failed. I was able to get encoding to run only by completely disabling Windows Defender.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Rip failed using LAME MP3 encoder
« Reply #11 on: June 12, 2020, 11:03:50 pm »

You need to exclude the JRiver executables. Did you do that as well?

That thread is a long read, and is overkill, but it is worth reading through and finding the summary of what works best.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

JimK

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
  • nothing more to say...
Re: Rip failed using LAME MP3 encoder
« Reply #12 on: June 12, 2020, 11:46:16 pm »

After much trial and error, I was able to resolve the issue by going into "Manage Controlled Folder Access", "Allow an app through Controlled folder access" and adding lame.exe from the %APPDATA% plugins folder. I discovered this by temporarily turning off "Controlled folder access" and was able to rip with MP3 encoding. I had already tried adding "Media Center 26.exe" and "JRWorker.exe" to the allowed apps list but that didn't work.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Rip failed using LAME MP3 encoder
« Reply #13 on: June 13, 2020, 06:42:27 am »

Here's a topic at Microsoft:

Controlled Folder Access

It's Windows Defender causing the problem.  Seems like we're seeing a lot more Windows Defender caused problems.

Here's Awesome Donkey's excellent topic on Windows Defender:
https://yabb.jriver.com/interact/index.php/topic,114101.0.html
Logged

JimK

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
  • nothing more to say...
Re: Rip failed using LAME MP3 encoder
« Reply #14 on: June 13, 2020, 06:58:40 am »

Thanks for your help. It had been working before, so a Defender update must have added some restrictions. Interesting that the encoding failure didn't show up in Defender notifications or in the event viewer.
Logged

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3119
Re: Rip failed using LAME MP3 encoder
« Reply #15 on: June 13, 2020, 12:38:10 pm »

The issue seems to be with a separate executable, not with a simple data file.

Can you try the following - set a folder exclusive and a separate process exclusion for the J River folder, nothing else. According to Microsoft documentation, that should provide exclusions for any files that any programs in that folder open, but it has been hard to test it fully.  And, it may only apply to data files, not to executables in other folders.  Thanks.
Logged

JimK

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
  • nothing more to say...
Re: Rip failed using LAME MP3 encoder
« Reply #16 on: June 13, 2020, 07:36:40 pm »

That was the first thing I tried but the encoding still failed.
Logged
Pages: [1]   Go Up