LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Program to split asf files? (https://www.linuxquestions.org/questions/linux-software-2/program-to-split-asf-files-590131/)

kmand 10-07-2007 06:21 PM

Program to split asf files?
 
Is there any software for Linux that can split a large unencrypted asf audio file into small pieces? I can do it by using lame to convert to mp3, and then mpgtx to do the split, but thats really expensive, and my pocket player is happy with the asf format.

indienick 10-07-2007 07:06 PM

Do you mean splitting that one ASF file into smaller ASF files?

When I read the subject of your post, I was thinking of suggesting:
Code:

$ split -b b mediafile.asf
In which case you would get 676 binary files, xaa through xzz each 512 bytes. The only problem with this being, it would literally be that one ASF file split into 676 pieces; no headers are created and written to each piece.

NOTE: If you "split" the file, you put it back together with "cat":
Code:

$ cat x** >> file.asf

kmand 10-07-2007 07:30 PM

Yes, I should have said split into valid asf files, I am familiar with bsplit, and of course that won't do the trick.

For some context, I listen to audiobooks. I happen to have a 20 hour asf file right now, and my pocket audioplayer doesn't have bookmarks. Although it will play the 20 hour asf file, its easy to lose ones place and a big mess to get back to it. So I typically break it up into 15 minute segments.

Often I have the book in mp3, and mpgtx is a nice program that will split mp3 files into smaller mp3 files. I want to do the same thing with asf files, ie split into smaller valid asf files.

I could convert the original asf to pcm and then mp3 with lame, but for a 20 hour file that takes a couple of cpu hours.


All times are GMT -5. The time now is 01:58 AM.