Page 1 of 1

Slideshow ppm stream how to

Posted: 2015-06-16T09:45:45-07:00
by edavis
I generated a stream of images and placed them into a ppm container using this command

Code: Select all

convert 1.jpg 4.jpg 10.jpg -delay 20 -morph 4 test.ppm
giving me a result something like this

identify test.ppm

Code: Select all

identify test.ppm
test.ppm[30] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.013
test.ppm[31] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.013
test.ppm[32] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.012
test.ppm[33] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.012
test.ppm[34] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.010
test.ppm[35] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.010
test.ppm[36] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.009
test.ppm[37] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.009
test.ppm[38] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.007
test.ppm[39] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.006
test.ppm[40] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.006
test.ppm[41] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.006
test.ppm[42] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.005
test.ppm[43] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.005
test.ppm[44] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.003
test.ppm[45] PPM 640x480 640x480+0+0 8-bit sRGB 42.39MB 0.016u 0:00.003
Now I'd like to feed this ppm to an encoder and create an video slideshow
I can't see the info how long should each slide display for in the ppm also can someone recommend a tool that can handle a ppm as an input
I'm not sure if I'm doing this right.