Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 12-13-2006, 02:12 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
splitting files not working...

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!
Old 12-13-2006, 02:30 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,949
Blog Entries: 14

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
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.
Old 12-13-2006, 03:22 PM   #3
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
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
Old 12-13-2006, 03:38 PM   #4
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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.


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
Splitting 1.4 GB avi files morgoth2400 Linux - General 3 12-29-2005 03:36 AM
splitting files columnwise manjushp Programming 3 08-25-2005 04:49 PM
splitting vob files ssfrstlstnm Linux - Software 2 07-10-2005 03:55 PM
OpenOffice files splitting bezaleel Linux - Software 0 07-22-2004 03:39 PM
Splitting AVI files gonniff Linux - Software 4 09-19-2003 09:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:42 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