Skip to main content

Topic: LAME Encoding Hang (Read 6190 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • everstar
  • [*]
LAME Encoding Hang
I hope someone here can help me; I've been struggling with this for weeks.

Whenever I rip to mp3, the WAV portion of the rip goes fine.  I use EAC, v0.95, configured according to help here and at the EAC website.  It calls lame.exe, which is in a subfolder of the EAC folder, with the following options:

User-defined encoder
extension .mp3
command line options: --alt-preset standard %s %d

LAME starts and encodes part of the file, but a short way into it, it hangs the whole computer, and I have to reset it.  Occasionally, for reasons I haven't been able to figure out, it'll actually complete the encoding, but more often than not, it hangs.

Some information about my computer, with more data provided as needed:

1800+ Athlon XP
512 MB RAM
LAME 3.90.3

It used to work beautifully, and I can't figure out what's changed.  Help!

  • rjamorim
  • [*][*][*][*][*]
LAME Encoding Hang
Reply #1
Are you overclocking?
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org

  • Cosmo
  • [*][*][*][*][*]
LAME Encoding Hang
Reply #2
Could be overheating. Do you monitor your PC's temps? (Do you do any other computing (like 3d games) that causes the CPU to run at full load, yet doesn't cause a problem?) If you've never cleaned the dust out of your heat-sink/fan, it might be clogged and restricting the air flow / cooling.

  • everstar
  • [*]
LAME Encoding Hang
Reply #3
I don't overclock, and while I had a program to monitor my temps, I reinstalled Windows XP recently which wiped it out.  I'll see if I can find something.  I try to clean the dust out of the front and back of my computer fairly frequently; I'm not certain how to clean the dust out of my heatsink.  I'll look it up.

  • Cyaneyes
  • [*][*][*][*]
LAME Encoding Hang
Reply #4
Quote
I'm not certain how to clean the dust out of my heatsink.  I'll look it up.[a href="index.php?act=findpost&pid=295985"][{POST_SNAPBACK}][/a]



  • everstar
  • [*]
LAME Encoding Hang
Reply #5
Heh.  Duh.  *slaps herself on the side of the head*

Well, I found a little program thingy which purports to be reading the temperatures from the sensors on my motherboard: it says my CPU is at about 43 C, which sounds about right.  I'll hunt down a can of air to clean out my heatsink, though.

ETA:  I used to play World of Warcraft but then I tried upgrading my video card and all of a sudden the game started hanging.  The video card I have now isn't strong enough to run the game, so I'm not sure if it's the same problem.
  • Last Edit: 08 May, 2005, 01:23:15 AM by everstar

  • Cosmo
  • [*][*][*][*][*]
LAME Encoding Hang
Reply #6
Quote
it says my CPU is at about 43 C, which sounds about right.

You need to watch the temp when the CPU is stressing with intensive tasks, such as encoding. My Athlon XP of that era would jump from 39-41C at idle to over 50C under load, if not getting proper cooling, and lock up the system.

LAME Encoding Hang
Reply #7
According to Everest, my CPU has 43-45 °C while encoding LAME files and 37 °C when idle. You might also get a new fan if cleaning doesn't help. Mine is a silent Papst fan which rotates at 2500 RPM.

  • cabbagerat
  • [*][*][*][*][*]
LAME Encoding Hang
Reply #8
I would recommend trying to run Prime95's Torture Test on your machine. Try running the test for a while and if your machine is still working fine try copying a large file to a different place on your drive. If you can do this and run Prime95 happily for a few hours then it's likely your hardware is OK.

It doesn't sound like a LAME bug - the OS shouldn't allow an errant process to hang the whole machine.
Simulate your radar: http://www.brooker.co.za/fers/

  • mlb2gm5x
  • [*]
LAME Encoding Hang
Reply #9
Have you checked the voltage from your PSU (+12V and +5V)? I use speedfan to do this task.
Too low voltage may explain the computer's behaviour after upgrading the graphics card...

  • GoWaN
  • [*][*][*]
LAME Encoding Hang
Reply #10
Quote
Quote
it says my CPU is at about 43 C, which sounds about right.

You need to watch the temp when the CPU is stressing with intensive tasks, such as encoding. My Athlon XP of that era would jump from 39-41C at idle to over 50C under load, if not getting proper cooling, and lock up the system.
[a href="index.php?act=findpost&pid=295992"][{POST_SNAPBACK}][/a]

50C should no be problem for an Athlon XP 

  • dobz
  • [*][*]
LAME Encoding Hang
Reply #11
I have an athlon 1800xp 512mb ram and a a7v266-e system board

My pc started to crash, lock up 6 months ago, whenever i decided to encode with flac or do some replaygaining of files.

I tested using only 1 stick of ram and swapped it over, and still crashed. I also but some beefy fans in and cpu temps reported 43 idle 55 underload, which aparently is fine.

After some detective work i realised if i underclocked it in the bios it was rock solid.

So i'm now runing at 1.1ghz at about 47 underload, i dont think its a temperature thing though, more likly to be abuse from days when i overclocked a bit.

I think the cpu is just faulty, maybe the ram or chipset on the mobo (my chipset fan died years ago) I have a 480 watt enermax, its unlikly to be that.

If you find a cure let me know so i can run at full speed again

  • Gecko
  • [*][*][*][*][*]
LAME Encoding Hang
Reply #12
If your motherboard is older and/or the manufacturer buys cheap components, it might be a blown capacitor. Look at the large ones near the CPU. If the cap is dented outwards or even blown and leaking electrolyt, then your MB is toast. Heat will shorten a capacitor's lifetime.

  • everstar
  • [*]
LAME Encoding Hang
Reply #13
I tried encoding an mp3 last night.  The temperature didn't even get a chance to change from 43 C before the system hung.

The voltages for 12.00+ and 5.00+ are listed as 12.40 and 4.99.  I'm not sure if this is within the range of tolerance.

I'll check the MB later when I actually have the computer off.

Thanks for the suggestions!

  • everstar
  • [*]
LAME Encoding Hang
Reply #14
well, I ran Prime95's torture test per cabbagerat's suggestions and it failed after two minutes.  So I've got a hardware problem of some sort.  I still haven't checked the MB, but I will tomorrow.

guess I know what I want for my birthday!

  • Kenno
  • [*]
LAME Encoding Hang
Reply #15
Quote
After some detective work i realised if i underclocked it in the bios it was rock solid.

I've seen this happening before. {Cheap mainboard/bad power/overclocking/improperly aligned heatsink(particularly tricky)/static/alpha decay/jove-knows-what} can abuse your {cpu/memory/northbridge(yes that's right)} up to a point that it just doesn't keep up anymore. Underclocking will make the system run stable for a while, but don't expect it  to stay alive for several years. So, guess you know what you want for your birthday!

  • cabbagerat
  • [*][*][*][*][*]
LAME Encoding Hang
Reply #16
Quote
If your motherboard is older and/or the manufacturer buys cheap components, it might be a blown capacitor. Look at the large ones near the CPU. If the cap is dented outwards or even blown and leaking electrolyt, then your MB is toast. Heat will shorten a capacitor's lifetime.
[a href="index.php?act=findpost&pid=296037"][{POST_SNAPBACK}][/a]
This was a big problem a few years ago when Athlon XP mobos were being marketed. It didn't really have to do with cheap components - more components which didn't perform as the suppliers (Jamicon, Nitai and others) told the mobo manufacturers that they would. The whole story is fairly interesting - with some cloak-and-dagger industrial espionage amongst other things. Mainboards from many manufacturers (I've seen Soltek, Abit and Gigabyte boards personally) were affected by the problem.
Quote
well, I ran Prime95's torture test per cabbagerat's suggestions and it failed after two minutes.  So I've got a hardware problem of some sort.  I still haven't checked the MB, but I will tomorrow.
[a href="index.php?act=findpost&pid=296206"][{POST_SNAPBACK}][/a]

Something is not as it should be. This could include dodgy RAM, bad Northbridge, a Sound Blaster Live! (or Audigy), heat or wrong voltage. If you have a Sounblaster or EMU card in your machine, try taking it out temporarily. It's likely that the problem will go away. If your sound card turns out to be the problem then there are ways to remedy the situation.
Simulate your radar: http://www.brooker.co.za/fers/

  • everstar
  • [*]
LAME Encoding Hang
Reply #17
I don't have a Soundblaster card in my machine; it's a Santa Cruz Turtle Beach.  I don't think it's the heat, either, since my machine seems to hover around 43 C no matter what I'm running (that doesn't make the machine crash).

  • R.A.F.
  • [*][*][*][*]
LAME Encoding Hang
Reply #18
It could also be the power-supply, which doesn´t deliver the necessary amperes anymore. Power-supplies loose their ability to deliver the full power after running for a few years.
My used codecs and settings:
FLAC V1.1.2 -4 / APE V3.99 Update 4 -high / MPC V1.15v --q 5 / LAME V3.97b2 -V2 --vbr-new / OGG aoTuV V4.51 Lancer -q5

  • beto
  • [*][*][*][*][*]
  • Members (Donating)
LAME Encoding Hang
Reply #19
My setup:
Athlon XP 1800+ (no overclocking)
512Mb RAM
GeForce 4 64Mb
Soyo K7V Dragon Plus!
Win XP Pro SP2

In the past i had a similar problem. In my case I got blue screens all the time and the system became highly unstable.

To solve it I had to shutdown the 2 back usb ports in my motherboard through the bios. Everything wold crash after some minutes and everything else didn't work.
After I did that everything became stable again. The funny thing is that the 2 front usb ports work perfectly. Go figure.
I even bought a PCI to usb adapter and installed it, but that didn't work either. No hardware was recognized, and after some time the system was unstable again.

I think soyo's mobo usb support must have some kind of issue... I never figured out what was wrong.
  • Last Edit: 14 May, 2005, 01:54:42 PM by beto

  • Kenno
  • [*]
LAME Encoding Hang
Reply #20
If you really want to go to the bottom of this, first check the ram. This can be done by taking one stick out of the computer, see if the problem persists, if yes, take another stick out... In 80% of these cases, faulty ram is the culprit.
The second thing to test is IMHO the CPU's heatsink. Check if the heatsink is mounted stably on the CPU. It should not make the slightest angle. Check if there's an adequate amount of thermal paste between them. Too little is not good, too much neither. Note that the CPU temperature measurement often can't be relied upon. Particularly if the CPU does not make contact with the heatsink over its full area.
Bad power also is a frequent source of instability, although it often causes random crashes, i.e. not necessarily when doing a stress test. A "bad power" problem may be more subtle than a wrong voltage; unstable power doesn't always show up on a voltage meter. Unfortunately, the only sure way to test this this involves connecting your system to a good power source, which may be a lot of work for checking a more remote possibility like this.

Note that you may be suffering the consequences of earlier abuse. I don't know the history of your system, but it's quite possible that the damage has already been done, and that there's nothing you can do about it anymore. And even if its history is perfectly OK, any compound on your mainboard may deteriorate and cause stability problems. S*** happens.
If you can't find the problem, I'd systematically underclock, and slowly start looking for a replacement.

As a sidenote, I think this discussion is drifting out of the scope of HA. It clearly doesn't have anything to do with lame, or with your soundcard (since lame and prime95 don't use it). You may be better off checking more technically oriented forums. Experts exchange used to be quite popular...
  • Last Edit: 15 May, 2005, 02:29:05 PM by Kenno

  • philly4
  • [*]
LAME Encoding Hang
Reply #21
Quote
Quote
If your motherboard is older and/or the manufacturer buys cheap components, it might be a blown capacitor. Look at the large ones near the CPU. If the cap is dented outwards or even blown and leaking electrolyt, then your MB is toast. Heat will shorten a capacitor's lifetime.
[a href="index.php?act=findpost&pid=296037"][{POST_SNAPBACK}][/a]
This was a big problem a few years ago when Athlon XP mobos were being marketed. It didn't really have to do with cheap components - more components which didn't perform as the suppliers (Jamicon, Nitai and others) told the mobo manufacturers that they would. The whole story is fairly interesting - with some cloak-and-dagger industrial espionage amongst other things. Mainboards from many manufacturers (I've seen Soltek, Abit and Gigabyte boards personally) were affected by the problem.


I've had my athlon xp overheat once when i was playing around with quieting down my system and turning fans down etc.  Anyway's there are at least two caps that are dented outward and leaking electrolyt.  Seems like my mobo still works fine.  What kind of effect does having blown caps have on the system.  How long till my mobo just doesn't work.  Thanks.
"Monkey see, monkey do, yeah."  David J. Matthews

  • Kenno
  • [*]
LAME Encoding Hang
Reply #22
Quote
What kind of effect does having blown caps have on the system.  How long till my mobo just doesn't work.  Thanks.
[a href="index.php?act=findpost&pid=297873"][{POST_SNAPBACK}][/a]
There's absolutely no telling. But... better safe than sorry.