Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can anyone play the animatrix movie?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mikepb78
Apprentice
Apprentice


Joined: 27 Feb 2003
Posts: 171
Location: London

PostPosted: Sun Apr 06, 2003 12:56 pm    Post subject: To encode and fix the audio sync in the Detective animatrix Reply with quote

ok well you need to have faad installed and mplayer with all the garnishes.

Faad : http://faac.sourceforge.net/files/faad2-1.1.tar.gz

There seems to be no package in portage for it yet.

You can now play the movie like so :
mplayer -delay -11 detect.mov

But to get away from the mov format and have the audio synced do this :

Do a 2-pass encode to get better quality :
mencoder -fps 23.976 -oac mp3lame -lameopts br=160 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=2000:vpass=1 -o detect_640_dl.avi detect_640_dl.mov

mencoder -fps 23.976 -oac mp3lame -lameopts br=160 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=2000:vpass=2 -o detect_640_dl.avi detect_640_dl.mov

Strip out the mp3. Unfortunatley mencoder do not do ogg :
mplayer -dumpaudio -dumpfile stream.mp3 detect_640_dl.avi

Resync the audio :
ogmmerge -o detect_640_dl.ogm -A detect_640_dl.avi -s 10600 stream.mp3

The -s option is in milliseconds. You can play around with that to get it more accurate.

And then you have a nice ogm of the movie
Back to top
View user's profile Send private message
mikepb78
Apprentice
Apprentice


Joined: 27 Feb 2003
Posts: 171
Location: London

PostPosted: Sun Apr 06, 2003 12:57 pm    Post subject: oops Reply with quote

you can get faad like so :
emerge libfaad2
Back to top
View user's profile Send private message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Thu Apr 10, 2003 4:23 pm    Post subject: Reply with quote

There is no libfaad2 ebuild :(
Any idea how to play the latest Animatrix - A Detective Story with mplayer 0.90 final? It can't play the audio track...
Back to top
View user's profile Send private message
gabor
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 156
Location: Slovakia

PostPosted: Thu Apr 10, 2003 5:01 pm    Post subject: Reply with quote

you need faad....

from http://faac.sourceforge.net download
the faad oct26th source:
http://faac.sourceforge.net/files/faad_src_26102001.zip

(i had no luck with the faad2 source)

unzip , read the README, make , make install.

now:

mplayer -aid 2 -dumpaudio animatrix3.mov
mv stream.dump begin.aac

mplayer -aid 1 -dumpaudio animatrix3.mov
mv stream.dump main.aac

cat begin.aac main.aac > complete.aac

faad complete.aac

mplayer -audiofile complete.wav animatrix.mov

that's all.

p.s: maybe aid2 is the main and aid1 is the beginning, i'm not sure. simply create the wav, and if the sound is not correct, then switch them :)
Back to top
View user's profile Send private message
ghetto
Guru
Guru


Joined: 10 Jul 2002
Posts: 369
Location: BC, Canada

PostPosted: Thu Apr 10, 2003 11:53 pm    Post subject: Reply with quote

gabor wrote:

p.s: maybe aid2 is the main and aid1 is the beginning, i'm not sure. simply create the wav, and if the sound is not correct, then switch them :)


Nope, you seem to have it right on the money gabor, this worked perfectly for me "as is" and I did it for animatrix episode 2 and 3.

Im used mplayer-0.90 and faad2-1.1

Thanks :D
_________________
Blizzard you suck.
Back to top
View user's profile Send private message
mikepb78
Apprentice
Apprentice


Joined: 27 Feb 2003
Posts: 171
Location: London

PostPosted: Fri Apr 11, 2003 11:23 am    Post subject: Proper Howto: Reply with quote

Playing animatrix or matrix or other Quicktime movies from you harddrive :
Ok i see a couple of people are struggling to get the Matrix and Animatrix trailers and some other Quictime movies to work. The good news is that it is very easy to get to work.

The Simple Install :
[color=red](UPDATE - faad2 is now in portage !!! :) )[/code]
1) Install Faad2, there is no ebuild in portage, but for now you can get one from here.:
https://bugs.gentoo.org/show_bug.cgi?id=17342

You need to copy the faad2-11.ebuild to where your local
portage dir which is set in make.conf ie :
Code:
PORTDIR_OVERLAY=/usr/local/portage


Now you can install the faad2 package.
Code:

mkdir -p /usr/local/portage/media-libs/faad2
mv faad2-1.1.ebuild /usr/local/portage/media-libs/faad2
cd /usr/local/portage/media-libs/faad2
ebuild  faad2-1.1.ebuild digest
emerge -uD faad2-1.1.ebuild


2) One you have that installed, install the lastest mplayer (0.90):
emerge sync
emerge mplayer

And now you can play your favourite quicktime movie files.

PS : Xine can also play some of the Quicktime movies because it has a version of faad2 packaged with it. And i am sure that in a couple of days time the faad2 package will be available to gentoo.


Last edited by mikepb78 on Fri Apr 11, 2003 9:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
duff
Guru
Guru


Joined: 19 Jun 2002
Posts: 466
Location: Clemson, SC

PostPosted: Fri Apr 11, 2003 1:50 pm    Post subject: Reply with quote

Awsome, thanks mikepb78.
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Fri Apr 11, 2003 3:26 pm    Post subject: Reply with quote

gabor wrote:
mplayer -aid 2 -dumpaudio animatrix3.mov
mv stream.dump begin.aac
mplayer -aid 1 -dumpaudio animatrix3.mov
mv stream.dump main.aac
cat begin.aac main.aac > complete.aac
faad complete.aac
mplayer -audiofile complete.wav animatrix.mov

Hello Gabor. Many thanks for this walkthrough. This was the only method that was able to provide smooth sound and playback for me. I have documented the entire process on link (1) below acknowledging the source of the information. Link (1) also provides a faad2 ebuild which one can place in portage overlay and emerged as normal although it will be masked by default. Regrettably, no one is taking responsibility for resolving that bug so it may be a while before anything is done about it. Download the full theatrical trailer for The Matrix Reloaded (Quicktime, 1000pxby540px, 100MB) if you have not done so already from link (2).

(1) https://bugs.gentoo.org/show_bug.cgi?id=17342
(2) http://progressive1.stream.aol.com/wb/gl/wbonline/progressive/thematrix/us/med/trailer_final_1000_dl.zip
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
sandcrawler
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2003
Posts: 149
Location: SaintLouis, MO

PostPosted: Fri Apr 11, 2003 3:43 pm    Post subject: Thanks!! Reply with quote

Just wanted to give a big THANKS out to everyone who has played with this and got it going! Ebuild for faad2 works great and I'm just waiting for mplayer to finish it's work. Hopefully this sharp looking trailer will be much better with the sound ;)

Thanks!!

19kilo
Back to top
View user's profile Send private message
mikepb78
Apprentice
Apprentice


Joined: 27 Feb 2003
Posts: 171
Location: London

PostPosted: Fri Apr 11, 2003 5:04 pm    Post subject: Quicktime 6 Howto : Reply with quote

Here is a Howto/Tips for mplayer :
https://forums.gentoo.org/viewtopic.php?t=47041

I am looking forward to feedback as i am still working on it.
Back to top
View user's profile Send private message
ghetto
Guru
Guru


Joined: 10 Jul 2002
Posts: 369
Location: BC, Canada

PostPosted: Fri Apr 11, 2003 8:11 pm    Post subject: Reply with quote

mikepb78 I know its a little cumbersom but for some reason the quality of the movie is WAAAY better when I do it gabor's way by decoding the audio tracks first.

Anyone else experience this?
_________________
Blizzard you suck.
Back to top
View user's profile Send private message
mikepb78
Apprentice
Apprentice


Joined: 27 Feb 2003
Posts: 171
Location: London

PostPosted: Fri Apr 11, 2003 10:00 pm    Post subject: Using FAAD Reply with quote

Well yes for AAC mpeg audio using faad to convert to mpeg makes a lot of sence. But not all Quicktime movies have ACC Mpeg audio.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum