Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-19-2005, 08:27 PM   #1
Registered: Dec 2004
Location: Vancouver
Distribution: Suse 10.1, PCLinuxOS
Posts: 31

Rep: Reputation: 15
Problems appending avis

I have a season of videos that I would like to append to fit onto a DVD. I tried to used a program called avidemux to append the vids but it screws up the aud/vid sych. All the avis are the same BR and fps.

This is what I did:

Open an avi with avidemux, append 2 more avis-->convert to mpeg 2 format using ffmpeg lava codec first then save audio as an AC3 file (this is the only way to keep the audio/vid sych). I made sure to build a VBR map. Then I used mplex to combine the files and produce a final mpeg with audio (avidemux screws up multiplexing xvids).

For a single file avi-->DVD file this works awesome. The problem is when I append an additional avi to the first. The audio/vid sych is perfect until when the second avi begins playing. Then it goes to hell.

Someone mentioned mencoder to appends avis but I can't figure it out. The code on the mplayer site is this:

cat 1.avi 2.avi > 3.avi
mencoder -noidx -ovc copy -oac copy -o output.avi 3.avi

For the life of me I can't figure out how to use this code. Can anyone give me any examples using real file names?

If you have anymore suggestions I would love the help. I really don't want to use 1DVD per avi if I can help it.

Last edited by Blue1K; 01-19-2005 at 08:29 PM.
Old 01-29-2005, 02:51 PM   #2
LQ Newbie
Registered: Dec 2004
Location: Florida
Distribution: Fedora 18
Posts: 15

Rep: Reputation: 0
I just tried it with one of my avi files... maybe this helps...

cat "Ray part1.avi" "Ray part2.avi" >; mencoder -noidx -ovc copy -oac copy -o RAY.avi

Basically, its just ...

cat movie1.avi movie2.avi movie3.avi > allmovies_concatenated.avi
mencoder -noidx -ovc copy -oac copy -o allmovies_final.avi allmovies_concatenated.avi

...and you end up with a file allmovies_final.avi that should be all synched up and ready to go.

If you're looking to put your avi's onto a dvd to watch in your DVD player. You should take a look at this:

Good Luck

Last edited by captainkrypto; 01-29-2005 at 02:52 PM.
Old 02-05-2005, 12:42 PM   #3
Registered: Dec 2004
Location: Vancouver
Distribution: Suse 10.1, PCLinuxOS
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks!..I'll give it a shot
For authoring I find varsha to work the best for me.
Old 06-27-2009, 01:32 PM   #4
LQ Newbie
Registered: Jun 2009
Location: Seville (Spain)
Distribution: Debian Testing
Posts: 2

Rep: Reputation: 0
I added -forceidx in order to build the video index


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Converting AVIs to (S)VCDs JoeDuncan LinuxAnswers Discussion 12 11-17-2006 07:21 AM
Totem and Xvid encoded AVIs... Titan_X Linux - Software 2 06-25-2005 12:27 AM
Uncompressing AVIs in linux akudewan Linux - Software 16 01-24-2005 04:53 AM
mencoder and uncompressed AVIs slothpuck Linux - Software 5 01-16-2005 08:42 AM
Encoding SVCDs from AVIs Audax321 Linux - Software 3 12-23-2004 06:45 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration