Skip to content

Instantly share code, notes, and snippets.

menuCommandString, UI MenuString en_US
-------------------------------------
new, new
newFromTemplate, New From Template
open, open
saveacopy, store copies
Adobe AI Save For Web, the storage format used for the Web (W)
Adobe AI Save Selected Slices, stored in the selected slice
revert, restore
AI Place, into (L)
# RGB48
ffmpeg -ss start_time_in_seconds -i "infile.mkv" -ss offset_from_keyframe_in_seconds "outfile.png"
# RGB24 (via imagemagick):
ffmpeg -ss start_time_in_seconds -i "infile.mkv" -ss offset_from_keyframe_in_seconds \
-vframes 1 -f image2 -vcodec png - | convert - -depth 8 "outfile.png"
@roxlu
roxlu / compile_libav.sh
Created January 8, 2013 17:04
Compilng libav with Microsoft Visual Studio 2010 / 2012
#!/bin/sh
# Compiling libav on windows
# --------------------------
# Compiling libav takes quite a bit of time and you need to setup a build
# environment. I've followed these instructions for ffmpeg:
# http://blogs.gnome.org/rbultje/2012/09/27/microsoft-visual-studio-support-in-ffmpeg-and-libav/
#
# How to
# ------
@moluapple
moluapple / gist:2719021
Created May 17, 2012 13:44
AI CS6 Application.executeMenuCommand(menuCommandString: string ) 方法参数列表
menuCommandString,UI MenuString zh_CN
-------------------------------------
new,新建
newFromTemplate,从模板新建
open,打开
saveacopy,存储副本
Adobe AI Save For Web,存储为 Web 所用格式(W)
Adobe AI Save Selected Slices,存储选中的切片
revert,恢复
AI Place,置入(L)