Hello,
I suggest trying mencoder. It's my swiss knife for getting video files
which actually work.
I've published my notes under "Rendering for DVD", in my site
(http://billauer.co.il/cinelerra-video-edit-quickstart.html), with the
relevant part copied below (mencoder notes at the bottom):
* Video and Audio are rendered separately
* MPEG-2 streams can be generated directly from Cinelerra, but the
manual doesn't tell you to do that.
* ... maybe because it's easy to get off-standard with many GUI
parameters to set.
* For video, the output file format is YUV4MPEG, and check "To Pipe".
* Create an executable script (with #!/bin/bash) file saying:
|mpeg2enc -v 0 -K tmpgenc -r 16 -4 1 -2 1 -D 10 -E 10 -g 15 -G 15
-q 6 -b 8600 -f 8 -o /path/to/output-video-file.m2v|
* Note that unlike what's implied in the manual, Cinelerra doesn't
pass the output file name as first argument to the script. The
file name is therefore hardcoded
* It does send some garbage instead. A simple trick is to end the
pipe's command with a '#' which comments out the garbage
* Then choose AC3 as output format, and render audio. The standard
allows up to 1536 kBits/sec, so you can't go wrong with this.
* Note that you can use mencoder and YUV4MPEG as well for a "safer"
encoding.
* Check the console for error messages and progress (when using
mencoder)
* When using mencoder, create a raw PCM audio file (Microsoft WAV is
fine) and then apply the file with the -audiofile parameter.
* In the script file you'll have something like: |mencoder
-audiofile "full/path/to/only-audio.mov" -oac lavc -ovc lavc -of
mpeg -mpegopts format=dvd -vf scale=720:480 -srate 48000 -af
lavcresample=48000 -lavcopts
vcodec=mpeg2video:vstrict=1:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=4/3
-ofps 30000/1001 -o "movie.mpg" -| (NTSC)
* Note the dash, telling mencoder to read from standard input
* If mencoder complains that it "cannot seek backward in linear
streams" and "seek failed" (several times), adding the |-cache
8192| parameter is likely to help.
Good luck,
Eli
--
Web: http://www.billauer.co.il