Fedora Linux Support Community & Resources Center
  #1  
Old 6th April 2009, 09:53 PM
daviddoria Offline
Registered User
 
Join Date: Oct 2007
Posts: 884
Combine videos with mencoder

I'm trying to concatenate a bunch of videos in a directory. I've used this before:
Code:
mencoder -of mpeg -nosound -ovc lavc -lavcopts vcodec=mpeg2video -o combined.mpg *
but I'm getting 'New video file has different resolution or colorspace than the previous one". I'm assuming thats because they aren't all the same size, etc. Is there anyway to tell it "convert with padding" to make them all the same size by padding with black space? Or is there a better way to do this?

Thanks,
Dave
Reply With Quote
  #2  
Old 7th April 2009, 09:44 AM
Lindy Offline
Registered User
 
Join Date: Feb 2004
Location: 45° 57' 9.43" N 86° 14' 39.55" W
Posts: 723
I generally do my vid's to dvd format==>format=dvd -vf scale=720:480 . Are the vid's you're trying to do all the same aspect ratio? If not that may cause some problems...
__________________
Obscurum per obscurius
-the obscure (explained) by the more obscure.
Reply With Quote
  #3  
Old 7th April 2009, 11:54 AM
daviddoria Offline
Registered User
 
Join Date: Oct 2007
Posts: 884
No they're not. I'd like it to work for arbitrary input videos. Windows Movie Maker seems to deal with this without a problem, I can just "drag and drop" the videos into a timeline and it magically does exactly what I'm looking for... seems odd that I can't do it at all in linux.
Reply With Quote
  #4  
Old 7th April 2009, 03:47 PM
kromberg Offline
Registered User
 
Join Date: Mar 2008
Posts: 135
Both mencoder and ffmpeg need to have the source files be in the same audio and video formats to concat them. You need to do that first, before you can concat them. Some of the GUI frontends for mencoder and ffmpeg will do that for you.
Reply With Quote
Reply

Tags
combine, mencoder, videos

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Combine or RAID USB drives jdeslip Using Fedora 2 11th April 2007 09:58 AM
How to combine avi files or videos in general? tonytiger Using Fedora 0 17th December 2005 06:28 PM
howto combine several jpg into one ? the-linux-guy Using Fedora 10 3rd May 2004 10:24 PM


Current GMT-time: 05:52 (Saturday, 20-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Creek Side - Stockholm-Arlanda Airport (ARN) Travel Photos on Instagram - Marina of Koper Travel Photos - Te Whiti Park Instagram Photos - Texas State Fair Photos on Instagram