Join two video files with different properties


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 1 Week Ago
Join two video files with different properties

I need to join two video files file1 and file2.


File1 has to be converted to get the properties of file2 and then the two are supposed to be joined together into one file.


If the properties like codec, resolution etc are different, it is impossible to merge the two files.



Is there an easy way to copy the properties of file2 and then merge the files?


I have to do the same thing with many different files.
# 2  
Old 1 Week Ago
Well, you forgot to specify anything about the computer system you are using.

For example, on a Debian-based system:

Code:
apt-get install mediainfo

Example:

Code:
$ mediainfo "The Blues Brothers.mp4" | grep -E 'Duration|Format  |Width|Height' | sort | uniq
Duration                                 : 2h 27mn
Format                                   : AAC
Format                                   : AVC
Format                                   : MPEG-4
Height                                   : 688 pixels
Width                                    : 1 280 pixels

# 4  
Old 1 Week Ago
So, you have your answer already then Smilie

(You're Welcome)
# 5  
Old 1 Day Ago
Did you solve it already? If not I can show you how to do with ffmpeg.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Join two files vikus Shell Programming and Scripting 8 05-09-2014 06:51 AM
Join two files mehar Shell Programming and Scripting 3 05-27-2013 08:19 PM
Join 2 files radius Shell Programming and Scripting 5 03-26-2013 03:37 AM
join two files johnkim0806 Shell Programming and Scripting 10 10-22-2012 11:30 PM
How to use the the join command to join multiple files by a common column evelibertine UNIX for Dummies Questions & Answers 5 07-05-2012 04:15 PM
how to join two files using "Join" command with one common field in this problem? mindfreak UNIX for Dummies Questions & Answers 2 04-13-2012 05:55 AM
nautilus audio/video properties missing tutorial cokedude Red Hat 0 09-16-2011 12:25 AM
Extracting video card properties JB007ROLV Programming 4 06-21-2010 03:53 AM
Join two files tomjones Shell Programming and Scripting 2 03-11-2010 03:21 PM
Join 2 files with multiple columns: awk/grep/join? InfoSeeker UNIX for Dummies Questions & Answers 3 12-01-2009 07:45 PM
Join TWO Files krk_555 Shell Programming and Scripting 3 05-29-2009 06:23 PM
join two files koti_rama Shell Programming and Scripting 5 08-05-2008 04:20 AM
Join two files koti_rama Shell Programming and Scripting 4 06-10-2008 06:15 AM
join files mohan705 Shell Programming and Scripting 3 03-15-2007 06:51 AM
List of files in sub directory along with their properties ravikirankethe UNIX for Dummies Questions & Answers 3 11-13-2006 04:19 PM