Join two video files with different properties


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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  
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  
So, you have your answer already then Smilie

(You're Welcome)
# 5  
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
How to use the the join command to join multiple files by a common column
evelibertine
Hi, I have 20 tab delimited text files that have a common column (column 1). The files are named GSM1.txt through GSM20.txt. Each file has 3 columns (2 other columns in addition to the first common column). I want to write a script to join the files by the first common column so that in the...... UNIX for Dummies Questions & Answers
5
UNIX for Dummies Questions & Answers
nautilus audio/video properties missing tutorial
cokedude
Since it was a royal pain for me to figure out how to show nautilus audio/video properties I would share this with other people. I KNOW this package does the trick. totem-nautilus This package MAY do the trick. I was reading this. gnome-mplayer-nautilus-1.0.3-1.fc15.x86_64.rpm -...... Red Hat
0
Red Hat
Extracting video card properties
JB007ROLV
Hi everyone. I'm looking for a way to extract the video card properties (Name, Driver version, amount of vram). I've managed to deal with nVidia cards, but nothing came for ATI/AMD cards and other kind of chipsets. Can someone point a way to do this? Thanks.... Programming
4
Programming
Join 2 files with multiple columns: awk/grep/join?
InfoSeeker
Hello, My apologies if this has been posted elsewhere, I have had a look at several threads but I am still confused how to use these functions. I have two files, each with 5 columns: File A: (tab-delimited) PDB CHAIN Start End Fragment 1avq A 171 176 awyfan 1avq A 172 177 wyfany 1c7k A 2 7...... UNIX for Dummies Questions & Answers
3
UNIX for Dummies Questions & Answers
List of files in sub directory along with their properties
ravikirankethe
How to view the list of the files in the sub directory along with their properties? I mean <folder1> ........<folder11> ..............<folder111> ......................MyFile_1111.txt ......................MyFile_1112.txt ..............<folder112> ......................MyFile_1121.txt...... UNIX for Dummies Questions & Answers
3
UNIX for Dummies Questions & Answers

Featured Tech Videos