LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-26-2006, 09:31 AM   #1
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Combine multiple wmv files to one large file


Hello, I've been using LiVES for most of my video editing. (combining, splitting and what not) I have run into a problem with wmv files however. It will load them up okay but I can't seem to do anything with them. I tried encoding them to DIVx using mencoder but the loss in file quality was significant.

A) is there a utility that can merge multiple wmv files into one?

or

B) is there a way to encode WMV's to an easier to use format without losing a lot of quality?

thanks!
...drkstr
 
Old 04-26-2006, 11:26 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
it may sounds wierd, but i think you can actually cat such files into each other.

e.g

cat file1.wmv file2.wmv > newfile.wmv

i might be clutching at straws, but it worked for me with avi....
 
Old 04-26-2006, 11:36 AM   #3
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Original Poster
Rep: Reputation: 45
That was a good idea, I should have tried that. It merged them together per file size, but it only plays to the end of the first clip. I don't know a lot about wmv codecs, but I think the heavy encoding on them is what prevents video editors and things such as 'cat' to manipulate them. I wonder if there is some way to crack the file so it doesn't stop when the end of the first file comes up. I will keep looking but I have been pretty unsuccessful so far.

thanks!
...drkstr

Last edited by drkstr; 04-26-2006 at 11:38 AM.
 
Old 04-26-2006, 11:38 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
yeah i can imagine. WMV files aren't too good on linux. Maybe you can convert to another format or find the origionals in another format........

merge together per file size? you need to explictly name the files in the cat command. you can't do "cat *.wmv > newfile.wmv" as this will come out in the wrong order..... see what i mean?

something like "cat part1.wmv part2.wmv part3.wmv > new.wmv"

Last edited by satinet; 04-26-2006 at 11:41 AM.
 
Old 04-26-2006, 11:50 AM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Original Poster
Rep: Reputation: 45
yeah I know, I meant that the file size of newfile.wmv was equal to the file sizes of the 2 clips added together.

I tried converting to DIVx but the loss in quality was to great to be useful. I used the default lavc DIVx50 codec. Do you know anything about mencoder or ffmpeg? Are there any better options to use to preserve file quality? I was wanting to convert it to a regular avi with no compression but did not see any options to do so.

thanks for the help!
...drkstr
 
  


Reply



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
Split large file in several files using scripting (awk etc.) chipix Programming 14 10-29-2007 11:16 AM
Multiple Boxes to Combine CPU-Power wwnexc Linux - Networking 6 01-24-2006 10:36 AM
Combine multiple WAN connections quentusrex Linux - Networking 3 01-07-2006 01:45 AM
Command to combine several files as a single file, etc. satimis *BSD 3 06-10-2004 03:59 AM
Script file to replace large text blocks in files? stodge Linux - Software 0 09-27-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:37 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
Open Source Consulting | Domain Registration