logo Sign In

Post #276627

Author
Molly
Parent topic
Help Wanted: Pre-ANH rollup for DVD-sourced fan edits?
Link to post in topic
https://originaltrilogy.com/post/id/276627/action/topic#276627
Date created
11-Mar-2007, 11:51 AM
Replying to myself...I figured it out

I made a series of jpgs named nxNNNN.jpg, NNNN being 0000-1941 and a bmp with the backdrop

BASH command (should work in ksh also, needs imagemagick)

for x in *.jpg;do echo -n "${x}"\ ;convert -black-threshold 20000 -transparent black "${x}" png:-|composite -gravity center png:- c.bmp png:"`basename "${x}" .jpg`".png;done

This gives me a series of PNG files that I then load into avisynth with the oneliner

ImageReader("nx%04d.png",0,1941,23.976)

which I load into virtual dub under wine and then encode normally.

EDIT:
http://www.usotsuki.info/orupx.jpg
Sample clip (13 MB, XviD)