adding to an mp4
Posted: 2015-04-01T08:41:10-07:00
I am trying to create an mp4 from a sequence of PPM files using the command line:
convert -delay 4 -quality 75 *.ppm movie1.mp4
I find this to be an incredibly slow process and, as I frequently get more images after to add to my mpeg, I'd dearly love not to have to start the mpeg from scratch. So, for example, I may have 500 1000 x 750 pixel images in PPM format compressed into an mp4 using the above command line. When I get 100 more to add, I'd like to be able to just add the new 100 images, rather than have to create a whole new mp4 with 600 images. I've tried:
convert -delay 4 -quality 75 -adjoin *.ppm movie1.mp4
convert -delay 4 -quality 75 -append *.ppm movie1.mp4
convert -delay 4 -quality 75 -coalesce *.ppm movie1.mp4
convert -delay 4 -quality 75 -combine *.ppm movie1.mp4
and nothing seems to work. How does one append new PPM files to an existing mp4?
Thanks.
convert -delay 4 -quality 75 *.ppm movie1.mp4
I find this to be an incredibly slow process and, as I frequently get more images after to add to my mpeg, I'd dearly love not to have to start the mpeg from scratch. So, for example, I may have 500 1000 x 750 pixel images in PPM format compressed into an mp4 using the above command line. When I get 100 more to add, I'd like to be able to just add the new 100 images, rather than have to create a whole new mp4 with 600 images. I've tried:
convert -delay 4 -quality 75 -adjoin *.ppm movie1.mp4
convert -delay 4 -quality 75 -append *.ppm movie1.mp4
convert -delay 4 -quality 75 -coalesce *.ppm movie1.mp4
convert -delay 4 -quality 75 -combine *.ppm movie1.mp4
and nothing seems to work. How does one append new PPM files to an existing mp4?
Thanks.