Extract multiple specific segments from one large audio file

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
tdcooper
New Cone
New Cone
Posts: 3
Joined: 06 Feb 2010 19:03

Extract multiple specific segments from one large audio file

Postby tdcooper » 06 Feb 2010 19:13

Hello,

I've got a large capture (3 hours) of an internet radio stream, saved in .AAC format. Within this large time frame are multiple songs that I want to extract out to separate MP3's.

I have no problem getting VLC to convert the entire file to one large MP3, but I can't for the life of me figure out how to get it to start and finish at specific points within the file while outputting that segment to an MP3. ie. I want to do several "runs".... one for each section I want to extract, telling VLC to start and finish at the relevant points.

I imagine this is possible....? Command line options?

Thanks!

tdcooper
New Cone
New Cone
Posts: 3
Joined: 06 Feb 2010 19:03

Re: Extract multiple specific segments from one large audio file

Postby tdcooper » 07 Feb 2010 23:33

So, I'm guessing nobody knows if there is a way to queue up an audio file to a specific time within it, from the command line?

tdcooper
New Cone
New Cone
Posts: 3
Joined: 06 Feb 2010 19:03

Re: Extract multiple specific segments from one large audio file

Postby tdcooper » 08 Feb 2010 17:11

I've found the solution for anyone who is curious. Unfortunately the functionality doesn't work in recent versions of VLC. I had to go back to version 0.8.6e and then it works beautifully. The command I use is as follows:

vlc Path_To_Source_File :start-time=start time in seconds :stop-time=stop time in seconds :sout=#transcode{acodec=mp3,ab=256,channels=2}:duplicate{dst=std{access=file,mux=raw,dst=Path to Output.mp3}}

I just have to plug in the start and end times for each segment within the single large audio file and it pumps it out to an MP3. Works a treat. Wish it worked in the current version!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 44 guests