[Solved] LAME mp3 encoder, again

Author
Paul P
Max Output Level: -48.5 dBFS
  • Total Posts : 2685
  • Joined: 2012/12/08 17:15:47
  • Location: Montreal
  • Status: offline
2014/12/26 15:46:16 (permalink)

[Solved] LAME mp3 encoder, again

I'm attempting to get the LAME mp3 encoder to work withing X3e Producer.
 
I put both lame.exe and lame_enc.dll in a folder under Shared Utitilities.  This is version 3.99.5 (64 bit).
If I run the encoder directly within the folder using a command prompt it works fine.
 
I used the Cakewalk External Audio Encoder Setup program which looks like this :
 

 
I have a project with one audio track containing 2 minutes of audio.  I select <File/Export/Audio> :
 

 
I click Export, see "Mixing Down Audio" then a brief flash of a window probably from lame.
 
The mp3 file is produced, it's only 2k in size and it contains .026 seconds of nothing.
 
Any ideas as to what I'm doing wrong ?  I've read most of the threads on setting up this encoder and thought I did everything right.
 
post edited by Paul P - 2014/12/26 16:29:30

Sonar Platinum [2017.10], Win7U x64 sp1, Xeon E5-1620 3.6 GHz, Asus P9X79WS, 16 GB ECC, 128gb SSD, HD7950, Mackie Blackjack
#1

6 Replies Related Threads

    Teds_Studio
    Max Output Level: -75 dBFS
    • Total Posts : 761
    • Joined: 2011/12/21 01:00:42
    • Location: AR
    • Status: offline
    Re: LAME mp3 encoder, again 2014/12/26 15:51:50 (permalink)
    Did you select "all"....CTRL+A ?  I have ran into this before by accident.  If you only have a small portion of the audio "selected"....that is all that will render.

    ASRock X99 Extreme4 MB....Gigabyte GeForce GTX 960 4 GB DDR 5.....Intel i7 5820k 3.3 Ghz....Corsair RM850i power supply....3 Seagate 1TB SATA III drives....32 Gig G.Skill Ripjaws DDR4 3000.....Win 10 Pro.....Sonar X1 Producer Exp & X2, X3...Platinum....Superior Drummer 2 & 3 w/ N.Y. Vol 2 SDX.....Sony VEGAS Pro 11.0 32 & 64 bit Pro 12.....Sony VX2100.....Sony HVR-Z7U....Sony HDR-CX130....Alesis HD24....Behringer X32 console....Focusrite 18i20....JBL LSR2328P studio monitors with LSR2310P sub.
    #2
    Paul P
    Max Output Level: -48.5 dBFS
    • Total Posts : 2685
    • Joined: 2012/12/08 17:15:47
    • Location: Montreal
    • Status: offline
    Re: LAME mp3 encoder, again 2014/12/26 16:15:27 (permalink)
    Teds_Studio
    Did you select "all"....CTRL+A ?  I have ran into this before by accident.  If you only have a small portion of the audio "selected"....that is all that will render.



    I believe if you have nothing selected, you get the whole track ?
     
    I just tried with the entire audio selected and there's no difference.  Sure wish I could see what lame is telling me, but the window just flashes and is gone before I can read anything.  There is some text in the window.
     
     

    Sonar Platinum [2017.10], Win7U x64 sp1, Xeon E5-1620 3.6 GHz, Asus P9X79WS, 16 GB ECC, 128gb SSD, HD7950, Mackie Blackjack
    #3
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: LAME mp3 encoder, again 2014/12/26 16:23:52 (permalink)
    Create a wav file and run it a the command line. Not sure why dithering is being applied to a 64bit file. I know the integrated mp3 encoder expects a 16bit file. The command line lame can encode 24bit files. I have not tried 64bit files.
    #4
    Paul P
    Max Output Level: -48.5 dBFS
    • Total Posts : 2685
    • Joined: 2012/12/08 17:15:47
    • Location: Montreal
    • Status: offline
    Re: LAME mp3 encoder, again 2014/12/26 16:33:25 (permalink)
    scook
    Create a wav file and run it a the command line. Not sure why dithering is being applied to a 64bit file. I know the integrated mp3 encoder expects a 16bit file. The command line lame can encode 24bit files. I have not tried 64bit files.



    Thanks scook/Steve !!  As usual, your sharp eye saves the day.
     
    The threads I read didn't say anything about the Channel Format / Sample Rate / Bit Depth / Dithering part of the export dialogue.  So I didn't touch them.  I don't know why it was set to 64 Bit Depth but changing it to 16 solved everything.
     
    Cheers !
     
     

    Sonar Platinum [2017.10], Win7U x64 sp1, Xeon E5-1620 3.6 GHz, Asus P9X79WS, 16 GB ECC, 128gb SSD, HD7950, Mackie Blackjack
    #5
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: LAME mp3 encoder, again 2014/12/26 16:38:43 (permalink)
    External encoders and the integrated mp3 encoder use a temporary wave file, the %I in the command line. This interim wave file is created like any other exported wave file.
    #6
    Paul P
    Max Output Level: -48.5 dBFS
    • Total Posts : 2685
    • Joined: 2012/12/08 17:15:47
    • Location: Montreal
    • Status: offline
    Re: LAME mp3 encoder, again 2014/12/26 16:46:40 (permalink)
    scook
    External encoders and the integrated mp3 encoder use a temporary wave file, the %I in the command line. This interim wave file is created like any other exported wave file.



    Ah, that explains why I was getting both a wav file and a broken mp3 before I unselected the "Keep Source File" option.  I sure wondered where the wav file was coming from.  I didn't know what that option in the dialogue did, but one post mentioned deselecting it.
     

    Sonar Platinum [2017.10], Win7U x64 sp1, Xeon E5-1620 3.6 GHz, Asus P9X79WS, 16 GB ECC, 128gb SSD, HD7950, Mackie Blackjack
    #7
    Jump to:
    © 2024 APG vNext Commercial Version 5.1