1
votes

i am facing problem to convert an image to a defined size. i am converting from one image to another image of small size. The command i am executing is:

C:/xampp/htdocs/jcert6/seyretfiles/tools/converter/ffmpeg.exe -i "c:\knowledge base\videos\user_62\RHSSNet_Image_Library\images\Touchport_II\CD302_14_TPII_17in_PPR_Scanner.jpg" -y -f mjpeg -s 72x92 -vframes 1 -an c:/xampp/htdocs/jcert6/seyretfiles/uploads/thumbnails/user_62/user_62_tmu2qsgo0fr1j5w61292302705_0.jpg

and i am getting the following error:

[mjpeg @ 01de0050] unhandled pixel format 0x11111111

[image2 01cfd080] could not find codec parameters

c:\knowledge base\videos\user_62\RHSSNet_Image_Library\images\Touchport_II\CD302_14_TPII_17in_PPR_Scanner.jpg :could not find codec parameters

please help me :( :(

1
why do you want to use ffmpeg to do that?? - Eric Fortis

1 Answers

1
votes

The simplest solution is to use the appropriate software which is http://www.imagemagick.org/

Edit: Once installed the command is:

convert original.jpg -resample 72x92 smaller.jpg