Audio guys, LAME command line question

Hey I know this is not the exact forum for this question but I figured you guys could help me better than anyone. I have a G5 running tiger server and a website that is recompressing uploaded MP3 files using LAME via command line. LAME seems to be mangling some of the files by creating distorted filed and 0 byte sized files. I am wondering is there an any other mac program that I can use to reencode mp3 files with the terminal and command line? LAME is said to be great but the files that are already at the frequency that I want (44.1) are converted ok but everything else is just mangled... any suggestions. Thanks!

I guess I'm looking for either:
a suggestion on why LAME might be messing up files, maybe someone wlse who had similar issues with LAME and found a fix
or
another mac program like LAME that I can run via command line through PHP to convert files.
I'll play with automator and see if the itunes option might work.
Thanks!

Similar Messages

  • Command line questions....

    I really have two questions here.
    First, I have a small server that is very similar to this one I pulled off a tutorial:
    public class MyServer{
    // A bare-bones example: exception handling omitted.
       public static void main( String args[] ){
          ServerSocket serv;
          serv = new ServerSocket( 5150 );
          while ( true ) {
             Socket s;
             s = serv.accept();          // Wait for a connection
             handle_connection( s );  // Got one, now do something!
            s.close();
    } When I run this program from the command line it goes into an infinite loop readily accepting connections.
    For the most part, this is what I want. But how do I gracefully exit the program? Simply closing the command window seems drastic, not to mention the list of exceptions it throws.
    Second question: Once I run my program, is there a way I can close the command line window and log off the computer without killing my program?
    thanks.
    (Running on NT)

    How do you stop the program? You write another program that connects to the same socket and sends a message that both programs agree means "Shutdown". When the server receives this message, it shuts down nicely.
    Now you want to run it as an NT service? I've seen people post links to a third-party package that can run a Java class as an NT service; I didn't note the link but you could probably find it by searching the forums.

  • DOS command line question

    Hi, Isn't there a DOS command line symbol so that when javac returns all your syntax errors you can pause the screen before it blazes by your screen and you only catch the last few syntax errors. I thought it was javac whatever.java /p, but this doesn't work.
    Thanks.......gemann

    You might try
    javac yourClass | more
    but I seem to remember trying that without success.

  • Simple command line question

    i was wondering if there is a way to include all jar files from a single directory on the classpath when running java app from the command line.
    eg i am using this command:
    java -cp ..\libs\jar1.jar;..\libs\jar2.jar;..\libs\jar3.jar;..\classes package.Main
    what i want to be able to do is something like:
    java -cp ..\libs\*.*;..\classes package.Main
    i have tried using *, *.* and *.jar with no success. is it possible to do without setting environment variables etc.
    thanks

    >>
    It may be more error prone, but it's stilleasier. I
    use wildcards on the command line (and * in SQL)all
    the time, with few or no problems.
    Seriously this is a bad idea and you should stop
    doing it.
    You should always name your columns for SELECT (and
    for INSERT as well). For SELECT queries it offers the
    following benefitsSorry--I should have been more clear..
    I dont' use * in production SQL--for the reasons you mentioned. But I do a lot of one-off queries for testing, debugging etc.
    As for wildcards on the command line, again, for my daily putting around, there's not the risk that there is in production. In production, well, it may still be appropriate to use wildcards sometimes. You may actually want "everything in this directory, or that matches this pattern," where you don't know in advance what that will be. Regex comes to mind. :-)

  • QT Command Line Question

    I am looking for a script which I can convert movies through a simple line of code while being able to adjust Quality, file types to convert to, Frame Rates ...
    Pretty much all that Quicktime Pro can do.
    does anyone have an idea of where I can start?

    Try starting by opening the Script Editor in the /Applications/AppleScript folder, loading the QuickTime Player's AppleScript dictionary, and working until you create a script which does what you want. If you succeed in doing this, you can then create a command line method of converting the movies if you want to; post back for further assistance.
    There are a few pure command line tools for QuickTime, but all the ones I found can only play QuickTime files without having the capability to modify anything.
    (13221)

  • Command-Line question. Delete all but particular folders

    Hello. I need to create a batch file that will delete all folders within the "Users" folder except for the Administrator and Administrator.domainname.
    Can anyone help?
    Thanks

    You could try something along the lines of
    FOR /F "tokens=*" %%G IN ('DIR /B /A:D c:\test') DO if not "%%G" == "test2" if not "%%G" == "test3" rd /s /q "c:\test\%%G"
    but if you do, you may also delete
    c:\Users\Public
    c:\Users\Default         (a hidden folder)
    c:\Users\All Users       (a system folder)
    c:\Users\Default User (a system folder)
    Which may be regrettable. If you want an example of what happens then, try reading
    http://superuser.com/questions/219082/accidentally-deleted-user-profiles-on-windows-7-cant-log-on-with-other-users

  • OVM3.0.3 command-line question - how to clone

    Guys,
    I'm trying to do the following:
    take a hot clone every hour of a vm as a sort of backup of the vm
    I haven't noticed any functionality in the manager GUI. I need advise on the command to achieve this.
    Kind regards,
    J
    Edited by: JD on May 4, 2012 5:25 PM

    Have you tried this one: ovmcli-2.2-9.el5.noarch.rpm
    That should provide cli access to the Oracle VM GUI functions, including VM cloning. As a running VM results in a hot clone in OVM 3, maybe this will do th etrick for you. However, the release notes only mention OVM 2.2, but maybe it's worth a shot.

  • Command line question,

    Hi all,
    I am using googlecl to upload a bunch of picture to my picasa account, so far no issue.
    But if i'm using ~/picasa-upload/*.JPG it will upload all but in a random order.
    see outcome below:
    Loading file /home/sweetth/picasa-upload/SDC10825.JPG to album Newcastle
    Loading file /home/sweetth/picasa-upload/SDC10809.JPG to album Newcastle
    Loading file /home/sweetth/picasa-upload/SDC10740.JPG to album Newcastle
    Loading file /home/sweetth/picasa-upload/SDC10781.JPG to album Newcastle
    I want to have them to upload from SDC10655.JPG to SDC10800.JPG
    is there a way to right the commands to do have the upload happening in numerical order?
    Many thanks,

    Allthough ls works ok here, parsing ls output is a bad habit in general because a) the output will differ across implementations, b)  it will cause problems if it's used in a for loop like this, and c) it is often not necessary at all...
    Just loop over a glob in bash:
    for f in *.JPG; do googlecl "$f"; done
    (this will call googlecl for each file individually, not sure if that's what you want)
    Or use find and xargs instead of ls:
    find . -name '*.JPG' -print0 | xargs -0 googlecl
    Last edited by hbekel (2010-11-01 12:58:38)

  • Another Terminal Command Line Question

    Now that I can successfully connect to my iMac back home vis SSH, I an having problems copying files from it to my iDisk using Terminal. Right now I am using the command, "cp filename.ext idisk_name/directory". When I try that, I get an "Operations not permitted" error. What am I doing wrong?

    Post these queries to the Unix forum under OS X Technologies where Unix and Terminal mavens frolic.

  • Edquota Command Line Question

    Ok. So I can use sudo edquota <username> and access the VIM editor for any user. Once I make changes, how do I apply/save those changes? I've tried typing :q and but they don't seem to apply these changes.
    Also, even after creating group quota files by using the following commands:
    sudo touch /.quota.group
    and
    sudo touch /.quota.ops.group
    I still can't access these groups using the quota editor. Any help?

    :w saves your work in vi. :wq will save and then exit. :q! will quit abandoning changes and :w! will save changes even if the permissions of a file forbid writing (but not if you neither own the file nor are root).
    Did you try edquota -g to edit the group quota?

  • Audio file tagging on command line

    I've been looking for a solution to go trough all my audio files on command line and automagically write the tags. Problem is that I have quite much untagged mp3's and ogg's or not so consistent tags within same artist and this causes pain when browsing my catalogue.
    Like said, I'd prefer CLI on this. So if you know any possible solution, please, poke me
    Cheers and merry xmas!

    Hello. You could try id3 and id3v3 both from extra, or ncmpcpp from community, which I use. I don't know if they handle filetypes other than mp3, though.

  • Command Line Audio

    I'm looking for a simple way to record audio from the command line in OS X.
    Is there a tool similar to record or arecord?

    mac57 wrote:
    Hi All, thanks for the responses. I tried out cmus, but it seems to want to operate in ncurses mode only. I couldn't find a way to do something like:
    cmus filename &
    and have it just play a file and go away. I am looking for something like that to play sounds as part of XFCE4 startup and shutdown sequences. Totally non intereractive, you just put the command into the XFCE4 scripts and voila! you get sound.
    moc worries me. I run KDE too, and there is a moc already defined on my system, in /opt/qt/bin, which declares itself to be the Qt Meta Object Compiler. I figure I don't want to mess with that by installing something ELSE called moc. So, reluctantly I set moc aside.
    That's why the executable is called mocp.
    Btw, I admit I didn't read your original thread, only the title, and the answers.
    moc / cmus / mpd+ncmpc are not what you want at all, these are full featured music players.

  • Sending image sequence job to compressor in command line : how to set the framerate?

    Hello,
    In Compressor, when you import a image sequence, it's possible to set the framerate and add an audio file before choosing a preset and lauching the encoding task.
    I want to dlo the same thing with command line. I know how to send a compressor job with command line, but no how to add theses settings.
    In the compressor command line help, we've got this :
    Job Info: Used when submitting individual source files. Following parameters are repeated to enter multiple job targets in a batch
              -jobpath <url> -- url to source file.
                                               -- In case of Image Sequence, URL should be a file URL pointing to directory with image sequence.
                                               -- Additional parameters may be specified to set frameRate (e.g. frameRate=29.97) and audio file (e.g. audio=/usr/me/myaudiofile.mov).
    So there are also framerate and audio parameters in command line but i've no idea how to write the command line with theses parameters
    Here is an example of command line for Compressor (by Apple) :
    ./Compressor ‑clusterid tcp://127.0.0.1:51737 ‑batchname myBatch ‑jobpath /Volumes/Source/ShortClips/NTSC24p.mov ‑settingpath /Users/stomper10/Library/Application\ Support/Compressor/PhotoJPEG.setting ‑destinationpath /Users/machinename/Movies/myDestinationFilename.mov.
    Thank you for your help!

    You can see in the command sh running-config command
    show running-config : Displays the current access point operating configuration
    Use the guest-mode SSID configuration mode command to configure the radio interface (for the specified SSID) to support guest mode. Use the no form of the command to disable the guest mode.
    [no] guest-mode .
    Here is the guideline for usage
    The access point can have one guest-mode SSID or none at all. The guest-mode SSID is used in beacon frames and response frames to probe requests that specify the empty or wildcard SSID. If no guest-mode SSID exists, the beacon contains no SSID and probe requests with the wildcard SSID are ignored. Disabling the guest mode makes the networks slightly more secure. Enabling the guest mode helps clients that passively scan (do not transmit) associate with the access point. It also allows clients configured without a SSID to associate.
    Examples
    This example shows how to set the wireless LAN for the specified SSID into guest mode:
    AP(config-if-ssid)# guest-mode
    This example shows how to reset the guest-mode parameter to default values:
    AP(config-if-ssid)# no guest-mode

  • Setting audio output levels automatically at login (even with command-line)

    When I log in, the audio level seems to be at the level set by the last user. Is there a way to get this to automatically set to my preferred level when I log in?
    A related question: Is there a command-line method of setting the audio level?
    Thanks in advance,
    Paul
    Power Mac G5 Quad   Mac OS X (10.4.8)   2GB ECC Memory

    u could use scripting...
    sudo osascript -e "set Volume 20"
    using that at the command line will change the volume level to 20.
    you could put that in a script or something and have it launch at login.
    Beavis2084

  • Any command line audio player with song rating and play count?

    Is there any command line audio player that can handle song rating and play count? Thank you

    I answer my question: mpd + mpdcron can store song rating and play count and much more to sqlite database.
    Last edited by hariskar (2015-03-20 05:01:09)

Maybe you are looking for

  • Smartform as Button in Hotspot Question - Captivate 8

    If I add a Smartform as Button to an Hotspot Question, the Button seems to have no function. The Button is not in the Hotspotarea, it is outside. I created several Buttons with different actions attached to it but nothing works.

  • LDAP authentication too slow in OBIEE 10g

    Hello ,     For one of our clients we have configured LDAP (Microsoft Active Directory) for authentication purpose in OBIEE 10g repository. The Authentication process takes around 10-15 mins to Login . Are there any parameters that can help to speed

  • Downloading Large PPT file from Email - not working

    I emailed to myself a large 12 MB PPT file and in my email touched this assuming it would open and allow me to use iWork to open the file. I do have iWork Keynote on my iPad. However, it does not open. I touch the file and the hourglass keeps thinkin

  • How to transfer files from windows to ipad

    I have a huge grouping of Old Time Radio shows in a folder on my Windows XP Pro SP3 3 desktop computer. I want to copy them to my iPad mini, or to my 5th gen. iPod Touch. I know I can copy them on a thumb drive (the Windows computer does not "see" my

  • BI 7.0 Installed but errored out during DDIC password check !!!!!!!

    Guyz, i installed nw04s system with AS ABAPBI JAVAEP+EPC on MS SQL server ....its IDES software btw... everything went fine till 'Import ABAP' and even 'Running ABAP Reports' proces.... but while running the process 'Check DDIC Password', it popped a