Forgot your password?
typodupeerror

Comment Use mpgedit... (Score 3, Informative) 278

mpgedit (http://mpgedit.org/) is an mp3 frame cutter that can easily handle this job. The size of the input mp3 file does not matter, mpgedit can handle anything you throw at it. You want to use the command line interface in conjunction with something like Perl or Python to pick random edit times and lengths. There are also Python bindings you can call directly if you are programming in Python.

A brief command line example:
mpgedit -e39-44 -e111-137 -e222-244 huge.mp3

Will create huge_1.mp3 huge_2.mp3 and huge_3.mp3, 5, 26 and 22 seconds in length respectively.

The script you need to write will generate a command line similar to this example, generating random time offsets and segment lengths. You can determine the total input file play time by running "mpgedit huge.mp3" and parse the time from the "Track length:" field.

Slashdot Top Deals

How many weeks are there in a light year?

Working...