LVPE: Rendering and Exporting Video & Audio from Cinelerra
(this post is part of the Linux Video Production Experience series, which chronicles my experiences with creating a high-quality home movie almost entirely in open source software.)
To be honest, I've always had no end of trouble getting my final audio and video to come out of Cinelerra. I've tried rendering DV files, MPEG files, and AVI & QuickTime files with various codecs, trying to happen upon the best combination of container & codec that my final encoding tool of choice, Avidemux, can easily handle, and that doesn't take up 100s of gigabytes of disk space and days of rendering time.
After several Cinelerra projects, I decided to start using the following formats for exporting my final audio/video:
- For video: an AVI container with Motion JPEG A video codec at 100% quality
- For audio: a 16 bit WAV
Now, one thing about exporting AVIs: Cinelerra will fail when trying to write an AVI file that's greater than 2GB in size (2GB being a magic file size for AVI files). To get around this, I will insert labels at every 2 minute mark along the timeline. I had written a small Ruby script to create the XML to do this before, but I found it's just as easy to use the Selection Start Time field and the [L] key to enter labels every two minutes:

Be sure that all of your effects that you want enabled are, um, enabled, especially the RGB-601 effect if this render is destined for DVD encoding. Save your project and open the Render window ([Shift]-[R]). Let's set up the AVI video export first:

(Note: I'm working on creating a Tango theme for Cinelerra 2.1, hence the Tango-y buttons and color scheme in some of the dialogs. It's not done yet.)
And now set up the video export settings for AVI files:

When naming the file, be sure to place two 00s (zero zero) toward the end of the filename, maybe right before the extension:
FinalRender/FamilyVideo-00.avi
With the "Create new file at each label" option checked, the 00 will be replaced with the index of the current segment:
FinalRender/FamilyVideo-01.avi
FinalRender/ FamilyVideo-02.avi
...
FinalRender/ FamilyVideo-24.avi
FinalRender/ FamilyVideo-25.avi
Click the Go button and go to work or sleep. When you return to your computer, it might be done, or it might not. Just be patient. :)
Now do the same for audio. Set up the export settings as such:

And for the codec:

Choose a new filename with the right extension (.wav) and click Go. This one won't take nearly as long. Once this is done, you have your audio and video ready to be encoded to DVD or whatever format you want. I'll talk next time about using Avidemux to do this.
Another reason you might want to export video is to preview your video with all of its edits, and not have to worry about Background Render rendering each frame. For this, I'll use Ogg Vorbis/Theora with a fairly high video bitrate. The resulting file plays fine in VLC or Kaffeine.
See what else is here...
- Jasmine and Vim, a happy pairing
- Fast JavaScript and CoffeeScript Unit Testing with jasmine-headless-webkit
- Actually Throwing One Away
- Slice and dice Cucumber run-times
- Site migrated and future plans
- Bash magic: convert a high-res PNG to a small PDF with convert and sam2p
- Bash magic: Get the chronological Originals contents from an iPhoto library that will fit on a CD
- What's the deal with "johncoswell"?
- Flex 3: Better SWF Embedding
- Ustreaming your desktop on Ubuntu Intrepid Ibex
- Mom's Delicious Pizza Dough Recipe
- LVPE: Avidemux and JPEG Photo AVI files not working?
- Guest strip!
- Dawn's Dictionary Drama is back!
- Video: The DC Conspiracy at Beyond Comics for Free Comic Book Day
- Joining the cartoon party: Myself as a Teen
- Quick Drying Paint: Profiling Inkscape using Valgrind
- LVPE: Encoding High Bitrate 24p Footage for DVD
- LVPE: Rendering and Exporting Video & Audio from Cinelerra
- LVPE: Processing a Bunch of Photos for Cinelerra
- LVPE: Color Correction in Cinelerra
- LVPE: Capturing & Deinterlacing DV Footage
- A Linux Video Production Experience
- Tons of .msp files in C:\Windows\Installer?
- A Moment of Inkscape Screenshots!
- The Amelia Rules! Charity Auction this Veterans Day
- PayPal and Visa: One card per account, ever?
- A Moment of Clarity Volume 2 Chapter 1 Reviewed!
- The Inkscape Perfect-Bound Cover Template Generator
- Freedom Dance wins in the 2007 Peer Awards!
- Untwisting the Spine of Perfect-Bound Books
- Small Press Expo 2007
- AMoC in Prismacolors and Brush Pens!
- Xinerama/TwinView + Single Screen + GTK = FAIL
- Baltimore Comic-Con
- ImageMagick: A simple, and kind of overkill, way to resize and pad an image
- Comics and Time Management
- Practical Inkscape for Comic Artists: The Right-Handed Illustration Keyboard Layout
- Red Hat High 2007 Update
- Cinelerra DV Rendering Problems? Try JPEG Photo
- Red Hat High 2007
- Freedom Dance!!
- One Reason Why Drawing Comics in Vector is Better Than in Bitmap
- Ogg Theora/Vorbis Conversion Information
- Linux iPod Video Conversion Information
- Libre Graphics Meeting 2007 - Creating Comics in Inkscape Presentation Video
- More Cinelerra and Mencoder fun!
- Libre Graphics Meeting 2007 - The Coswell Productions Report
- Libre Graphics Meeting 2007 - Wallpapers and Shirts!
- Indy Comic Review reviews A Moment of Clarity Volume 1
- Libre Graphics Meeting 2007
- Comics in Inkscape 0.45 with John Bintz
- Cinelerra Hints for Rendering
- Automating WinTV-PVR/ivtv captures in Ubuntu Edgy
- Inkscape 0.45 About Screen Content Entry
- Staircase Visualization for Volume 2
- Digital Minicomic Production - Using Free Software to Do Inexpensive Digital Paste-Up
- Blue Dot Television Commercial - A New Face
- Marylanders in Snow (Animation)
- Slippie Slide
- Blue Dot Television Commercial - Warm Up with Blue Dot
- TP Monitor
- Virus