Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi, i am trying to split a wmv file via the command prompt. i get to the dircetory, i split the movie, menace.wmv, which is 127 megabytes, like this
[root@localhost movies]# split -b50m menace.wmv new
so it splits and goes into the file were the movie is, but only the first file the splits (newa) works. for some reaspn linux reconizes it as 'ASF media' but its still plays. the other 2, newb and newc, are 'unknown.' i tried renaming the files to .wmv and .asf, but it doesnt work. can anyone help me out on this? thanks!
split is used to break a file up to allow for easier transport (e.g. if you didn't have FTP and needed to send it to someone via email but had a limit on how big attachments could be). The idea is that later you would rejoin the split pieces with the cat command to recreate the original file.
The reason the first piece works is that it has the header/control information needed by wmv. The other pieces wouldn't have that.
There may be a way to split up wmv files into smaller wmv files but this command isn't the one that will do it.
If you'd like to split a video file, try playing with mencoder (pay attention to -ss and -endpos parameters). It'll gonna be a RTFM ride, but it's worth it
There may be a tool which can do it without having to re-encode the whole file, but adding the proper headers and wotnot to each file. For audio files (mp3 & ogg) there's mp3splt.
There's one for mpeg movie files: gopchop. Not sure about wmv format though.
Last edited by matthewg42; 12-13-2006 at 03:39 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.