Go to Post Logic has no place here whatsoever. - ThamiorLianodel [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > 3D Animation and Competition
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-02-2009, 00:11
Mazin Mazin is offline
Registered User
FRC #1720
 
Join Date: Feb 2006
Rookie Year: 2002
Location: Indiana
Posts: 191
Mazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to all
Send a message via AIM to Mazin
Create an H.264 encode of your animation

Every year, people ask the question, "Why does Autodesk make us use such a crappy codec? DV video is omghueg!!" DV is a good lowest-common-denominator codec, although the file size is unfortunate. It's best known for being the codec used on those DV camcorders (low processing power and magnetic tape storage).

"Why can't we use something like DivX or MPEG4?" you might ask. I'll spare you the lecture on the benefits of XviD as a superior alternative or the ambiguity of the term MPEG-4.

Well, after you submit your animation to Autodesk in their required form, you should consider encoding another version using H.264 and AAC. You get great-quality video and audio and incredibly small filesizes, and the file will play on QuickTime, MPlayer, VLC, or Windows Media Player (WMP may need extra codecs lawl).

Disclaimers:
This process is a bit more involved than a Premiere option, and you will need plenty of disk space. (2 gigs might be enough. Who knows.)

Here goes:
  #2   Spotlight this post!  
Unread 12-02-2009, 00:14
Mazin Mazin is offline
Registered User
FRC #1720
 
Join Date: Feb 2006
Rookie Year: 2002
Location: Indiana
Posts: 191
Mazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to all
Send a message via AIM to Mazin
Export raw video

You will need two files: an uncompressed video file and an uncompressed audio file. The two will be processed separately and muxed together. In Video Post or Premiere or whatever, export an AVI using either Uncompressed or the recommended HuffYUV codec. Huffyuv is a fast, lossless codec that's great for storing working video data.

Get Huffyuv: http://neuron2.net/www.math.berkeley...g/huffyuv.html

Export your audio as one big 48kHz 16-bit WAV file.

Now, you should have animation.avi and animation.wav. They should sync up.
  #3   Spotlight this post!  
Unread 12-02-2009, 00:19
Mazin Mazin is offline
Registered User
FRC #1720
 
Join Date: Feb 2006
Rookie Year: 2002
Location: Indiana
Posts: 191
Mazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to all
Send a message via AIM to Mazin
Get the softs

This guide uses only open-source software. You will not be asked to download some 30-day shareware trial. These programs here are very useful and versatile. You may find them useful in your future video-encoding careers.

MeGUI
MeGUI is the cool GUI to encode video. It will update itself (grab all the presets it offers) and ask you to install AviSynth (which is required).
http://sourceforge.net/project/showf...roup_id=156112

AviSynth
AviSynth is an uber-flexible scripted frameserver for post-pro proc. MeGUI needs it. I got version 2.5 stable.
http://sourceforge.net/project/showf...group_id=57023

YAMB
A GUI for MP4Box. MP4Box is the program we will use to mux the audio and video into MP4. MeGUI might be able to do this itself, but I don't trust myself to experiment. Regardless, the file that MP4Box produced was playable by QT and that makes it all right in my books.
http://yamb.unite-video.com/download.html
  #4   Spotlight this post!  
Unread 12-02-2009, 00:31
Mazin Mazin is offline
Registered User
FRC #1720
 
Join Date: Feb 2006
Rookie Year: 2002
Location: Indiana
Posts: 191
Mazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to all
Send a message via AIM to Mazin
Flex your encoding muscles

I'll attempt to walk you through without screenshots.

Video

Open up MeGUI. It doesn't work on a straight input file, but rather on AviSynth scripts.

Tools > AVS Script Creator

Set Video Input to your raw "animation.avi" video. It will preview it for you to make sure it's reading it correctly. Go to the Edit tab and add "ConvertToYV12()" to a new line at the end of the script.

Save the script as "animation.avs".

Now that you're back to the main MeGUI window, set your Video file format to RAWAVC and choose an output file, something like "animation.264". In the encoder settings, choose the preset "x264 Unrestricted 2pass balanced", and then go into Config. Don't worry: you only need to bother with one setting---the bitrate. I used 2700 kbps. Higher bitrates offer better quality. Anything over 5000 kbps is excessive. If you have a target file size, calculate the bitrate you need.

If you don't have this so-called "x264 Unrestricted 2pass balanced" preset, just use the default x264 settings with 2pass encoding turned on and the bitrate of your choice.

Hit that "Enqueue" button.

Audio
Audio is more straightforward. For Audio Input, choose your uncompressed "animation.wav" file. For the extension, choose "Raw-AAC". Choose an output file name like "animation.aac". For the encoder settings, choose FAAC and Config it with ABR and a bitrate of 128.

Hit that "Enqueue" button.

Encoding

Your jobs are now queued up to be processed. On MeGUI's "Queue" tab, look at the list. There should be three jobs: two video passes and the audio encoding. Run the jobs with the Start button at the bottom, and wait for them to run.
  #5   Spotlight this post!  
Unread 12-02-2009, 00:39
Mazin Mazin is offline
Registered User
FRC #1720
 
Join Date: Feb 2006
Rookie Year: 2002
Location: Indiana
Posts: 191
Mazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to all
Send a message via AIM to Mazin
Putting it all together

Now that you have your nicely-encoded "animation.264" and "animation.aac" files, it's time to put them together in a "container format." AVI, MOV, MKV, etc. are all container formats that can store (sometimes multiple) video tracks and audio tracks, each track encoded in any variety of codecs. You could put H.264 video and AAC audio in an AVI, but it's not recommended. MP4 is a popular container nowadays for, well, MPEG-4 video. It's flexible and open and QuickTime supported.

YAMB is specifically for muxing MP4s. Open it up and pick the first option, "Click to create an MP4 file ...". Add in your "animation.264" and "animation.aac" files. Right-click the video file and and go to Properties. Set its frame rate to 29.97 (or at least that's what I expected you exported it as; 30 is fine as well). Choose an output file, like "animation.mp4". Next. It thinks for a short time, since it's not encoding video, just copying it in.

Try opening up your shiny new MP4 in QuickTime.
  #6   Spotlight this post!  
Unread 12-02-2009, 08:47
BuddyB309's Avatar
BuddyB309 BuddyB309 is offline
I freaking love animating!!
AKA: Peter Casey
FRC #1625 (Winnovation)
Team Role: Animator
 
Join Date: Aug 2005
Rookie Year: 2005
Location: Winnebago IL
Posts: 838
BuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond repute
Send a message via AIM to BuddyB309
Re: Create an H.264 encode of your animation

You need to burn in the NTSC DV/DV-pro codec so the people at autodesk can burn your files directly to DVD without re-encoding them.
__________________
A.K.A Llama

check out my latest animations Appliance Night Out, Infant Intolerable, Fishing Like a Loony Tune, VVV Roadside Assistance

Life? I have a life. It is sitting at my computer and Animating. AND DRAWING!!! WEEEEEEE!!!!
  #7   Spotlight this post!  
Unread 12-02-2009, 11:25
Mazin Mazin is offline
Registered User
FRC #1720
 
Join Date: Feb 2006
Rookie Year: 2002
Location: Indiana
Posts: 191
Mazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to allMazin is a name known to all
Send a message via AIM to Mazin
Re: Create an H.264 encode of your animation

Actually, DVDs use MPEG-2 (or rarely MPEG-1) codec for video, so color me puzzled.
  #8   Spotlight this post!  
Unread 12-02-2009, 13:04
BuddyB309's Avatar
BuddyB309 BuddyB309 is offline
I freaking love animating!!
AKA: Peter Casey
FRC #1625 (Winnovation)
Team Role: Animator
 
Join Date: Aug 2005
Rookie Year: 2005
Location: Winnebago IL
Posts: 838
BuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond repute
Send a message via AIM to BuddyB309
Re: Create an H.264 encode of your animation

Quote:
Originally Posted by Mazin View Post
Actually, DVDs use MPEG-2 (or rarely MPEG-1) codec for video, so color me puzzled.
Its tradition? to have an awful codec that causes many teams problems? i don't know. Maybe its one of the great mysteries of the world.
__________________
A.K.A Llama

check out my latest animations Appliance Night Out, Infant Intolerable, Fishing Like a Loony Tune, VVV Roadside Assistance

Life? I have a life. It is sitting at my computer and Animating. AND DRAWING!!! WEEEEEEE!!!!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Submit your animation to the SEMAFX animation festival rrockafellow 3D Animation and Competition 0 27-10-2003 11:10
How do you create your own textures in max? Hailfire 3D Animation and Competition 9 04-01-2003 21:19
How to develop your animation idea and keep your sanity too! Robby O 3D Animation and Competition 0 25-01-2002 01:25


All times are GMT -5. The time now is 20:44.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi