Slideshow ppm stream how to

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
edavis
Posts: 2
Joined: 2015-06-15T20:24:44-07:00
Authentication code: 6789

Slideshow ppm stream how to

Post 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.
Post Reply