On Wed, Aug 09, 2006 at 07:11:59PM -0000, Eduardo Gargiulo wrote:
> On Wed, Aug 9, 2006, Nicolas <[EMAIL PROTECTED]> said:
> 
> > On Wed, Aug 09, 2006 at 04:09:16PM +1000, Vaughan Famularo wrote:
> >> ...
> >> Some on this list have indicated that you cannot make an Mpeg2 video
> >> file from Cinelerra.
> >> ...
> > 
> > That's completely wrong. Look at the message I posted on yesterday, it
> > explains how to export a perfectly compatible mpeg2 file.
> > BTW, the settings you use are far from being good. One again, look at
> > the command line I posted on yesterday, the good settings are in there.
> 
> I've tried your settings, but I still have some questions: should I have
> to add all the command (yuvcorrect included) in the pipe? '$1' is firing
> an error, so I used '%', is it the same? If I want to run the command from
> command line on an avi file, could I use lav2yuv to "export as an YUV4MPEG
> stream" and then pipe your command? Last, some OT question about media, is
> there any difference on play the MPEG2 from CD-RW or DVD-R? I've tested on
> CD-RW and the bitrate is apparently too high.
> 
> regards,
> 
> --ejg @sf.net
> 
> PS: I've copied mpeg2enc binary to /usr/lib/cinelerra/mpeg2enc.plugin. I'm
> getting "could not load mpeg2enc.plugin dynamically".

Here's what you should do:
1 - create a file called cine_render.sh in your home directory
2 - copy that in that ~/cine_render.sh file :
#/bin/bash
yuvcorrect -v 0 -T INTERLACED_BOTTOM_FIRST | mpeg2enc -v 0 -K tmpgenc -r 32 -4 1
-2 1 -D 10 -E 10 -g 15 -G 15 -q 6 -b 9400 -f 8 -o $1 
3 - put the execute permissions on that file :
chmod 777 ~/cine_render.sh
4 - Open cinelerra, and select the part of the video you want to render
5 - press Shift+R
6 - select the "YUV4MPEG Stream" file format
7 - deselect "Render audio tracks" and select "Render video tracks"
8 - click on the wrench near Video :
9 - In the newly opened window, indicate the name of the m2v file
10 - click on "Use pipe" and put this path:
/home/<your_user>/cine_render.sh %
11 - Click ok to close the second window, and ok again to render your
m2v file
12 - render an AC3 file
13 - mplex everything with this command:
mplex -f 8 your_video_file.m2v your_audio_file.ac3 -o video_audio_file.mpeg

The mpeg file produced is 100% compatible with all DVD players.

Mpeg2 files are generally burnt on a DVD. You need to author the dvd
with dvdauthor, spumux...

Nicolas, Paris.

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to