convert wont accept image2pipe ppm format
Posted: 2015-09-15T17:43:38-07:00
I'm trying to grab the first frame of a video using ffmpeg and pipe it to convert to process:
But it throws an error:
Thanks in advance.
(Using ImageMagick 6.7.7-10 on Ubuntu Server 32-bit)
Code: Select all
ffmpeg -i 001.mp4 -y -t 00:00:01 -vframes 1 -f image2pipe -vcodec ppm | convert - out.jpg
I've tried changing the -vcodec to image2 to no avail. What gives?convert.im6: no decode delegate for this image format `/tmp/magick-95YoBo1i' @ error/constitute.c/ReadImage/544.
convert.im6: no images defined `out.jpg' @ error/convert.c/ConvertImageCommand/3044.
Thanks in advance.
(Using ImageMagick 6.7.7-10 on Ubuntu Server 32-bit)