LinuxQuestions.org
Help answer threads with 0 replies.
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 05-26-2008, 10:49 PM   #1
mdlinuxwolf
Member
 
Registered: Dec 2006
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 385

Rep: Reputation: 42
Question Joining files together with AVIdemux


How do I join 2 separate AVI files together to make them splice into one file? Cutting a file apart doesn't appear to be a problem. How do I do this with the GUI if possible? Is there a way to force them to splice?

Are there other video editing programs that are easier to use and open source?
 
Old 05-27-2008, 01:14 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
After loading the initial video, simply use "append" from the file menu (or Crtl+Alt+A) to add others in sequence. The files all have to have pretty much the same dimensions though.

IMO, avidemux is probably the easiest program to use, if not the most polished.

Last edited by David the H.; 05-27-2008 at 01:18 AM.
 
Old 05-27-2008, 01:33 AM   #3
htnakirs
Member
 
Registered: Mar 2007
Posts: 239

Rep: Reputation: 34
Virtual dub in wine. you will need to install the windows codecs first.
 
Old 07-24-2020, 02:21 AM   #4
ariaharry
LQ Newbie
 
Registered: Jul 2020
Posts: 1

Rep: Reputation: 0
join 2 avi videos

To merge avi files, someone recommend me to use some questionable windows software. You can do that just 3 simple steps.
Step 1. Drag and drop avi files to this software
Step 2. Choose avi or others as the output format
Step 3. Click the Convert button to combine avi files

Last edited by jefro; 07-24-2020 at 03:05 PM.
 
Old 07-24-2020, 03:06 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
The forum rules do not permit advertising. Please visit http://www.linuxquestions.org/advertising/ for more information on advertising. Feel free to contact the forum admin if you have any questions about this policy.
 
Old 07-24-2020, 04:58 PM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Quote:
Virtual dub in wine. you will need to install the windows codecs first.
I don't have any idea why a Linux user would do that as long as ffmpeg is on the earth.

If the 2 videos are the same size, bitrate, framerate etc.

confile.txt
Code:
file 'video1.mp4'
file 'Video2.mp4'
file 'video3.mp4'
Code:
ffmpeg -f concat -i confile.txt -c:a copy -c:v copy Output.mp4
If they are different size, bitrate, framerate, etc.

Then you'll need to dump them to transport stream first
Code:
ffmpeg -i Video1.mp4 -c:a copy -c:v copy -bsf:v h264_mp4toannexb out1.ts
ffmpeg -i Video2.mp4 -c:a copy -c:v copy -bsf:v h264_mp4toannexb out2.ts

echo -e "file 'out1.ts'\nfile 'out2.ts'" > confile.txt

ffmpeg -f concat -i confile.txt -c:a copy -c:v copy Out.ts
ffmpeg -i Out.ts -c:a copy -c:v copy Out.mp4
That's one example.

When you have a free 2 hours, read:
man ffmpeg
 
Old 07-25-2020, 05:23 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by teckk View Post
I don't have any idea why a Linux user would do that as long as ffmpeg is on the earth.
I agree, but maybe 12 years ago ffmpeg wasn't quite there yet?
 
Old 07-25-2020, 07:54 AM   #8
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Yes, I saw that date after I posted. Oh well, maybe someone will read that and benefit.
 
  


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
Joining splitted files oogje Linux - Software 2 04-09-2008 10:26 AM
Joining files nickvk Linux - General 3 05-27-2007 12:18 PM
joining .ts and .mkv files Chris594 Linux - Newbie 2 01-17-2007 11:44 PM
joining text files. chunky Programming 1 05-19-2004 10:42 AM
Joining *wmv files ? gazza Linux - Newbie 3 01-20-2004 12:48 PM

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

All times are GMT -5. The time now is 08:16 PM.

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