LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-13-2006, 03:12 PM   #1
mrroboto
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, 03:30 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,577
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
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, 04:22 PM   #3
kotnik
Member
 
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, 04:38 PM   #4
matthewg42
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 04:39 PM.
 
  


Reply


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


All times are GMT -5. The time now is 06:17 AM.

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