试了好几种方法,娘的,不容易啊
1,GIMP,可以导出gif格式
2,gThumb 先批量缩图,再转png格式为jpeg格式
3,stopmotion 不好使,导入很快,导出不知道为啥不行
4,直接用mencoder 命令,很快很方便
sudo apt-get install mencoder
mencoder mf://*.jpeg -mf w=800:h=600:fps=10:type=jpeg -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o 123.avi
谁知道还有啥linux下的方便的转换软件,png批量转gif或是avi的。
mbd= (also see *cmp, qpel)
Macroblock decision algorithm (high quality mode), encode each macro block in all modes and choose the best. This is slow but results in better quality and file size. When mbd is set to 1 or 2, the value of mbcmp is ignored when comparing macroblocks (the mbcmp value is still used in other places though, in particular the motion search algorithms). If any comparison setting (precmp, subcmp, cmp, or mbcmp) is nonzero, however, a slower but better half-pel motion search will be used, regardless of what mbd is set to. If qpel is set, quarter-pel motion search will be used regardless.
0 Use comparison function given by mbcmp (default).
1 Select the MB mode which needs the fewest bits (=vhq).
2 Select the MB mode which has the best rate distortion.
-ovc
Encode with the given video codec (no default set). NOTE: Use -ovc help to get a list of available video codecs.
EXAMPLE:
-ovc copy
no encoding, just streamcopy
-ovc raw
Encode to an arbitrary uncompressed format (use ‘-vf format’ to select).
-ovc lavc
Encode with a libavcodec codec.
vcodec=
Employ the specified codec (default: mpeg4).
asv1 ASUS Video v1
asv2 ASUS Video v2
dvvideo Sony Digital Video
ffv1 FFmpeg’s lossless video codec
ffvhuff nonstandard 20% smaller HuffYUV using YV12
flv Sorenson H.263 used in Flash Video
h261 H.261
h263 H.263
h263p H.263+
huffyuv HuffYUV
libtheora Theora
libx264 x264 H.264/AVC MPEG-4 Part 10
libxvid Xvid MPEG-4 Part 2 (ASP)
ljpeg Lossless JPEG
mjpeg Motion JPEG
mpeg1video MPEG-1 video
mpeg2video MPEG-2 video
mpeg4 MPEG-4 (DivX 4/5)
msmpeg4 DivX 3
msmpeg4v2 MS MPEG4v2
roqvideo ID Software RoQ Video
rv10 an old RealVideo codec
snow (also see: vstrict) FFmpeg’s experimental wavelet-based codec
svq1 Apple Sorenson Video 1
wmv1 Windows Media Video, version 1 (AKA WMV7)
wmv2 Windows Media Video, version 2 (AKA WMV8)