LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-19-2005, 07:27 PM   #1
Blue1K
Member
 
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 07:29 PM.
 
Old 01-29-2005, 01:51 PM   #2
captainkrypto
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" > RAY.cat.avi; mencoder -noidx -ovc copy -oac copy -o RAY.avi RAY.cat.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:

http://mightylegends.zapto.org/dvd/dvdauthor_howto.php

Good Luck

Last edited by captainkrypto; 01-29-2005 at 01:52 PM.
 
Old 02-05-2005, 11:42 AM   #3
Blue1K
Member
 
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, 12:32 PM   #4
nordri
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
 
  


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 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 06:21 AM
Totem and Xvid encoded AVIs... Titan_X Linux - Software 2 06-24-2005 11:27 PM
Uncompressing AVIs in linux akudewan Linux - Software 16 01-24-2005 03:53 AM
mencoder and uncompressed AVIs slothpuck Linux - Software 5 01-16-2005 07:42 AM
Encoding SVCDs from AVIs Audax321 Linux - Software 3 12-23-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:05 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