title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 13 of 13

Thread: how to add silence to mp3 or flac files through scripting

  1. #1

    how to add silence to mp3 or flac files through scripting

    Hello

    I am not currently a dbpoweramp user yet so this may be a stupid question, but I have looked elsewhere on this site and haven't found the information needed.

    I have a requirement to add silence to mp3 or flac files, either at the beginning or end in exactly the same way that can be achieved using the DSP effect "add silence" available in the GUI. I need to access this functionality in a vbscript program. Can anyone explain how to do this.

    Thanks in advance
    Rob

  2. #2

    Re: how to add silence to mp3 or flac files through scripting

    Hello

    I have now purchased the product and am a registsred user.

    Could someone please explain, or point me to somewhere which shows, or post an example of, how to add silence through scripting or another non GUI based method.

    Alternatively if someone knows that this is impossible, please can you let me know. I'm spending several hours per day for the last few days trying to figure this out.

    Thanks in advance
    Rob

  3. #3
    dBpoweramp Guru LtData's Avatar
    Join Date
    May 2004
    Location
    USA
    Posts
    8,288

    Re: how to add silence to mp3 or flac files through scripting

    This asks another question:
    Can DSP effects be accessed via scripting or command line?
    Right now, the answer looks like no but Spoon will have the final work on this.

  4. #4
    dBpoweramp Guru ChristinaS's Avatar
    Join Date
    Apr 2004
    Location
    Montreal, Canada
    Posts
    4,097

    Re: how to add silence to mp3 or flac files through scripting

    Quote Originally Posted by LtData
    This asks another question:
    Can DSP effects be accessed via scripting or command line?
    Right now, the answer looks like no but Spoon will have the final work on this.
    I haven't looked at this stuff, but maybe you can get some information here: http://www.dbpoweramp.com/developer.htm . Look at the bottom of the page.

  5. #5
    Administrator
    Join Date
    Apr 2002
    Posts
    43,854

    Re: how to add silence to mp3 or flac files through scripting

    If you setup DSP effects to add silence then the last settings will be used for scripting.

  6. #6

    Re: how to add silence to mp3 or flac files through scripting

    Thanks for the replies !

    We wish to use different settings each time we encode. Is this possible ?

    also i'd like to know if we can add silence without encoding ?

    Rob

  7. #7
    dBpoweramp Guru LtData's Avatar
    Join Date
    May 2004
    Location
    USA
    Posts
    8,288

    Re: how to add silence to mp3 or flac files through scripting

    Yes, you can change the settings every time you encode. However, you will have to reencode the file to add the silence, I think.

  8. #8

    Re: how to add silence to mp3 or flac files through scripting

    OK great ! Thanks for the info....

    so.....this takes me back to the original post...how do we actually do this using scripting. Can you post an example, or is there some documentation on it ?

  9. #9

    Re: how to add silence to mp3 or flac files through scripting

    Hello again !

    OK, we have been experimenting further....Can you please confirm if the scripting DLL works as an ASP component ? Because it doesn't seem to...it times out on the call to AddFromFile. Or perhaps we are doing it wrong ? Here is an example which times out:

    Set dMC = Server.CreateObject("dMCScripting.Converter")
    dMC.ConvertToFolder = True
    Call dMC.AddFromFile("C:\temp\04.wav")
    Call dMC.GoConversion("MP3 (Lame)", True, False, False, False)
    Set dMC = nothing

    Thanks in advance
    Rob

  10. #10
    Administrator
    Join Date
    Apr 2002
    Posts
    43,854

    Re: how to add silence to mp3 or flac files through scripting

    ASP will have security limitations.

  11. #11

    Re: how to add silence to mp3 or flac files through scripting

    We've given full permissions to the iusr account to both the working directory and the dmcscripting.dll and it still times out - note that it is actually timing out, not just reporting a permissions or access error.

    is it possible to use this as an asp component at all?

  12. #12
    dBpoweramp Guru LtData's Avatar
    Join Date
    May 2004
    Location
    USA
    Posts
    8,288

    Re: how to add silence to mp3 or flac files through scripting

    Probably a limitation in the user accessing a library. Have you tried running it from an Administrator account? As for documentation about scripting dMC, try here: http://www.dbpoweramp.com/developer-scripting-dmc.htm

  13. #13

    Join Date
    Jan 2006
    Posts
    1

    Re: how to add silence to mp3 or flac files through scripting

    Hello SaikoSounds,
    Quick question on wether or not you have been able to get this to work in an ASP page. I am currently using scripts in VBS, however I would love to be able to pass some parameters from an ASP page and have the conversion triggered from there.
    Please let me know if you've been able to get it to work under ASP.
    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •