Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-07-2007, 06:21 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 21

Rep: Reputation: 15
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.
Old 10-07-2007, 07:06 PM   #2
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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:
$ 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":
$ cat x** >> file.asf
Old 10-07-2007, 07:30 PM   #3
LQ Newbie
Registered: Jul 2005
Posts: 21

Original Poster
Rep: Reputation: 15
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Program to split Ogg Theora files? Gethyn Linux - Software 2 09-14-2007 10:57 AM
playing .asf files with xine/mplayer ankscorek Linux - Software 4 05-12-2006 08:58 PM
A linux program that can handle split .rar files? Cinematography Linux - Software 3 05-03-2005 03:04 PM
program to split and merge files fuelinux Linux - Software 3 10-25-2003 11:56 AM
I can't get .asf files to play in mplayer..... garymansell Linux - Software 0 07-10-2003 08:21 AM > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration