Hi Dan,

> I'd just use masks to crop the top and bottom out, have you tried using 
> masks (the "Edit Mask" button on the left side of the compositor window)?

Originally that's what I was doing, but found that adjusting the viewport
was more convenient. Turns out that the yuv4mpeg approach is pretty
simple and fits in with my existing pipeline. First, I render my 
(deinterlaced) project to a yuv4mpeg stream and then either encode with 
x264 into a qt7 compatible mp4 or encode back to DV.

For mp4:
    x0="-B 2000 -b 2 --no-psnr --progress --stats .x264"
    x1="-m 1 --me dia -A none" 
    x2="-m 6 --me umh -A p8x8,b8x8,i4x4,p4x4"
    x264 $x0 $x1 --pass 1 -o /dev/null mymovie.y4m  # 25fps
    x264 $x0 $x2 --pass 2 -o mymovie-v.mp4  mymovie.y4m  #  8fps
    faac mymovie.wav -w -o mymovie-a.m4a # encode audio
    MP4Box -add mymovie-v.mp4 -add mymovie-a.m4a -new mymovie.mp4 # mp4

For dv:
    y4mscaler -O size=720x480 -O active=720x320+0+80 < myvideo.y4m |
         ffmpeg -y -i - -i myvideo.wav -target ntsc-dv myvideo.dv
         
Alec

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

Reply via email to