Fedora Linux Support Community & Resources Center
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:
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?

Reply With Quote
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: 729
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
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
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

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: 17:21 (Thursday, 17-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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