Script or prog for lame

Hi!
i would like to transcode a bunch of musicfiles to mp3-format via lame with same settings
for each file. Is a script or a program available that does the job for me?
one important thing for me is, if the source file IS already mp3, the id3-tag is copied to the new file (the program shouldn´t kepp the mp3 because a smaller file will be created ;-)
i tried to make a script myself with the idea, that the script creates for example with "ls *.mp3 > .mp3files" a file with all mp3-files in it to do a batch encoding.
then it should read out (of .mp3files) the files to reencode from "filename.mp3" to "filename_.mp3", copy id3 tag and then delete source file.....
has anyone a similar program or a script or other ideas for me?
greetings matto

You can try a bash script. Example:  This one converts wav to mp3:
#!/bin/bash
for i in "$@" ; do
lame --r3mix "$i" "`basename "$i" .wav `.mp3"
done
./wav2mp3.sh *.wav
will convert all wav in the current directory to mp3.  You can change the lame line if you have other formats.

Similar Messages

  • Driver prog for tcode vf01 r  script mr_print

    hi friends,
    i have checked out driver prog in tnapr for vf01 / mr_print
    but it z giving a sub routine pool prog RM08NAST.
    i havwe migrated dat mr_print script to smart form but it z giving errors at the declartions level.
    so i need to find out how they declared it in the stad driver prog of mr_print
    pleaase let me know the driver prog for mr_print r vf01.

    print program is RLB_INVOICE

  • Reg : modification in sap script driver prog

    Hi folks,
    need some help regarding sap scripts
    i havecopied the standard layout medruck to my layout
    and made some changes.
    now i have to modify the driver program
    in the tnapr table the driver prog for medruck is
    given as sapfm06p
    but when i see the source code for that in the
    editor
    evrthing is like included functions there
    in the incuded there is a form named with "entry_neu"
    which has some code calling few functions
    but...
    there is no openform,no write form etc.
    where should i give the name of the form name that i have
    i have developed(changes made to the copy of the medruck)
    where should i make the changes in the prog
    how about going at modifying the driver program
    do i have to assign the o/p type using the tcode nace.
    please give me the steps
    please treat it as very urgent
    expecting a promt responses from u
    thanks & regards,
    annamreddy

    We modified the driver program because there was a requirement to add stuff that was not available in the standard driver program.  Here is what we did.
    First,  Copied the SAPFM06P program to SAPFZM06P.  Did not copy all of the includes. Copied only the FM06PE02 include program to ZFM06PE02.
    Second,  in the include ZFM06PE02,   there is a form call ENTRY_NEU,  this is the entry point to print the form, notice that there is a function module in this form called ME_PRINT_PO.  This is the function module that will print the PO.  Eventually, you will want to call a Z version of that funciton module.
    Third,  copy the entire funtion group MEDRUCK into ZMEDRUCK.  This is the function group which has the function module ME_PRINT_PO.  Don't copy the includes into Z versions.  You don't need to modify all of them.  Only copy them when needed.  Save and Activate.
    Finally,  go back to that include program ZFM06PE02,  now make the call to ME_PRINT_PO to the Z version, in my case it is ZME_PRINT_PO.  Save and activate.
    Make sure that you change your configuration in SPRO to use the SAPFZM06P program instead of the standard.  Now your form should be printing from the custom driver program.  Modify away!!!!
    Please don't forget to award points for helpful answers.  Thanks.
    Regards,
    Rich Heilman

  • No script engine supported for 'JScript' error in OBIEE 11G ibots

    Infrastructure: 64 bit OBIEE 11.1.1.5 on 64 bit Red-Hat Enterprise Linux 5.6
    We tried using *.java to export the delivery content of an 'Agent' and place it in a shared folder on Windows.
    We are able to use the .java file directly in putty and it works fine in creating a folder and copying the file from source to target, but when we put the same script as part of the actions in the 'Agent' properties, its fails with the error "[nQSError: 66023] No script engine supported for 'JScript'". The e-mail is triggered and the attachment is delivered fine.
    We tried the same with a *.js file. The error is the same. I found people using *.js scripts and they say it worked for them at Re: How to send the content of an agent (PDF Report) to local machine in 11g
    But I am not sure what are the other settings that should be done. The error seems very basic and fundamental and has something to do with java interpreter or something.
    Any help if you have implemented the same, would be greatly appreciated.
    Thanks!

    That example in the link shows creating an action at the end of 'Agent'. I am not sure if that is what the user meant by 'create an action'. If the user meant to create an 'action', how does and where we call that action at the end of an 'Agent'?
    I did try creating an action by updating the 'UserScript.js' file, but the moment i update the file with a custom function, the server doesnot recognise the UserScript.js file anymore and i cannot even use the default functions in UserScript.js file.

  • Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 537, state 3, severity 16

    Hello,
    I've encountered issue during installation of SP1 to SQL Server 2012. After upgrade I'm getting this error in Event Log:
    Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 537, state 3, severity 16. This is a serious error condition which might interfere with regular operation and the database will be taken offline.
    If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script
    upgrade steps run to completion.
    Can someone point me direction how I can fix it? This is a production server and currently only way to make it working is to use T902 flag in SQL Server startup params. I've found some suggestions to check Data path if it exists but it does so this is not
    the issue here. Any ideas?
    I've found also here
    http://www.sqlservercentral.com/Forums/Topic1377073-1550-1.aspx#bm1378279
    suggestions for similar issue with SQL Server 2008 which that I should do:
    Via ssms:
    From msdb:
    Delete:
    dc_admin role
    Dc_operator role
    Dc_proxy role
    UlitityCMRReader role
    UtilityIMRReader role
    UtilityIMRWriter role
    but for not I didn't tried it yet. This is standalone SQL Server instance.
    Any help really appreciated.
    Regards

    Script returns the same error.
    System databases:
    1    1    760    -1    10    1048578    0    1    master        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\master.mdf
    2    0    12768    -1    10    1048642    0    1    mastlog        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
    1    1    1024    -1    10    1048578    0    2    tempdev        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\tempdb.mdf
    2    0    64    -1    10    1048642    0    2    templog        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\templog.ldf
    1    1    288    -1    128    2    0    3    modeldev    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\model.mdf
    2    0    4464    -1    10    1048642    0    3    modellog    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\modellog.ldf
    1    1    28936    -1    10    1048578    0    4    MSDBData    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\MSDBData.mdf
    2    0    3352    268435456    10    1048642    0    4    MSDBLog    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\MSDBLog.ldf
    are all in place where path shows.
    Before sending my message I've searched update script for "FROM master.sys.master_files" and I found script which you are showing me. I've made some digging and when I runned:
           SELECT physical_name
           FROM master.sys.master_files
           WHERE (name = N'master')
    it returned also path to one my customers database name which has filename set correctly but it's Logical DB name is master and mastlog. I'm running shared hosting company and I allow my customers to restore their DBs from .bak files but I have no idea why
    this customers logical name is set to master and mastlog. Probably when I change this names update script will work as it should. On the other hand in my opinion there should be some kind of fail safe mechanism for situations like this one.
    EDIT: After changing logical name for DB and log for mentioned DB your script runned fine so probably now when I remove T902 flag and restart my SQL Server update will run correctly. Big thanks for resolving this issue.

  • Script Default Java for browsers

    Hello all,
    I would like to know if is it possible to script the enabling of "Default Java for browsers". http://www.java.com/en/download/help/5000021500.xml
    We have a large deployment of the JRE currently 1.6.0-05, we would like to run a script for all users to make sure that IE is enabled within the control panel for Java.
    I have been unable to find a successful registry setting or file setting to enable this for all users. It appears that the setting is only enabled if done manually through the Java control panel.
    Does anyone know how this can be scripted to enable for all users, we would like to do this on login through kix or group policy.
    thanks for your help.

    In Internet Explorer, go to Tools -> Manage Add-Ons and scroll down to Sun Java Plug-In.
    db

  • Any standar alv prog for copying PF-STATUS.

    Hi all,
         I am developing ALV drill down report. Plz provide any standard ALV prog for copying status.
    >Help me on how to handle Event in interactive alv lis. Provide me code for event handling and alv drill down repot.
    Regads.

    Hello,
    1) While creating your alv report,
    after setting the pf-status , double click on it.
    You will be taken to the screen where we set our gui status.
    To get the standard alv status you have to go to Extras->then click on adjust template
    In this select list viewer.
    With this when you check your application toolbar there,
    all the standard function codes of alv will appear.
    2) To handle events in your alv,
    you have to call one function module-> Reuse_alv_Events_get
    In this you have to give one internal table name whose structure is like slis_t_events ,
    also create its work area of type slis_alv_events.
    With this in your internal table given in that function module all the events of alv get listed,
    you can see that while debugging.
    After that you have to read that internal table to work area for that required event like if i want the event
    End-Of-List from that list then i will write:
      READ TABLE itab_events INTO wa_events WITH KEY name = 'END_OF_LIST'.
      wa_events-form = 'END'.
      MODIFY itab_events FROM wa_events INDEX sy-tabix.
      CLEAR wa_events.
    The mentioned in codes that is 'End',
    you will have to create one subroutine for it.
    that will be like,
    FORM end.
      REFRESH it_end.
      wa_end-typ = 'S'.
      wa_end-key = text-004.
      wa_end-info = sy-datum.
      APPEND wa_end TO it_end.
      CLEAR wa_end.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_end
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =
    ENDFORM.                    "END
    The message written in the text element will get printed in the end of the list as we selected end-of-list event from the internal table passed in the function module Reuse_alv_Events_Get.
    Hope this solves your problem.
    Thanks

  • Print prog for a tcode

    Hye All,
    How to find a print prog for a particular tcode.
    Thanks,
    Vibha

    Hi,
    Go to SE 93 then enter ur transaction press display mode then u will get print program for that perticular transaction.
    second option goto NACE transaction select perticular application related ur transaction. Then press out put type then u will have to select perticular out put type then double click on processing routines then u will get related form and related print program.
    if it use full answer please reward me a points.
    praveen

  • Can we record script in OS for peoplesoft

         Can we record script in OS for peoplesoft not for load testing but for functional testing

    Peoplesoft works in browsers, so you can use web functional testing for Peoplesoft too
    Cheers,
    Deepu M
    [email protected]

  • Where's the InDesign Script Listener plugin for Extendscript?

    Is there anything similar to Photoshop's Script Listener plugin for InDesign for ExtendScript?

    No, there is no such a plug-in for InDesign.

  • Where can we find the standard program for scripts and smartform for vl02

    where can we find the standard program for scripts and smartform for vl02
    regard,
    anil

    If it is a standard Script Output see that all config in NACE tcode was done correctly and in the Application document the output type was properly defined and attached to a medium, partner and all communication related things like printer name, when to print the output and number of messages etc are entered in the document
    the go to the related application Tcode
    (for sales order goto VA02 or VA03)
    (delivery -VL02N or VL03N)
    for Invoice VF02 or VF03
    for PO -goto ME9F
    enter doc number, Issue Output to -> screen/printer
    then see the output
    step 1 : copy the z layout into testing client thru SCC1.
    step2 : go to se71 and check modified layout.
    step3 : if it is under logistics.. go to TCODE "NACE".
    u will see various applictions for each business process.
    there u have configure ur related layout according to requirments,
    for example u consider for Request fo Quatation..
    there is APPLICATION called "EA"
    click and enter into it. configure it with ur requirments, for help consult with ur functonal consaltant, and save it.
    step 4 : goto tcode ME9A for requst for quatation(RFQ).
    step 5 : enter test data avalable and check it with message display.
    it is same for other applications like Contract agreament --> ME9k
    invoice --> vl02n
    and goes on..
    Reward points for useful Answers

  • How can I download a Generic Post Script printer Driver  for Windows 7 .

    How can I download a Generic Post Script printer Driver  for Windows 7

    We used to install this PostScript printer  for previous Windows releases from
    (winsteng) and run it to install the driver from the below location
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=1500
    This doesnt work with Win 7 (The install crashes ) , Basically looking to do the same process with Win 7

  • Ann: Script Panel replacement for CS5

    I've been working on a fun project the last few weeks in the new Extension Builder for CS5.
    Here's what I came up with (I think it's very cool!) :
    http://in-tools.com/wordpress/script-bay/script-panel-replacement-for-the-entire-creative- suite
    Harbs

    I don't think Adobe pays very much for this stuff, unfortunately...
    I'm gonna have some more fun with it yet. Stay tuned...
    Harbs

  • How do I locate someone who can write some scripts and plugins for Illustrator CC?

    How do I locate someone who can write some scripts and plugins for Illustrator CC?

    I just wanted to add a screen shot of the dialog showing the sound in question.

  • Apple Script to Check for System as well as Applications Updates?

    Hi,
    I was wondering if someone has created an Apple Script to check for Finder as well as Applications updates automatically.
    Thanks,
    Nawaf
    MacBook 13" 2Ghz 2GB   Mac OS X (10.4.7)  

    There wouldn't be any updates to the Finder separately. Any system updates are announced by Apple when they're available, and this is what the Software Update feature is for.
    If you go to System Preferences->Software Update, you can set it to automatically check for updates, or you can check manually. Monthly is usually the best schedule to check for updates, as Apple doesn't often release things on any quicker schedule.
    Mulder
    If this answered you question, please consider awarding some points. Why Reward Points?
    iMac G4 700Mhz   Mac OS X (10.3.9)  

Maybe you are looking for