INTERACT FORUM

Please login or register.

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

Author Topic: Ripping CD with external encoder => Crash [Fixed]  (Read 2007 times)

McNeil

  • Recent member
  • *
  • Posts: 48
Ripping CD with external encoder => Crash [Fixed]
« on: May 24, 2010, 03:06:03 pm »

Hi all.
I've got a problem with MC 15.0.46 and earlier.
When I try to rip a CD with an external encoder (Lame 3.98.4) it rips the first title and then crashes. What I do for now is ripping the CD as uncompressed wave and then do a format conversion with that external encoder. That works (even multiple files at the same time) but is unhandy.

Is this known and will soon be fixed or is it somehow my mistake?

BTW: In MC 14 there was an option like 'remove source file after conversion' (dunno what it really was) but I can't find it in MC 15. Can someone help me with that? 'Cause when I convert from one format to another (see above ;)) then I always have duplicated files and I have to delete them manually.

Mc
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Ripping CD with external encoder => Crash
« Reply #1 on: May 24, 2010, 03:25:15 pm »

Please try MC's Lame encoder.

Build 48 is at the top of this board.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Ripping CD with external encoder => Crash
« Reply #2 on: May 24, 2010, 03:40:57 pm »

There was a problem with the external encoder and multiple simultaneous encoding processes, but that was fixed some time ago.

Could you post your exact ripping and encoding settings and perhaps the last few lines from the log file? Enable logging, reproduce the crash and open the "previous log" after restarting MC. (Help > Logging...)

Regarding LAME 3.98.4 you can easily use it as an internal encoder. Just replace the lame.exe file in the [Media Center program path]\Plugins\ folder. If you want to use a custom setting you can type the command line in the "custom box" in the MP3 encoding settings window.

Quote
In MC 14 there was an option like 'remove source file after conversion' (dunno what it really was) but I can't find it in MC15.

Did you try the "Mode > Replace original file on disk and in library" setting?
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

McNeil

  • Recent member
  • *
  • Posts: 48
Re: Ripping CD with external encoder => Crash
« Reply #3 on: May 25, 2010, 01:43:13 am »

First of all thanks for your answers.

My encoding settings are as follows:

CD Ripping
Encoder: External Encoder
Encoder settings:
  • Filename: F:\Downloads\Lame\lame3.98.4\lame.exe
  • Parameters: %IN %OUT -V 0 --vbr-new
  • Extension: mp3
  • just checked 'Encoder supports long filenames'

Options: just checked 'Delete temporary wave files when encoding is done'

Here are the last lines of the log file:
Code: [Select]
0105707: 1324: General: CRipTask::UpdateTrackInfo: did UpdateFromMediaFileInfo, MF_ARTIST=Unbekannt Artist, MF_NAME=Track 1
0105707: 1324: Database: CTagSaveHelper::CTagSaveHelper: Start
0105707: 1324: Database: CTagSaveHelper::CTagSaveHelper: Finish (0 ms)
0105707: 1324: Database: CTagSaveHelper::SubmitFile: Start
0105722: 1324: Database: CTagSaveHelper::SubmitFile: Submitting: H:\Jukebox\U\Unbekannt Artist\Unbekannt Album\Unbekannt Artist - Unbekannt Album - 01 - Track 1.mp3
0105722: 1324: Database: CTagSaveHelper::SubmitFile: File added to tagging queue (already in queue = 0)
0105722: 1936: Database: CTagSaveHelper::Thread: Start
0105722: 1324: Database: CTagSaveHelper::SubmitFile: Finish (15 ms)
0105722: 1936: Database: CTagSaveHelper::Thread: Saving tag: H:\Jukebox\U\Unbekannt Artist\Unbekannt Album\Unbekannt Artist - Unbekannt Album - 01 - Track 1.mp3
0105722: 1936: Import: JRAnalyzer::Open: Start
0105722: 1324: General: CRipTask::UpdateTrackInfo: Finish (1388 ms)
0105738: 1324: General: CRipTask::StartRipping: Start
0105738: 1936: Import: JRAnalyzer::AddFile: Start
0105738: 1324: General: CRipTask::StartRipping: temp filename=G:\Users\Oliver\AppData\Roaming\J River\Media Center 15\Temp\Unbekannt Artist - Unbekannt Album - 02 - Track 2.wav
0105738: 1936: Import: JRAnalyzer::AddFile: Filename: H:\Jukebox\U\Unbekannt Artist\Unbekannt Album\Unbekannt Artist - Unbekannt Album - 01 - Track 1.mp3
0105738: 1324: General: CRipTask::InitCDCopy: Start
0105738: 1936: Import: JRAnalyzer::AddFile: Start
0105738: 1324: General: CRipTask::InitCDCopy: temp filename=G:\Users\Oliver\AppData\Roaming\J River\Media Center 15\Temp\Unbekannt Artist - Unbekannt Album - 02 - Track 2.wav, hwnd=815a8
0105738: 1936: Import: JRAnalyzer::AddFile: Filename: H:\Jukebox\U\Unbekannt Artist\Unbekannt Album\Unbekannt Artist - Unbekannt Album - 01 - Track 1.mp3
0105753: 1936: Import: JRAnalyzer::AddFileMJ: Start
0105753: 1324: CD: CMJDriveInterface::SPTIScanForDrives: Start
0105753: 1324: CD: CMJDriveInterface::SPTIScanForDrives:   GetCDCaps on 12, ha=0, id=1, lun=0
0105753: 1936: Import: JRAnalyzer::AddFileMJ: Finish (0 ms)
0105753: 1936: Import: JRAnalyzer::AddFile: Finish (15 ms)
0105753: 1324: CD: : closehandle 372
0105753: 1936: Import: JRAnalyzer::AddFile: Finish (15 ms)
0105753: 1324: CD: : closehandle 852
0105769: 1936: Import: JRAnalyzer::Open: Finish (47 ms)
0105769: 1324: CD: : closehandle 852
0105769: 1324: CD: : closehandle 852
0105769: 1324: CD: CMJDriveInterface::SPTIScanForDrives:     12: drive M: qualifies for writing, vendor=TSSTcorp, model=CD/DVDW SH-S182M
0105785: 1324: CD: CMJDriveInterface::SPTIScanForDrives: Finish (32 ms)
0105785: 1324: CD: : CMapDrive init
0105785: 1324: CD: : DeleteAll
0105800: 1324: CD: CMJDriveInterface::SPTIScanForDrives: Start
0105800: 1324: CD: CMJDriveInterface::SPTIScanForDrives:   GetCDCaps on 12, ha=0, id=1, lun=0
0105800: 1324: CD: : closehandle 372
0105800: 1936: Database: CTagSaveHelper::Thread: Done saving tag
0105816: 1324: CD: : closehandle 372
0105816: 1324: CD: : closehandle 372
0105816: 1324: CD: : closehandle 372
0105831: 1324: CD: CMJDriveInterface::SPTIScanForDrives: Finish (31 ms)
0105831: 1324: CD: : Reset, numdrives=1
0105831: 1324: CD: : Reset, checking 0
0105847: 1324: CD: : Reset, checking drive M, vendor=TSSTcorp, product=CD/DVDW SH-S182M
0105847: 1324: CD: : Leaving reset, driveLetters=[M]
0105847: 1324: CD: : GetMaxDrives
0105847: 1324: CD: : returning 1 drives
0105847: 1324: CD: : OpenDriveByLetter: numcddrives=1, DrvLetter=m:
0105863: 1324: CD: :   checking i=0, DriveLetters[i]=M
0105863: 1324: CD: : GetMaxDrives
0105863: 1324: CD: : returning 1 drives
0105863: 1324: CD: : GetInfo for 0
0105878: 1324: CD: : GetInfo for 0
0105878: 1324: CD: : closehandle 852
0105894: 1324: CD: : closehandle 852
0105894: 1324: CD: : closehandle 852
0105894: 1324: CD: :   OpenDriveByLetter: found=True, ret=0
0105894: 1324: General: CRipTask::InitCDCopy: Finish (156 ms)
0105909: 1324: CD: : ReadTrack_A, Track(s)=2, strDataFilename=G:\Users\Oliver\AppData\Roaming\J River\Media Center 15\Temp\Unbekannt Artist - Unbekannt Album - 02 - Track 2.wav
0105925: 1324: CD: : before Init
0105925: 1324: CD: : after Init
0105925: 1324: CD: : before DAC constructor
0105925: 1324: CD: : CDAC constructor
0106081: 1324: CD: : closehandle 756
0106128: 1324: CD: : closehandle 756
0106143: 1324: CD: : Before copy thread...
0106159: 1324: CD: : leaving ReadTrack_A
0106159: 1324: General: CRipTask::StartRipping: Finish (421 ms)
0106190: 1324: General: TopLevelExceptionFilter: Unhandled exception -- program crashing
0106206: 1324: General: TopLevelExceptionFilter: Message: 34768, wParam: 124718100, lParam: 0, Window class: Thread Notification Window Class - 0x152B1731

And here's the Windows error message:
Code: [Select]
Problemsignatur:
  Problemereignisname: APPCRASH
  Anwendungsname: Media Center 15.exe
  Anwendungsversion: 15.0.46.0
  Anwendungszeitstempel: 4bf3160a
  Fehlermodulname: enc_main.dll_unloaded
  Fehlermodulversion: 0.0.0.0
  Fehlermodulzeitstempel: 4bf3158b
  Ausnahmecode: c0000005
  Ausnahmeoffset: 0724301c
  Betriebsystemversion: 6.1.7600.2.0.0.256.48
  Gebietsschema-ID: 1031
  Zusatzinformation 1: 0a9e
  Zusatzinformation 2: 0a9e372d3b4ad19135b953a78882e789
  Zusatzinformation 3: 0a9e
  Zusatzinformation 4: 0a9e372d3b4ad19135b953a78882e789

Regarding LAME 3.98.4 you can easily use it as an internal encoder. Just replace the lame.exe file in the [Media Center program path]\Plugins\ folder. If you want to use a custom setting you can type the command line in the "custom box" in the MP3 encoding settings window.

There is no lame.exe in the plugins-folder but should I try to replace the in_mp3.dll with the lame_enc.dll?

Did you try the "Mode > Replace original file on disk and in library" setting?

Yep that's the option but I can't find it in the settings. Maybe I turned it off when I disabled some functions?
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Ripping CD with external encoder => Crash
« Reply #4 on: May 25, 2010, 05:52:10 am »

... There is no lame.exe in the plugins-folder but should I try to replace the in_mp3.dll with the lame_enc.dll?

In_mp3.dll is the decoder plugin. It is an internal program component. Do not touch it.

Normally MC downloads the lame.exe and gogo.exe components when MP3 encoding is first accessed (it is enough to open the MP3 encoding options window). Perhaps your firewall is blocking the access.

However, since you already have the lame.exe binary you can simply copy it to the Plugins folder. In addition, the gogo.exe file must be present even when it is not used (the "faster MP3" option uses gogo.exe). You can download gogo.exe separately from here (unzip and copy gogo.exe to the Plugins folder).

Quote
-V 0 --vbr-new

This is the same as the internal "VBR Extreme" setting so you don't need to specify a custom command line when you use the internal MP3 encoder.


Regarding the external encoder problem, I was able to reproduce the crash. I ripped a three track CD single using the internal MP3 encoder and the external encoder. MC used the same lame.exe file in both cases. "External" crashed after the first track. The log files are in the attached zip package.

I also noticed that the secure mode was unusually slow (about 1x) with any encoding setting, but I must further investigate the problem before reporting anything.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

McNeil

  • Recent member
  • *
  • Posts: 48
Re: Ripping CD with external encoder => Crash
« Reply #5 on: May 25, 2010, 06:00:41 am »

Thanks Alex.

I never tried the internal mp3 encoder I always used the external one. Dunno why but I never thought about that. Didn't even know that it is Lame as well. So when I'm home I'll try and report if it works or not.
Logged

McNeil

  • Recent member
  • *
  • Posts: 48
Re: Ripping CD with external encoder => Crash
« Reply #6 on: May 25, 2010, 11:51:38 am »

I tried the internal encoder now and replaced the lame.exe with mine. Everything went fine that means it ripped the whole CD with no problems.
I'll switch to that and use this now.

The problem with the external encoder still exists so I'll leave that topic open.
Logged

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Re: Ripping CD with external encoder => Crash
« Reply #7 on: May 25, 2010, 12:18:21 pm »

Thanks for reporting this. We've found the problem and fixed it for the next build.
Logged
John Thompson, JRiver Media Center

McNeil

  • Recent member
  • *
  • Posts: 48
Re: Ripping CD with external encoder => Crash
« Reply #8 on: May 25, 2010, 12:35:32 pm »

I thank you for fast responses and an even faster fix  ::)
Logged
Pages: [1]   Go Up