Hello again.

I've found a workaround, see below. (Yes, it's been this long since I've had to make a DVD project.)

On 02/06/2009 02:32 AM, Sean M. Pappalardo wrote:
I was trying to use Cinelerra today to re-render a sub-project so it'll
fit on a DVD. But I'm getting strange errors now using the YUV2MPEG
output rendering:

[swscaler @ 0x...]Slices start in the middle!

Basically anywhere I'm not rendering any effects (source video is being
copied to the output.) I recall this happening last month as well. (In
between, I've just been making YouTube videos, so no YUV output.)

(It appears the bug is in the YUV tools.)

Workaround:
1) Create the file mpeg2enc.plugin in a directory accessible to all render farm nodes with the following contents:

#!/bin/sh
command="mpeg2enc $@ -N 1.0 -4 1 -2 1 -B 2516 -g 7"
echo Running $command...
$command

(You can of course change the stuff after the $@ to suit your preferences, since Cinelerra doesn't give the option to change all of the parameters mpeg2enc supports.)

2) Do chmod +x on that file,
3) Symlink /usr/lib/cinelerra/mpeg2enc.plugin to that file on your main workstation. 4) On all renderfarm nodes, create /usr/lib/cinelerra/mpeg2enc.plugin containing the single line:

sh /path/to/shared/mount/mpeg2enc.plugin "$@"

(A straight symlink doesn't work on some systems, probably for security reasons.)

5) chmod +x /usr/lib/cinelerra/mpeg2enc.plugin
6) Make sure mjpegtools is installed on all renderfarm nodes.
7) In Cinelerra's Render window, choose MPEG Video for the file format.
8) Click the wrench next to Video and set the Video Compression options as you prefer. (Note that "P-frame distance" means "number of B-frames between each I/P-frame.")
9) Click the check marks and you're off!

I hope this helps others!

Sincerely,
Sean M. Pappalardo
Pappalardo Productions

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to