VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    May 2009
    Location
    United Kingdom
    Search Comp PM
    Hi
    I'm currently building a website that will include 45 second samples of songs from albums. I'm just wondering if theres some way to automate this as I have quite a lot of samples to create.
    My original files are lossless wma but i can convert them to most formats with dbpoweramp - output needs to be mp3 to be playable through a flash player.
    Last edited by ian_g; 17th Jun 2011 at 12:09.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Code:
    ffmpeg -i audio.wma -ss 00:00:00 -t 45 -acodec mp2 output.mp2
    You could then make batch file for it with a loop that goes through all your wma files.
    Quote Quote  
  3. Member
    Join Date
    May 2009
    Location
    United Kingdom
    Search Comp PM
    sorry to sound dumb but that bit of code means nothing to me
    i also made a typo - I meant mp3, sorry
    Quote Quote  
  4. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    It's a command line application that is VERY useful for automated stuff.

    Usage:
    -Extract ffmpeg.exe to c:\ffmpeg for example
    - Open a command prompt (go Start->Run, type in "cmd.exe" and press enter)
    - Change to the folder where you unpacked the files you downloaded (for example: cd "C:\ffmpeg")
    - Run ffmpeg like in the examples you see, like:
    ffmpeg.exe -i <input file> <output file>

    Or maybe somone know some easy to use GUI/Frontend that has these features.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!