Hello folks,
Iam trying to convert image from GIF to JPG using FFMPEG ,the following commands which i tried
D:\FFMpeg\FFMpeg_Latest>ffmpeg -i "C:\Documents and Settings\Admin\Desktop\Natur
e.gif" -y -s 174x96 -pix_fmt rgb24 "C:\Documents and Settings\Admin\Desktop\Natu
re.jpg"
But i got C:\Documents and Settings\Admin\Desktop\Nature.gif: could not find codec paramet
ers
Can anybody send me the command line for converting GIF to JPG......
Thanks in Advance!
+ Reply to Thread
Results 1 to 9 of 9
-
-
This works for me:
Code:ffmpeg -i INPUT.GIF -y -s 174x96 -pix_fmt yuvj420p OUTPUT.JPG
-
Wouldn't it be more simple to open the gif with paint and save as jpg?
I think,therefore i am a hamster. -
-
There's other programs that can do batch gif to jpg as well such as irfanview.
I think,therefore i am a hamster. -
Here's a batch file that will convert all gif files in the folder the bat file is in, and all sub folders down from there, to jpg files with the same base name. The original gif files are left untouched. Animated gifs will result in a jpg file with a single frame.
Code:dir/b/s *.gif >giflist.txt for /F "delims=;" %%F in (giflist.txt) do "c:\program files\ffmpeg\bin\ffmpeg.exe" -i "%%F" -y -s 174x96 -pix_fmt yuvj420p "%%~dF%%~pF%%~nF.jpg" del giflist.txt
Last edited by jagabo; 7th Jan 2014 at 20:19.
-
http://luci.criosweb.ro/riot/
Much easier, batch support, and can be integrated into GIMP.Last edited by transporterfan; 7th Jan 2014 at 23:30.
Similar Threads
-
how to covert .swf single image file into .bmp or .jpg
By Toastie in forum ComputerReplies: 2Last Post: 19th Aug 2013, 00:00 -
Batch save image sequence as PNG/JPG
By vasticles in forum Newbie / General discussionsReplies: 8Last Post: 27th Jun 2013, 23:22 -
Want to insert image onto a gif...
By zhemp in forum Newbie / General discussionsReplies: 0Last Post: 4th Aug 2011, 13:23 -
Converting .MTS to a .JPG image sequence?
By Anon1 in forum Newbie / General discussionsReplies: 1Last Post: 30th Jun 2011, 21:14 -
date creation of a GIF image?
By sdsumike619 in forum ComputerReplies: 4Last Post: 29th Aug 2010, 18:51