約 5,372,885 件
https://w.atwiki.jp/spacepirateszombies/pages/36.html
装甲 小型船以外は、装甲を取り付けることができます。 装甲は四方向別に取り付けられます。船の大きさや形状によってどの装甲がどの部分まで担当するか変わるでしょう。 取り付けられた各装甲は船にコストと重量を追加します。 原文 All but the smallest ships can have armor plating installed. Different plating types can be mounted to different quadrants of the ship. Depending on the size and shape of a ship, some armor sections tend to take more damage than others. Each installed plate will add cost and weight to the ship.
https://w.atwiki.jp/vocaloidchly/pages/5974.html
作詞:やいり 作曲:やいり 編曲:やいり 歌:GUMI 翻譯:唐傘小僧 空間⇔Formation ■ 某位特殊少女的歎息 ■ 我能夠將它們創造出來、 卻不知道如何去使用。 若沒有使用者、造出的東西便沒有意義和價值了、 我既膽怯又狡猾、把自己關進房間里。 然而、還是希望有人能注意到我、便在這堅墻之中呼喊。 能夠守護我的人、能夠為我所用的人、 只是、在等待他們而已。 無人知曉的 秘密處所 所有人都會 化作灰燼 想呆在你的身邊 卻無法繼續相伴 現在馬上 躲進房間 保護自己 搖蕩的 跳動 所辨明的 意義 不斷地 將每一天 掠奪而去一般 呼喊的 聲音 在房間中 迴蕩 無法忘懷 一切 都從這裡 漫溢而出的旋律 世界變得 比以往 更加蒼白 更加蒼白 現在 我的心也 依舊沒有忘記 即便緊閉在這 房間之中 將無人知曉的 秘密丟棄 所有的一切 都將化作灰燼 想呆在你的身邊 這便是愛的證明吧? 現在馬上 打破硬殼 來守護我吧 感覺得到 痛苦 眩暈 心跳 歎息 我明明 把治療藥 給你了 呼喊聲 還是 在房間中 迴響 已經能夠忘掉了吧? 一切皆屬 世界所能 想起的回憶 淚水變得 比以往 更加漆黑 更加漆黑 現在 我的心 也依舊渴求幸福 即便緊閉在這 房間之中 感知得到 我是 有多麼的 軟弱 用盡了 治療 藥品 呼喊聲 再次 在房間中 迴響 已經能夠忘掉了吧? 一切 都從這裡 漫溢而出的旋律 世界變得 比以往 更加蒼白 更加 蒼白 現在 我的心也 依舊沒有忘記 即便緊閉在這 房間之中 即便緊閉在這 房間之中
https://w.atwiki.jp/tounderlinedk/pages/44.html
Date order ≪△ (Japanese) 2010 2009 2008 works 2010t7e. Range of voice - The vocaloid spirit (English Sub) 2009t7. Range of voice - The vocaloid spirit (No Sub Version) t6. History of the synapse t5. Visual Test - Alpha m3. mind skip m2. Bloom,iQ m1. After Blue t4. LET S BEGIN OUR MUSIC 2008t3. Sound Test 2- Octave (Piano Version) t2. Sound Test 1- Intervals 6. Stop picking on my sister (Rap) 5. Fantastic cooking -2- Look for Legendary food (Rock) t1. We make musics as this 4. Meet (Rock) 3. Germination, a matter of sun and death (Rock) 2. want to say, to telephon-chan (Rap) 1. Fair, before thunder(Children s song) Tags Work WorkSearch by Singer Search by Performer Date Order WelcomeAbout Exhibition space Work LinksSearch Japanese Version page view( - ) Copyright ©2008-2009 to_dk.
https://w.atwiki.jp/materials-apple/pages/19.html
Mango Guide to English Grammar This web site uses only Japanese . This web site helps us to study English Grammars . This web site can study not only English grammars , but also English conversation . This web site can read many example using grammars . Because This web site writes Japanese , so Japanese can understand the English grammar easy . Comment It is very easy to study. It can find to do soon. It can study many things. It advice me to study about English.I like it. Comment An English method is written in detail,and it is comprehensible. Moreover, it is easy to study because it is written in Japanese. Comment It is a very useful site. This site teaches us how to study English. I thought if you want to make a successful plan studying English, you should use it for once. This is “Toeic Square”. The website’s major aim is to study for toeic exam. The website can listen to English, study for toeic, writing, speaking, can use to train for toeic. It teaches me toeic’s important things. We can learn a lot of things. The website can use English and Japanese. Comment This website is very fun!! Toeic is important to find our employment . This website helps us to do it . And listening game is very fun!! I like this game!! Comment The speak from experience of Toeic can be heard, and the exercise can be solved. And, the doubt concerning Toeic can be solved here. Comment This site teaches you that your English level and supports studying English It is good that this site has a lot of category and very kind for beginner. This website name is world-english. This website main goals are linguistic activity of English. You can English study and test for grammar and word. In addition to listen to English news and radio, and to play English puzzle and quiz. If you want to talk foreign people, you can change e-mail with them. This website divides up so many English study category. So you can study English for your English level. Always this website is written in English, but you can read in Japanese. Comment This website has a lot of topics of English . I think If I use this website a few month , my English level will become more high level . This web site is very Nice! Comment This website is very difficult. But it is very detailed.It has a lot of topics. And it can study a lot of things.It can possible to play. Comment An English grammar can be studied in detail. And an English vocabulary can be studied while playing in the puzzle and the game. It is a very useful site to study. a) http //www.english-net.co.jp/~duke/chat.htm Front page b) To find someone to chat with in English c) It is possible to chat with the foreigner. And the English conversation lesson can be done. d) The chatting room has divided into three, and it divides by the difficulty. e) Japanese only Comment I think this website is very good for study English . Chat is the same as Speaking . Speaking English helps us to become more high level for our English level . This website is very Nice . But I am too shy to use this website . Comment I like the best website. This website can communicate some people. It is very fun.It feel to chat native American. I feel to be going America.It is very fresh. This site has three chat rooms. You can talk with many people in English. There is a beginner room is very good. English beginner can be ready to join it is important I think. Comment I think that this website is the best. This website can chat. I like to chat some foreign people. To chat is very fun. In this website some people are unique. And I think that I want to go to America. So I like this website. \Comment This website can chat. To chat is very fun. In this website some people are unique. You can speak with natural America’s English. This website is divided English level. When you tired, this website has Japanese room. So you can take a rest. Comment This website can chat with the foreigner. It divides in three types.English conversation lesson can be do.
https://w.atwiki.jp/opengl/pages/232.html
sin波状にボリュームを変化させます。 #include stdio.h #include stdlib.h #include string.h #include algorithm using namespace std; #define INFileName in.wav #define OUTFileName sinamp.wav #define PAI 3.141592653589793 #define Length 0.01 // defines #define STR_RIFF RIFF #define STR_WAVE WAVE #define STR_fmt fmt #define STR_data data #define WAV_MONAURAL 1 #define WAV_STEREO 2 #pragma pack(push,1) struct WaveFileHeader{ char Riff[4]; // RIFFヘッダ unsigned int FileSize; // ファイルサイズ - 8 char Wave[4]; // WAVEヘッダ }; struct TagChank{ unsigned char Fmt[4]; // fmt チャンク unsigned int FmtSize; // fmt チャンクのバイト数 }; struct WaveFormat{ unsigned short FormatTag; // フォーマットID unsigned short Channels; // チャンネル数 unsigned int SamplingRate; // サンプリングレート unsigned int BytesPerSec; // データ速度 (Byte/sec) unsigned short BlockAlign; // ブロックサイズ unsigned short BitsPerSample; // サンプルあたりのビット数 }; struct WrSWaveFileHeader { unsigned char hdrRiff[4]; // RIFF unsigned int sizeOfFile; // ファイルサイズ - 8 unsigned char hdrWave[4]; // WAVE unsigned char hdrFmt[4]; // fmt unsigned int sizeOfFmt; // sizeof( PCMWAVEFORMAT ) struct { unsigned short formatTag; // WAVE_FORMAT_PCM unsigned short channels; // number of channels unsigned int samplesPerSec; // sampling rate unsigned int bytesPerSec; // samplesPerSec * channels * (bitsPerSample/8) unsigned short blockAlign; // block align unsigned short bitsPerSample; // bits per sampling } stWaveFormat; // PCMWAVEFORMAT unsigned char hdrData[4]; // data unsigned int sizeOfData; // Waveデーターサイズ }; //関数間の引数 struct TagParam { unsigned int sizeOfData; // Waveデーターサイズ unsigned short channels; // チャンネル数 unsigned int samplesPerSec; // Hz unsigned int bytesPerSec; // バイト数/sec unsigned short bitsPerSample; // 8 bits or 16 bits long posOfData; // position of begnning of WAV datas float secPerCycle; // 間隔:秒 long cycleuSec; // 間隔:μ秒 float fAmp; // ボリューム倍率 }; #pragma pack(pop) WaveFileHeader waveFileHeader; WaveFormat waveFmtPcm; TagChank chank; TagParam sp; // wav ヘッダ作成 long wavHeaderWrite(FILE *fp, TagParam* sp) { unsigned short bytes; WrSWaveFileHeader wHdr; strncpy((char *)wHdr.hdrRiff,STR_RIFF,sizeof wHdr.hdrRiff); // RIFF ヘッダ wHdr.sizeOfFile=sp- sizeOfData+sizeof(WrSWaveFileHeader)-8;// ファイルサイズ strncpy((char *)wHdr.hdrWave,STR_WAVE,sizeof wHdr.hdrWave); // WAVE ヘッダ strncpy((char *)wHdr.hdrFmt,STR_fmt,sizeof wHdr.hdrFmt); // fmt チャンク wHdr.sizeOfFmt=sizeof wHdr.stWaveFormat; // fmt チャンク,無圧縮wav は 16 wHdr.stWaveFormat.formatTag=1; // 無圧縮PCM = 1 wHdr.stWaveFormat.channels=sp- channels; // ch (mono=1, stereo=2) wHdr.stWaveFormat.samplesPerSec=sp- samplesPerSec; // sampleng rate(Hz) bytes = sp- bitsPerSample / 8; // bytes/sec wHdr.stWaveFormat.bytesPerSec= bytes * sp- channels * sp- samplesPerSec; // bytes / sec wHdr.stWaveFormat.blockAlign=bytes * sp- channels; // byte/サンプル*チャンネル wHdr.stWaveFormat.bitsPerSample=sp- bitsPerSample; // 16 bit / sample strncpy((char *)wHdr.hdrData,STR_data,sizeof wHdr.hdrData); // dataチャンク wHdr.sizeOfData=sp- sizeOfData; // データ長 (byte) fwrite( wHdr, sizeof wHdr, 1, fp); // write header return ftell(fp); } // 8 bits/sampling int efffect8BitWav(FILE *fpIn, FILE *fpOut, TagParam* sp) { unsigned int i; long curSampling, samplingsPerCycle; float tempSampPerCycle, deltaDegree, curDegree, degree; unsigned char In[2]={0,0}; long oneSampleData=(sp- bitsPerSample/8)*sp- channels; tempSampPerCycle=(float)((float)(sp- samplesPerSec)*sp- secPerCycle); samplingsPerCycle=(long)tempSampPerCycle; if(samplingsPerCycle =0) { printf( 周波数が高すぎます.\n ); return -1; } printf( デジタルで処理するため実際の周波数は %.2f [Hz]です.\n , (float)sp- samplesPerSec/(float)samplingsPerCycle); deltaDegree=360.0f/(float)samplingsPerCycle; //1サンプル単位角度 curDegree=0.0f; //初期化 curSampling=0; //初期化 for (i = 0; i sp- sizeOfData/oneSampleData ; i++) { if(fread( In, oneSampleData, 1, fpIn) != 1) return -1; degree = (float)curDegree*(float)PAI/(float)180.0f ; In[0]=(char)((float)(In[0]-128)*((sin(degree)+1.0f)/2.0f))+128; In[1]=(char)((float)(In[1]-128)*((sin(degree)+1.0f)/2.0f))+128; // モノラルの場合意味は持たない if(fwrite(In, oneSampleData, 1, fpOut) != 1) return -1; curDegree+=deltaDegree; curSampling++; if(curSampling =samplingsPerCycle) { curDegree=0.0f; curSampling=0; } } return 0; } // 16 bits/sampling int efffect16BitWav(FILE *fpIn, FILE *fpOut, TagParam* sp) { unsigned int i; long curSampling, samplingsPerCycle; float tempSampPerCycle, deltaDegree, curDegree, degree; short In[2]={0,0}; long oneSampleData=(sp- bitsPerSample/8)*sp- channels; tempSampPerCycle=(float)((float)(sp- samplesPerSec)*sp- secPerCycle); samplingsPerCycle=(long)tempSampPerCycle; if(samplingsPerCycle =0) { printf( 周波数が高すぎます.\n ); return -1; } printf( デジタルで処理するため実際の周波数は %.2f [Hz]です.\n , (float)sp- samplesPerSec/(float)samplingsPerCycle); deltaDegree=360.0f/(float)samplingsPerCycle; //1サンプル単位角度 curDegree=0.0f; //初期化 curSampling=0; //初期化 for (i = 0; i sp- sizeOfData/oneSampleData ; i++) { if(fread( In, oneSampleData, 1, fpIn) != 1) return -1; degree = (float)curDegree*(float)PAI/(float)180.0 ; In[0]=(short)((float)In[0]*((sin(degree)+1.0f)/2.0f)); In[1]=(short)((float)In[1]*((sin(degree)+1.0f)/2.0f)); // モノラルの場合意味は持たない if(fwrite(In, oneSampleData, 1, fpOut) != 1) return -1; curDegree+=deltaDegree; curSampling++; if(curSampling =samplingsPerCycle) { curDegree=0.0f; curSampling=0; } } return 0; } //wav データ書き込み int wavDataWrite(FILE *fpIn, FILE *fpOut, TagParam* sp) { int rVal; fseek(fpIn, sp- posOfData, SEEK_SET); //元ファイルのデータ開始部分へ if(sp- bitsPerSample==8) rVal=efffect8BitWav(fpIn, fpOut, sp); else rVal=efffect16BitWav(fpIn, fpOut, sp); return rVal; } // ファイル内容書き出し int wavWrite(char *inFile, char *outFile, TagParam* sp) { FILE *fpIn, *fpOut; if((fpOut = fopen(outFile, wb )) == NULL) { printf( %s をオープンできません.\n , outFile); return -1; } if(wavHeaderWrite(fpOut, sp) != 44) // wav ヘッダ書き込み { printf( ヘッダを書き込めません %s\n , outFile); fclose(fpOut); return -1; } if((fpIn = fopen(inFile, rb )) == NULL) { printf( %s をオープンできません.\n , inFile); fclose(fpOut); return -1; } if(wavDataWrite(fpIn, fpOut, sp )!=0) // wav データ書き込み { printf( wavDataWriteでエラー発生.\n ); fclose(fpIn); fclose(fpOut); return -1; } fclose(fpIn); fclose(fpOut); return 0; } bool readfmtChunk(FILE *fp, WaveFormat* waveFmtPcm){ if(fread(waveFmtPcm, sizeof(WaveFormat), 1, fp) != 1)return false; printf( データ形式 %u (1 = PCM)\n , waveFmtPcm- FormatTag); printf( チャンネル数 %u\n , waveFmtPcm- Channels); printf( サンプリング周波数 %lu [Hz]\n , waveFmtPcm- SamplingRate); printf( バイト数 / 秒 %lu [bytes/sec]\n , waveFmtPcm- BytesPerSec); printf( バイト数×チャンネル数 %u [bytes]\n , waveFmtPcm- BlockAlign); printf( ビット数 / サンプル %u [bits/sample]\n , waveFmtPcm- BitsPerSample); if(waveFmtPcm- Channels != 2) { printf( \nこのプログラムはステレオのファイルを対象とします.\n ); printf( このwavファイルのチャンネル数は %d です.\n , waveFmtPcm- Channels); return false; } if(waveFmtPcm- FormatTag != 1) { printf( \nこのプログラムは無圧縮PCMのみを対象とします.\n ); printf( このwavファイルの形式は %04X です.\n , waveFmtPcm- FormatTag); return false; } if(waveFmtPcm- BitsPerSample != 8 waveFmtPcm- BitsPerSample != 16) { printf( \nこのプログラムは8/16ビットサンプリングされたものを対象とします\n ); printf( このwavファイルの bits/secは %d です.\n , waveFmtPcm- BitsPerSample); return false; } return true; } bool WaveHeaderRead(char *wavefile, TagParam* sp){ long fPos, len; FILE *fp; errno_t err; if (err=fopen_s( fp,wavefile, rb ) !=0){ printf( %sをオープンできません\n , wavefile); return false; } printf( \n%s \n , wavefile); // ヘッダ情報 if (fread( waveFileHeader, sizeof waveFileHeader, 1, fp) != 1){ printf( %ld で読み込み失敗\n , ftell(fp)); fclose(fp); return false; } if(strncmp( waveFileHeader.Riff, RIFF , 4) != 0){ printf( RIFF フォーマットでない\n ); fclose(fp); return false; } // WAVE ヘッダ情報 if (memcmp(waveFileHeader.Wave, WAVE , 4) != 0){ printf( WAVE が無い\n ); fclose(fp); return false; } // 4Byte これ以降のバイト数 = (ファイルサイズ - 8)(Byte) len = waveFileHeader.FileSize; // チャンク情報 while (fread( chank, sizeof chank, 1, fp) == 1){ if(memcmp( chank.Fmt, fmt , sizeof chank.Fmt) == 0){ len=chank.FmtSize; printf( \ fmt \ の長さ %ld [bytes]\n\n , len); fPos = ftell(fp); if(! readfmtChunk( fp, waveFmtPcm))return false; sp- samplesPerSec=waveFmtPcm.SamplingRate; // サンプリング周波数(Hz) sp- bitsPerSample=waveFmtPcm.BitsPerSample; // サンプリングビット数 sp- channels=waveFmtPcm.Channels; // チャンネル数 sp- bytesPerSec=waveFmtPcm.BytesPerSec; // バイト数/sec fseek(fp, fPos + len, SEEK_SET); }else if(memcmp(chank.Fmt, data , 4) == 0){ len = chank.FmtSize; sp- sizeOfData=chank.FmtSize; printf( \n\ data\ の長さ %ld [bytes]\n , len); fPos = ftell(fp); sp- posOfData=ftell(fp); fseek(fp, len + fPos - 4, SEEK_SET); break; }else{ len=chank.FmtSize; printf( \ %c%c%c%c\ の長さ %ld [bytes]\n\n , chank.Fmt[0],chank.Fmt[1], chank.Fmt[2],chank.Fmt[3], len); fPos = ftell(fp); fseek(fp, fPos + len, SEEK_SET); } } fclose(fp); return true; } void main(int argc, char *argv[]){ printf( wav ファイルのボリュームを変化させます.\n ); sp.secPerCycle=Length; WaveHeaderRead(INFileName, sp); wavWrite(INFileName , OUTFileName, sp); printf( \n%s を %sへ変換しました.\n , INFileName, OUTFileName); printf( \n%s を生成しました.\n , OUTFileName); getchar(); return; }
https://w.atwiki.jp/403mister/pages/13.html
・Python-Modules Python-Modulesは、Pythonのライブラリのこと(のはず)であり、それぞれのクラスから、様々な便利な機能を実装することができるようになっています。 以下に、各クラスの簡単な説明を書いていきます。 AutoComplete This extension can complete either attribute names of file names. It can pop a window with all available names, for the user to select from. この拡張は、ファイル名の名前を完結させることもでき、また属性を与えることもできる(?) ユーザーにとって、選ぶために、それは全ての利用可能な名前を持って、ウィンドウをポップすることができる。 AutoCompleteWindow AutoExpand BaseHTTPServer Note the class in this module doesn t implement any HTTP request; see SimpleHTTPServer for simple implementations of GET, HEAD and POST (including CGI scripts). It does, however, optionally implement HTTP/1.1 persistent connections, as of version 0.3. Contents - BaseHTTPRequestHandler HTTP request handler base class - test test function XXX To do - log requests even later (to capture byte count) - log user-agent header and other interesting goodies - send error log to separate file メモ: このモジュールにおけるそのクラスはHTTPリクエストを実行するわけではない:GET、HEADそしてPOSTメソッドの簡単な実行のためにSimpleHTTPServerを参照しなさい。(CGIスクリプトを含んでいる)。しかしながら、それは任意にVer 0.3のものとして、HTTP/1.1の永続的な接続を実行する。 内容: CallTipWindow After ToolTip.py, which uses ideas gleaned from PySol Used by the CallTips IDLE extension. CallTips Call Tips are floating windows which display function, class, and method parameter and docstring information when you type an opening parenthesis, and which disappear when you type a closing parenthesis. Canvas ClassBrowser CodeContext ColorDelegator ConfigParser Cookie Debugger Delegator Dialog DocXMLRPCServer EditorWindow FileDialog FileList FixTk FormatParagraph GrepDialog HTMLParser IOBinding IdleHistory MimeWriter MultiCall MultiStatusBar ObjectBrowser OutputWindow ParenMatch PathBrowser Percolator PyParse PyShell Queue RemoteDebugger RemoteObjectBrowser ReplaceDialog RstripExtension ScriptBinding ScrolledList ScrolledText SearchDialog SearchDialogBase SearchEngine SimpleDialog SimpleHTTPServer SimpleXMLRPCServer SocketServer StackViewer StringIO Tix Tkconstants Tkdnd Tkinter ToolTip TreeWidget UndoDelegator UserDict UserList UserString WidgetRedirector WindowList ZoomHeight _LWPCookieJar _MozillaCookieJar __builtin__ __future__ _abcoll _ast _bisect _bsddb _codecs _codecs_cn _codecs_hk _codecs_iso2022 _codecs_jp _codecs_kr _codecs_tw _collections _csv _ctypes _ctypes_test _elementtree _functools _hashlib _heapq _hotshot _io _json _locale _lsprof _md5 _msi _multibytecodec _multiprocessing _pyio _random _sha _sha256 _sha512 _socket _sqlite3 _sre _ssl _strptime _struct subprocess _symtable _testcapi _threading_local _tkinter _warnings _weakref _weakrefset _winreg abc aboutDialog aifc antigravity anydbm argparse array ast asynchat asyncore atexit audiodev audioop base64 bdb binascii binhex bisect bsddb baz2 cPickle cProfile cStringIO calendar cgi cgitb chunk cmath cmd code codecs codeop collections colorsys commands compileall compiler configDialog configHandler configHelpSourceEdit configSectionNameDialog contextlib cookielib copy copy_reg csv ctypes curses datetime dbhash decimal difflib dircache dis distutils doctest dumbdbm dummy_thread dummy_threading dynOptionMenuWidget email encodings errno exceptions filecmp fileinput fnmatch formatter fpformat fractions ftplib functools future_builtins gc genericpath getopt getpass gettext glob gzip hashlib heapq hmac hotshot htmlentitydefs htmllib httplib idle idlelib idlever ihooks imageop imaplib imghdr imp importlib imputil inspect io itertools json keybindingDialog keyword lib2to3 linecache locale logging macosxSupport macpath macur12path mailbox mailcap markupbase marshal math md5 mhlib mimetools mimetypes mimify mmap modulefinder msilib msvcrt multifile multiprocessing mutex netrc new nntplib nt ntpath ntur12path numbers opcode operator optparse os os2emxpath parser pdb pickle pickletools pipes pkgutil platform plistlib popen2 poplib posixfile posixpath pprint profile pstats pty py_compile pyclbr pydoc pydoc_data pyexpat quopri random re repr rexec rfc822 rlcompleter robotparser rpc run runpy sched select sets sgmllib sha shelve shlex shutil signal site smtpd smtplib sndhdr socket sqlite3 sre sre_compile sre_constants sre_parse ssl stat statvfs string stringold stringprep strop struct subprocess sunau sunaudio symbol symtable sys sysconfig tabbedpages tabnanny tarfile telnetlib tempfile test testcode testView testwrap this thread threading time timeit tkColorChooser tkCommonDialog tkFileDialog tkFont tkMessageBox tkSimpleDialog toaiff token tokensize trace traceback ttk tty turtlr types unicodedata unittest urllib urllib2 urlparse user uu uuid warnings wave weakref webbrowser whichdb winsound wsgiref xdrlib sml smllib smlrpclib xxsubtype zipfile zipimport zlib
https://w.atwiki.jp/mynote/pages/39.html
Fedora Core 6 (fc6)にffmepgのインストール 参照:http //tama-studio.com/xhnewbb+viewtopic.topic_id+134.htm sourceforge.netからffmpegのダウンロード http //prdownloads.sourceforge.net/ffmpeg/ffmpeg-0.4.8.tar.gz 少し考えた挙げ句、FC5 で提供されている compat-gcc-32-3.2.3-55.fc5 を試す これで無事動作を確認!!! ※要変更 wget ftp:// → wget ftp // [root@fedora6 ~]# wget ftp://ftp.riken.go.jp/Linux/fedora/core/5/i386/os/Fedora/RPMS/compat-gcc-32-3.2.3-55.fc5.i386.rpm [root@fedora6 ~]# rpm -ivh compat-gcc-32-3.2.3-55.fc5.i386.rpm prdownloads.sourceforge.net より ffmpeg-0.4.8.tar.gz をダウンロード [root@fedora6 ~]# tar zxvf ffmpeg-0.4.8.tar.gz [root@fedora6 ~]# cd ffmpeg-0.4.8 解凍後オプションを付けて [root@fedora6 ffmpeg-0.4.8]# ./configure --cc=gcc32 [root@fedora6 ffmpeg-0.4.8]# make [root@fedora6 ffmpeg-0.4.8]# make install Macにffmpegをインストール finkでsvnをインストールしておく svnでffmpegを落とす(cvs版は廃止になったポイので) 後はmake installでおk これだけなのに二日もかかったよorz (ffmpegを知る- ffmpegはcvsで落とすらしい- cvsって何?- cvsで落とせないよ- 今はcvsよりsvnだよ- svnって何?- やっと落とせた)って感じでした ffmpegの参照ページ http //www.nurs.or.jp/~calcium/wiki/index.php?ffmpeg%20usage http //www6.atwiki.jp/how_to_use_ffmpegx/pages/1.html http //wwww.vis.ne.jp/mt/archives/000687.html シミュレーションにおいての使い方 Gnuplot PLplot で画像を出力(画像は奇麗で編集のできるPS,EPS形式がいいでしょう) ImageMagickのmogrify -format jpg *.eps等で奇麗なEPS形式をそのままjpgかpngに jpgかpng形式にできたらffmpegの登場![$ffmpeg -i %5d.jpg out.mpg][$ffmpeg -i %5d.jpg out.avi]で動画を作成 [%5d]は00000.jpg,00001.jpg等の事Fortranのソレと変わりません、ここで重要?なのがちゃんとファイルを連番にしておくという事。 後オプションは 日本語サイトhttp //www.himco.jp/articles/pdf/FFmpegDoc.swf $ ffmpeg -i %5d.jpg test2.mpg FFmpeg version SVN-r9081, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration libavutil version 49.4.0 libavcodec version 51.40.4 libavformat version 51.12.1 built on May 21 2007 02 58 03, gcc 4.0.1 (Apple Computer, Inc. build 5367) Input #0, image2, from %5d.jpg Duration 00 00 04.0, start 0.000000, bitrate N/A Stream #0.0 Video mjpeg, yuvj420p, 518x362, 25.00 fps(r) Output #0, mpeg, to test2.mpg Stream #0.0 Video mpeg1video, yuv420p, 518x362, q=2-31, 200 kb/s, 25.00 fps(c) Stream mapping Stream #0.0 - #0.0 Press [q] to stop encoding frame= 101 fps= 0 q=12.6 Lsize= 216kB time=4.0 bitrate= 442.4kbits/s video 213kB audio 0kB global headers 0kB muxing overhead 1.396829% よく使うオプション ffmpeg -i %3d.gif -me full -qscale 1 -t 30 -r 20 -s 640x480 comp3.mpeg qscaleってのが画質みたい「1が最高品質」 Windowsでは・・・? Windowsでは親切な人たちがWindows版FFmpegバイナリを提供してくれていますので、それを使用しましょう。 http //www.xucker.jpn.org/pc/ffmpegnew.html で、バイナリファイルの場所を指定してやり(下の図では同じディレクトリに置いてあります。)オプションをつけて実行。 名前がそろっていない場合はそろえる!XX%4d.jpgの%4のところを連番にしてやりましょう。 ffmpeg -i %3d.gif -me full -qscale 1 -t 30 -r 20 -s 640x480 comp3.mpg ついでにx264もインストールしようと思ったんですが、./configureでXcode2.4.1が必要だと言われて弾かれたので、また今度。 000 ~/x264 xxx$ ./configure Your version of nasm is too old. Please install Xcode 2.4.1 or later. 何にもわからん人用に:流れ的には X11とXcodeをMac付属のCDからインストール finkのインストール(Fink Commanderも) finkでsvnのインストール svnでffmpegをダウンロード($ svn co svn //svn.mplayerhq.hu/ffmpeg/trunk ffmpeg) ffmpegディレクトリに移動 ./configure sudo make sudo make install ffmpeg uninstall編 cd ffmpeg sudo make uninstall make clean これでまた./configureにオプション等を付けてインストールできる utmcg5 ~ xxx$ svn co svn //svn.mplayefrhq.hu/ffmpeg/trunk ffmpeg utmcg5 ~ xxx$ ls utmcg5 ~ xxx$ cd ffmpeg/ utmcg5 ~/ffmpeg xxx$ ls utmcg5 ~/ffmpeg xxx$ ./configure utmcg5 ~/ffmpeg xxx$ sudo make utmcg5 ~/ffmpeg xxx$ sudo make install utmcg5 ~/ffmpeg xxx$ which ffmpeg utmcg5 ~ xxx$ svn co svn //svn.mplayerhq.hu/ffmpeg/trunk ffmpeg A ffmpeg/configure A ffmpeg/Doxyfile A ffmpeg/ffmpeg.c A ffmpeg/vhook A ffmpeg/vhook/imlib2.c A ffmpeg/vhook/drawtext.c A ffmpeg/vhook/fish.c A ffmpeg/vhook/null.c A ffmpeg/vhook/Makefile A ffmpeg/vhook/ppm.c A ffmpeg/vhook/watermark.c A ffmpeg/Changelog A ffmpeg/clean-diff A ffmpeg/libavutil A ffmpeg/libavutil/mathematics.c A ffmpeg/libavutil/adler32.h A ffmpeg/libavutil/x86_cpu.h A ffmpeg/libavutil/integer.h A ffmpeg/libavutil/mathematics.h A ffmpeg/libavutil/crc.c A ffmpeg/libavutil/avutil.h A ffmpeg/libavutil/crc.h A ffmpeg/libavutil/md5.c A ffmpeg/libavutil/intfloat_readwrite.c A ffmpeg/libavutil/md5.h A ffmpeg/libavutil/lls.c A ffmpeg/libavutil/intfloat_readwrite.h A ffmpeg/libavutil/Makefile A ffmpeg/libavutil/lls.h A ffmpeg/libavutil/tree.c A ffmpeg/libavutil/softfloat.c A ffmpeg/libavutil/aes128.c A ffmpeg/libavutil/tree.h A ffmpeg/libavutil/intreadwrite.h A ffmpeg/libavutil/softfloat.h A ffmpeg/libavutil/aes.c A ffmpeg/libavutil/aes128.h A ffmpeg/libavutil/rational.c A ffmpeg/libavutil/aes.h A ffmpeg/libavutil/rational.h A ffmpeg/libavutil/mem.c A ffmpeg/libavutil/log.c A ffmpeg/libavutil/internal.h A ffmpeg/libavutil/bswap.h A ffmpeg/libavutil/fifo.c A ffmpeg/libavutil/log.h A ffmpeg/libavutil/fifo.h A ffmpeg/libavutil/adler32.c A ffmpeg/libavutil/common.h A ffmpeg/libavutil/integer.c A ffmpeg/libavcodec A ffmpeg/libavcodec/dvbsubdec.c A ffmpeg/libavcodec/mjpeg.c A ffmpeg/libavcodec/ffv1.c A ffmpeg/libavcodec/dvdsubdec.c A ffmpeg/libavcodec/alpha A ffmpeg/libavcodec/alpha/regdef.h A ffmpeg/libavcodec/alpha/simple_idct_alpha.c A ffmpeg/libavcodec/alpha/mpegvideo_alpha.c A ffmpeg/libavcodec/alpha/asm.h A ffmpeg/libavcodec/alpha/motion_est_alpha.c A ffmpeg/libavcodec/alpha/dsputil_alpha.c A ffmpeg/libavcodec/alpha/dsputil_alpha_asm.S A ffmpeg/libavcodec/alpha/motion_est_mvi_asm.S A ffmpeg/libavcodec/flashsv.c A ffmpeg/libavcodec/vp3data.h A ffmpeg/libavcodec/nuv.c A ffmpeg/libavcodec/vcr1.c A ffmpeg/libavcodec/vqavideo.c A ffmpeg/libavcodec/zmbv.c A ffmpeg/libavcodec/indeo2.c A ffmpeg/libavcodec/ac3dec.c A ffmpeg/libavcodec/mpegaudiodectab.h A ffmpeg/libavcodec/jpeg_ls.c A ffmpeg/libavcodec/wmadata.h A ffmpeg/libavcodec/bytestream.h A ffmpeg/libavcodec/smacker.c A ffmpeg/libavcodec/truemotion1data.h A ffmpeg/libavcodec/sparc A ffmpeg/libavcodec/sparc/dsputil_vis.c A ffmpeg/libavcodec/sparc/vis.h A ffmpeg/libavcodec/vc1data.h A ffmpeg/libavcodec/avs.c A ffmpeg/libavcodec/cljr.c A ffmpeg/libavcodec/cookdata.h A ffmpeg/libavcodec/pnm.c A ffmpeg/libavcodec/bitstream_filter.c A ffmpeg/libavcodec/opt.c A ffmpeg/libavcodec/qdm2data.h A ffmpeg/libavcodec/svq1_vlc.h A ffmpeg/libavcodec/lzo.c A ffmpeg/libavcodec/opt.h A ffmpeg/libavcodec/i386 A ffmpeg/libavcodec/i386/idct_mmx_xvid.c A ffmpeg/libavcodec/i386/mpegvideo_mmx.c A ffmpeg/libavcodec/i386/vp3dsp_mmx.c A ffmpeg/libavcodec/i386/motion_est_mmx.c A ffmpeg/libavcodec/i386/fdct_mmx.c A ffmpeg/libavcodec/i386/dsputil_h264_template_mmx.c A ffmpeg/libavcodec/i386/idct_mmx.c A ffmpeg/libavcodec/i386/fft_3dn2.c A ffmpeg/libavcodec/i386/dsputil_mmx.c A ffmpeg/libavcodec/i386/mmx.h A ffmpeg/libavcodec/i386/dsputil_mmx_avg.h A ffmpeg/libavcodec/i386/h264dsp_mmx.c A ffmpeg/libavcodec/i386/vp3dsp_sse2.c A ffmpeg/libavcodec/i386/dsputil_mmx_rnd.h A ffmpeg/libavcodec/i386/simple_idct_mmx.c A ffmpeg/libavcodec/i386/snowdsp_mmx.c A ffmpeg/libavcodec/i386/mathops.h A ffmpeg/libavcodec/i386/fft_3dn.c A ffmpeg/libavcodec/i386/cavsdsp_mmx.c A ffmpeg/libavcodec/i386/cputest.c A ffmpeg/libavcodec/i386/fft_sse.c A ffmpeg/libavcodec/i386/mpegvideo_mmx_template.c A ffmpeg/libavcodec/resample.c A ffmpeg/libavcodec/vp3.c A ffmpeg/libavcodec/lzo.h A ffmpeg/libavcodec/dv.c A ffmpeg/libavcodec/sonic.c A ffmpeg/libavcodec/lzw.c A ffmpeg/libavcodec/libgsm.c A ffmpeg/libavcodec/idcinvideo.c A ffmpeg/libavcodec/qdrw.c A ffmpeg/libavcodec/mpcdata.h A ffmpeg/libavcodec/mpegvideo.c A ffmpeg/libavcodec/lzw.h A ffmpeg/libavcodec/h263data.h A ffmpeg/libavcodec/shorten.c A ffmpeg/libavcodec/xl.c A ffmpeg/libavcodec/mpegvideo.h A ffmpeg/libavcodec/truemotion1.c A ffmpeg/libavcodec/mdct.c A ffmpeg/libavcodec/rv10.c A ffmpeg/libavcodec/cabac.c A ffmpeg/libavcodec/faac.c A ffmpeg/libavcodec/mpeg12.c A ffmpeg/libavcodec/cavsdata.h A ffmpeg/libavcodec/qpeg.c A ffmpeg/libavcodec/h263dec.c A ffmpeg/libavcodec/cabac.h A ffmpeg/libavcodec/ppc A ffmpeg/libavcodec/ppc/gcc_fixes.h A ffmpeg/libavcodec/ppc/dsputil_altivec.h A ffmpeg/libavcodec/ppc/vc1dsp_altivec.c A ffmpeg/libavcodec/ppc/float_altivec.c A ffmpeg/libavcodec/ppc/gmc_altivec.c A ffmpeg/libavcodec/ppc/mathops.h A ffmpeg/libavcodec/ppc/types_altivec.h A ffmpeg/libavcodec/ppc/mpegvideo_ppc.c A ffmpeg/libavcodec/ppc/h264_template_altivec.c A ffmpeg/libavcodec/ppc/mpegvideo_altivec.c A ffmpeg/libavcodec/ppc/fft_altivec.c A ffmpeg/libavcodec/ppc/dsputil_ppc.c A ffmpeg/libavcodec/ppc/fdct_altivec.c A ffmpeg/libavcodec/ppc/idct_altivec.c A ffmpeg/libavcodec/ppc/h264_altivec.c A ffmpeg/libavcodec/ppc/dsputil_ppc.h A ffmpeg/libavcodec/ppc/dsputil_altivec.c A ffmpeg/libavcodec/ppc/snow_altivec.c A ffmpeg/libavcodec/vmnc.c A ffmpeg/libavcodec/xvmcvideo.c A ffmpeg/libavcodec/jfdctfst.c A ffmpeg/libavcodec/vp6data.h A ffmpeg/libavcodec/xvid_internal.h A ffmpeg/libavcodec/rpza.c A ffmpeg/libavcodec/motion_est.c A ffmpeg/libavcodec/indeo3.c A ffmpeg/libavcodec/h263.c A ffmpeg/libavcodec/mpegaudiodec.c A ffmpeg/libavcodec/snow.c A ffmpeg/libavcodec/dct-test.c A ffmpeg/libavcodec/tta.c A ffmpeg/libavcodec/svq1.c A ffmpeg/libavcodec/snow.h A ffmpeg/libavcodec/flashsvenc.c A ffmpeg/libavcodec/cavs.c A ffmpeg/libavcodec/simple_idct.c A ffmpeg/libavcodec/mmvideo.c A ffmpeg/libavcodec/kmvc.c A ffmpeg/libavcodec/simple_idct.h A ffmpeg/libavcodec/ac3tab.h A ffmpeg/libavcodec/w32thread.c A ffmpeg/libavcodec/flicvideo.c A ffmpeg/libavcodec/zmbvenc.c A ffmpeg/libavcodec/mpegaudio.c A ffmpeg/libavcodec/asv1.c A ffmpeg/libavcodec/fraps.c A ffmpeg/libavcodec/msmpeg4data.h A ffmpeg/libavcodec/cscd.c A ffmpeg/libavcodec/bmp.c A ffmpeg/libavcodec/mpegaudio.h A ffmpeg/libavcodec/amr.c A ffmpeg/libavcodec/mathops.h A ffmpeg/libavcodec/ps2 A ffmpeg/libavcodec/ps2/mpegvideo_mmi.c A ffmpeg/libavcodec/ps2/idct_mmi.c A ffmpeg/libavcodec/ps2/dsputil_mmi.c A ffmpeg/libavcodec/ps2/mmi.h A ffmpeg/libavcodec/dsputil.c A ffmpeg/libavcodec/g726.c A ffmpeg/libavcodec/ulti_cb.h A ffmpeg/libavcodec/xan.c A ffmpeg/libavcodec/eval.c A ffmpeg/libavcodec/qtrle.c A ffmpeg/libavcodec/truemotion2.c A ffmpeg/libavcodec/allcodecs.c A ffmpeg/libavcodec/dsputil.h A ffmpeg/libavcodec/h264dsp.c A ffmpeg/libavcodec/error_resilience.c A ffmpeg/libavcodec/faad.c A ffmpeg/libavcodec/rtjpeg.c A ffmpeg/libavcodec/wmv2.c A ffmpeg/libavcodec/eval.h A ffmpeg/libavcodec/vc1acdata.h A ffmpeg/libavcodec/interplayvideo.c A ffmpeg/libavcodec/rtjpeg.h A ffmpeg/libavcodec/utils.c A ffmpeg/libavcodec/imgresample.c A ffmpeg/libavcodec/truespeech_data.h A ffmpeg/libavcodec/imcdata.h A ffmpeg/libavcodec/truespeech.c A ffmpeg/libavcodec/dvdata.h A ffmpeg/libavcodec/rangecoder.c A ffmpeg/libavcodec/vp5data.h A ffmpeg/libavcodec/motion_est_template.c A ffmpeg/libavcodec/8bps.c A ffmpeg/libavcodec/adx.c A ffmpeg/libavcodec/msmpeg4.c A ffmpeg/libavcodec/imgconvert_template.h A ffmpeg/libavcodec/rangecoder.h A ffmpeg/libavcodec/golomb.c A ffmpeg/libavcodec/h264.c A ffmpeg/libavcodec/tiertexseqv.c A ffmpeg/libavcodec/golomb.h A ffmpeg/libavcodec/png.c A ffmpeg/libavcodec/apiexample.c A ffmpeg/libavcodec/roqvideo.c A ffmpeg/libavcodec/mpeg12data.h A ffmpeg/libavcodec/vp56data.c A ffmpeg/libavcodec/os2thread.c A ffmpeg/libavcodec/Makefile A ffmpeg/libavcodec/fft-test.c A ffmpeg/libavcodec/liba52 A ffmpeg/libavcodec/liba52/bitstream.h A ffmpeg/libavcodec/liba52/tables.h A ffmpeg/libavcodec/liba52/imdct.c A ffmpeg/libavcodec/liba52/bit_allocate.c A ffmpeg/libavcodec/liba52/downmix.c A ffmpeg/libavcodec/liba52/mm_accel.h A ffmpeg/libavcodec/liba52/crc.c A ffmpeg/libavcodec/liba52/a52_internal.h A ffmpeg/libavcodec/liba52/resample.c A ffmpeg/libavcodec/liba52/a52_util.h A ffmpeg/libavcodec/liba52/resample_mmx.c A ffmpeg/libavcodec/liba52/bitstream.c A ffmpeg/libavcodec/liba52/parse.c A ffmpeg/libavcodec/liba52/resample_c.c A ffmpeg/libavcodec/liba52/a52.h A ffmpeg/libavcodec/vp56data.h A ffmpeg/libavcodec/alac.c A ffmpeg/libavcodec/faandct.c A ffmpeg/libavcodec/jrevdct.c A ffmpeg/libavcodec/oggvorbis.c A ffmpeg/libavcodec/mlib A ffmpeg/libavcodec/mlib/dsputil_mlib.c A ffmpeg/libavcodec/cavsdsp.c A ffmpeg/libavcodec/x264.c A ffmpeg/libavcodec/sp5x.h A ffmpeg/libavcodec/faandct.h A ffmpeg/libavcodec/mpegaudiotab.h A ffmpeg/libavcodec/mdec.c A ffmpeg/libavcodec/imc.c A ffmpeg/libavcodec/4xm.c A ffmpeg/libavcodec/avcodec.h A ffmpeg/libavcodec/lcl.c A ffmpeg/libavcodec/vp5.c A ffmpeg/libavcodec/ac3.h A ffmpeg/libavcodec/imgconvert.c A ffmpeg/libavcodec/h261data.h A ffmpeg/libavcodec/indeo3data.h A ffmpeg/libavcodec/smc.c A ffmpeg/libavcodec/xvidff.c A ffmpeg/libavcodec/tiff.c A ffmpeg/libavcodec/raw.c A ffmpeg/libavcodec/vc1.c A ffmpeg/libavcodec/vorbis_enc.c A ffmpeg/libavcodec/bitstream.c A ffmpeg/libavcodec/cook.c A ffmpeg/libavcodec/flacenc.c A ffmpeg/libavcodec/wnv1.c A ffmpeg/libavcodec/parser.c A ffmpeg/libavcodec/ratecontrol.c A ffmpeg/libavcodec/xvid_rc.c A ffmpeg/libavcodec/libtheoraenc.c A ffmpeg/libavcodec/bitstream.h A ffmpeg/libavcodec/dsicinav.c A ffmpeg/libavcodec/vp56.c A ffmpeg/libavcodec/parser.h A ffmpeg/libavcodec/ratecontrol.h A ffmpeg/libavcodec/audioconvert.c A ffmpeg/libavcodec/a52dec.c A ffmpeg/libavcodec/qdm2.c A ffmpeg/libavcodec/svq1_cb.h A ffmpeg/libavcodec/vorbis.c A ffmpeg/libavcodec/flac.c A ffmpeg/libavcodec/vp56.h A ffmpeg/libavcodec/dtsdec.c A ffmpeg/libavcodec/h264enc.c A ffmpeg/libavcodec/vorbis.h A ffmpeg/libavcodec/cinepak.c A ffmpeg/libavcodec/fdctref.c A ffmpeg/libavcodec/sh4 A ffmpeg/libavcodec/sh4/dsputil_align.c A ffmpeg/libavcodec/sh4/idct_sh4.c A ffmpeg/libavcodec/sh4/qpel.c A ffmpeg/libavcodec/sh4/dsputil_sh4.c A ffmpeg/libavcodec/mpc.c A ffmpeg/libavcodec/fft.c A ffmpeg/libavcodec/mp3lameaudio.c A ffmpeg/libavcodec/h261.c A ffmpeg/libavcodec/msrle.c A ffmpeg/libavcodec/dpcm.c A ffmpeg/libavcodec/armv4l A ffmpeg/libavcodec/armv4l/mpegvideo_arm.c A ffmpeg/libavcodec/armv4l/simple_idct_armv5te.S A ffmpeg/libavcodec/armv4l/jrevdct_arm.S A ffmpeg/libavcodec/armv4l/mathops.h A ffmpeg/libavcodec/armv4l/dsputil_iwmmxt_rnd.h A ffmpeg/libavcodec/armv4l/mpegvideo_armv5te.c A ffmpeg/libavcodec/armv4l/dsputil_arm.c A ffmpeg/libavcodec/armv4l/mpegvideo_iwmmxt.c A ffmpeg/libavcodec/armv4l/dsputil_arm_s.S A ffmpeg/libavcodec/armv4l/dsputil_iwmmxt.c A ffmpeg/libavcodec/armv4l/simple_idct_arm.S A ffmpeg/libavcodec/cyuv.c A ffmpeg/libavcodec/pthread.c A ffmpeg/libavcodec/ra144.c A ffmpeg/libavcodec/loco.c A ffmpeg/libavcodec/huffyuv.c A ffmpeg/libavcodec/svq3.c A ffmpeg/libavcodec/tscc.c A ffmpeg/libavcodec/ws-snd1.c A ffmpeg/libavcodec/vorbis_data.c A ffmpeg/libavcodec/targa.c A ffmpeg/libavcodec/ra144.h A ffmpeg/libavcodec/vc1dsp.c A ffmpeg/libavcodec/wmadec.c A ffmpeg/libavcodec/motion_test.c A ffmpeg/libavcodec/ra288.c A ffmpeg/libavcodec/mace.c A ffmpeg/libavcodec/jfdctint.c A ffmpeg/libavcodec/gif.c A ffmpeg/libavcodec/aasc.c A ffmpeg/libavcodec/ra288.h A ffmpeg/libavcodec/mpeg4data.h A ffmpeg/libavcodec/vp6.c A ffmpeg/libavcodec/dvdsubenc.c A ffmpeg/libavcodec/ulti.c A ffmpeg/libavcodec/vmdav.c A ffmpeg/libavcodec/indeo2data.h A ffmpeg/libavcodec/pcm.c A ffmpeg/libavcodec/vp3dsp.c A ffmpeg/libavcodec/beosthread.c A ffmpeg/libavcodec/gifdec.c A ffmpeg/libavcodec/h264data.h A ffmpeg/libavcodec/adpcm.c A ffmpeg/libavcodec/dvbsub.c A ffmpeg/libavcodec/h264idct.c A ffmpeg/libavcodec/msvideo1.c A ffmpeg/libavcodec/vorbis_enc_data.h A ffmpeg/libavcodec/resample2.c A ffmpeg/libavcodec/ac3enc.c A ffmpeg/libavcodec/wavpack.c A ffmpeg/libavcodec/bfin A ffmpeg/libavcodec/bfin/dsputil_bfin.c A ffmpeg/pktdumper.c A ffmpeg/output_example.c A ffmpeg/CREDITS A ffmpeg/version.sh A ffmpeg/libpostproc A ffmpeg/libpostproc/postprocess_template.c A ffmpeg/libpostproc/postprocess.c A ffmpeg/libpostproc/postprocess_internal.h A ffmpeg/libpostproc/postprocess_altivec_template.c A ffmpeg/libpostproc/mangle.h A ffmpeg/libpostproc/postprocess.h A ffmpeg/libpostproc/Makefile A ffmpeg/tests A ffmpeg/tests/videogen.c A ffmpeg/tests/rotozoom.regression.ref A ffmpeg/tests/test.conf A ffmpeg/tests/tiny_psnr.c A ffmpeg/tests/dsptest.c A ffmpeg/tests/libav.regression.ref A ffmpeg/tests/lena.pnm A ffmpeg/tests/regression.sh A ffmpeg/tests/rotozoom.c A ffmpeg/tests/audiogen.c A ffmpeg/tests/ffserver.regression.ref A ffmpeg/tests/Makefile A ffmpeg/tests/server-regression.sh A ffmpeg/tests/ffmpeg.regression.ref A ffmpeg/doc A ffmpeg/doc/faq.texi A ffmpeg/doc/ffmpeg-doc.texi A ffmpeg/doc/soc.txt A ffmpeg/doc/optimization.txt A ffmpeg/doc/snow.txt A ffmpeg/doc/TODO A ffmpeg/doc/ffserver.conf A ffmpeg/doc/texi2pod.pl A ffmpeg/doc/ffmpeg_powerpc_performance_evaluation_howto.txt A ffmpeg/doc/hooks.texi A ffmpeg/doc/ffplay-doc.texi A ffmpeg/doc/Makefile A ffmpeg/doc/ffserver-doc.texi A ffmpeg/cmdutils.c A ffmpeg/INSTALL A ffmpeg/COPYING A ffmpeg/build_avopt A ffmpeg/ffinstall.nsi A ffmpeg/cmdutils.h A ffmpeg/Makefile A ffmpeg/berrno.h A ffmpeg/qt-faststart.c A ffmpeg/cws2fws.c A ffmpeg/unwrap-diff A ffmpeg/README A ffmpeg/common.mak A ffmpeg/ffplay.c A ffmpeg/xvmc_render.h A ffmpeg/ffserver.c A ffmpeg/libavformat A ffmpeg/libavformat/img2.c A ffmpeg/libavformat/dv1394.h A ffmpeg/libavformat/utils.c A ffmpeg/libavformat/cutils.c A ffmpeg/libavformat/nut.c A ffmpeg/libavformat/isom.c A ffmpeg/libavformat/crc.c A ffmpeg/libavformat/ipmovie.c A ffmpeg/libavformat/ffm.c A ffmpeg/libavformat/nuv.c A ffmpeg/libavformat/dsicin.c A ffmpeg/libavformat/nut.h A ffmpeg/libavformat/isom.h A ffmpeg/libavformat/os_support.c A ffmpeg/libavformat/idroq.c A ffmpeg/libavformat/http.c A ffmpeg/libavformat/matroska.c A ffmpeg/libavformat/electronicarts.c A ffmpeg/libavformat/adtsenc.c A ffmpeg/libavformat/mpjpeg.c A ffmpeg/libavformat/os_support.h A ffmpeg/libavformat/yuv.c A ffmpeg/libavformat/gxf.c A ffmpeg/libavformat/avi.h A ffmpeg/libavformat/smacker.c A ffmpeg/libavformat/udp.c A ffmpeg/libavformat/gxf.h A ffmpeg/libavformat/avs.c A ffmpeg/libavformat/rtpproto.c A ffmpeg/libavformat/mxf.c A ffmpeg/libavformat/Makefile A ffmpeg/libavformat/oggparsevorbis.c A ffmpeg/libavformat/flv.h A ffmpeg/libavformat/oggparseflac.c A ffmpeg/libavformat/dvenc.c A ffmpeg/libavformat/mp3.c A ffmpeg/libavformat/mpegts.c A ffmpeg/libavformat/mpegts.h A ffmpeg/libavformat/avisynth.c A ffmpeg/libavformat/rtp.c A ffmpeg/libavformat/x11grab.c A ffmpeg/libavformat/mtv.c A ffmpeg/libavformat/dc1394.c A ffmpeg/libavformat/4xm.c A ffmpeg/libavformat/qtpalette.h A ffmpeg/libavformat/asf.c A ffmpeg/libavformat/dv.c A ffmpeg/libavformat/gxfenc.c A ffmpeg/libavformat/beosaudio.cpp A ffmpeg/libavformat/rtp.h A ffmpeg/libavformat/grab.c A ffmpeg/libavformat/img.c A ffmpeg/libavformat/asf-enc.c A ffmpeg/libavformat/vocenc.c A ffmpeg/libavformat/asf.h A ffmpeg/libavformat/dv.h A ffmpeg/libavformat/rm.c A ffmpeg/libavformat/yuv4mpeg.c A ffmpeg/libavformat/nsvdec.c A ffmpeg/libavformat/tcp.c A ffmpeg/libavformat/movenc.c A ffmpeg/libavformat/mpeg.c A ffmpeg/libavformat/raw.c A ffmpeg/libavformat/sierravmd.c A ffmpeg/libavformat/wc3movie.c A ffmpeg/libavformat/libnut.c A ffmpeg/libavformat/grab_bktr.c A ffmpeg/libavformat/sol.c A ffmpeg/libavformat/avio.c A ffmpeg/libavformat/ogg2.c A ffmpeg/libavformat/swf.c A ffmpeg/libavformat/mov.c A ffmpeg/libavformat/avio.h A ffmpeg/libavformat/ogg2.h A ffmpeg/libavformat/psxstr.c A ffmpeg/libavformat/vocdec.c A ffmpeg/libavformat/avienc.c A ffmpeg/libavformat/au.c A ffmpeg/libavformat/aiff.c A ffmpeg/libavformat/rtp_h264.c A ffmpeg/libavformat/mm.c A ffmpeg/libavformat/oggparseogm.c A ffmpeg/libavformat/oggparsetheora.c A ffmpeg/libavformat/framehook.c A ffmpeg/libavformat/westwood.c A ffmpeg/libavformat/flvenc.c A ffmpeg/libavformat/flic.c A ffmpeg/libavformat/daud.c A ffmpeg/libavformat/rtp_h264.h A ffmpeg/libavformat/mpc.c A ffmpeg/libavformat/framehook.h A ffmpeg/libavformat/jpeg.c A ffmpeg/libavformat/mpegtsenc.c A ffmpeg/libavformat/segafilm.c A ffmpeg/libavformat/v4l2.c A ffmpeg/libavformat/tta.c A ffmpeg/libavformat/avidec.c A ffmpeg/libavformat/wv.c A ffmpeg/libavformat/tiertexseq.c A ffmpeg/libavformat/audio.c A ffmpeg/libavformat/flvdec.c A ffmpeg/libavformat/allformats.c A ffmpeg/libavformat/gif.c A ffmpeg/libavformat/rtp_internal.h A ffmpeg/libavformat/allformats.h A ffmpeg/libavformat/barpainet.h A ffmpeg/libavformat/rtspcodes.h A ffmpeg/libavformat/ogg.c A ffmpeg/libavformat/mmf.c A ffmpeg/libavformat/file.c A ffmpeg/libavformat/amr.c A ffmpeg/libavformat/gifdec.c A ffmpeg/libavformat/nutdec.c A ffmpeg/libavformat/sgi.c A ffmpeg/libavformat/avformat.h A ffmpeg/libavformat/base64.c A ffmpeg/libavformat/idcin.c A ffmpeg/libavformat/riff.c A ffmpeg/libavformat/voc.c A ffmpeg/libavformat/rtsp.c A ffmpeg/libavformat/base64.h A ffmpeg/libavformat/dv1394.c A ffmpeg/libavformat/aviobuf.c A ffmpeg/libavformat/riff.h A ffmpeg/libavformat/voc.h A ffmpeg/libavformat/rtsp.h A ffmpeg/libavformat/wav.c A ffmpeg/ffserver.h A ffmpeg/MAINTAINERS U ffmpeg Fetching external item into ffmpeg/libswscale A ffmpeg/libswscale/yuv2rgb.c A ffmpeg/libswscale/swscale.c A ffmpeg/libswscale/swscale_internal.h A ffmpeg/libswscale/yuv2rgb_mlib.c A ffmpeg/libswscale/swscale_altivec_template.c A ffmpeg/libswscale/cs_test.c A ffmpeg/libswscale/swscale.h A ffmpeg/libswscale/yuv2rgb_altivec.c A ffmpeg/libswscale/rgb2rgb_template.c A ffmpeg/libswscale/yuv2rgb_init.c A ffmpeg/libswscale/rgb2rgb.c A ffmpeg/libswscale/swscale-example.c A ffmpeg/libswscale/yuv2rgb_template.c A ffmpeg/libswscale/swscale_template.c A ffmpeg/libswscale/rgb2rgb.h A ffmpeg/libswscale/Makefile U ffmpeg/libswscale Checked out external at revision 22013. Checked out revision 7707. utmcg5 ~ xxx$ cd ffmpeg/ utmcg5 ~/ffmpeg xxx$ ls COPYINGCREDITSChangelog DoxyfileINSTALLMAINTAINERS MakefileREADMEberrno.h build_avopt*clean-diff*cmdutils.c cmdutils.hcommon.makconfigure* cws2fws.cdoc/ffinstall.nsi ffmpeg.cffplay.cffserver.c ffserver.hlibavcodec/libavformat/ libavutil/libpostproc/libswscale/ output_example.cpktdumper.cqt-faststart.c tests/unwrap-diff*version.sh* vhook/xvmc_render.h utmcg5 ~/ffmpeg xxx$ ./configure install prefix /usr/local source path /Users/xxx/ffmpeg C compiler cc make make .align is power-of-two yes ARCH x86_32 (generic) big-endian no MMX enabled yes CMOV enabled no CMOV is fast no gprof enabled no debug symbols yes strip symbols yes optimize yes static yes shared no postprocessing support no software scaler enabled no video hooking yes Imlib2 support no FreeType support yes network support yes IPv6 support yes threading support no SDL support no Sun medialib support no AVISynth enabled no liba52 support no liba52 dlopened no libdts support no libfaac enabled no libfaad enabled no faadbin enabled no libgsm enabled no libmp3lame enabled no libnut enabled no libogg enabled no libtheora enabled no libvorbis enabled no x264 enabled no XviD enabled no zlib enabled yes AMR-NB float support no AMR-NB fixed support no AMR-WB float support no AMR-WB IF2 support no License LGPL Creating config.mak and config.h...
https://w.atwiki.jp/todo314/pages/236.html
Information Propagation Game a Tool to Acquire Human Playing Data for MultiPlayer Influence Maximization on Social Networks Hung-Hsuan Chen, Yan-Bin Ciou, Shou-De Lin KDD 2012 概要だけ アプリケーションの話だったでござる competitiveなモデル 交互に頂点を選んで行ったり,先手がk頂点選んでから後手がk頂点選ぶとか こういうのをゲームのアプリケーションとして色々やってみる 特に面白い点は無かった KDD 影響最大化 情報拡散 2014-06-18 17 17 19 (Wed)
https://w.atwiki.jp/sampleisbest/pages/229.html
開発環境 Microsoft Visual C# 2010 Express (SP1) 実行環境 Microsoft Windows XP Home Edition (SP3) プロジェクトの種類 空のプロジェクト プロジェクト名 Quaternion 参考 床井研究室 - ゲームグラフィックス特論 クォータニオンを"使わない"球面線形補間 Program.cs // Quaternion2 球面線形補間の実験2 using System; using Microsoft.Xna.Framework; // .NET参照 class Program { static void Main() { float rad = MathHelper.ToRadians(120); float x = (float)Math.Cos(rad); float y = (float)Math.Sin(rad); Vector3 v1 = new Vector3(1, 0, 0); Vector3 v2 = new Vector3(x, y, 0); Quaternion q1 = new Quaternion(v1, 0); Quaternion q2 = new Quaternion(v2, 0); Print(v1); Print(v2); Print(q1); Print(q2); int div = 4; float dot = Vector3.Dot(v1, v2); Console.WriteLine(string.Format("dot={0 f2}", dot)); Console.WriteLine("Quaternion.Slerp"); for (int n = 0; n = div; n++) { float t = n / (float)div; Quaternion q = Quaternion.Slerp(q1, q2, t); float lat = MathHelper.ToDegrees((float)Math.Asin(q.Y)); Console.Write(string.Format("{0} lat={1 f1} / ", n, lat)); Print(q); } Console.WriteLine("Slerp(Quaternion)"); for (int n = 0; n = div; n++) { float t = n / (float)div; Quaternion q = Slerp(q1, q2, t); float lat = MathHelper.ToDegrees((float)Math.Asin(q.Y)); Console.Write(string.Format("{0} lat={1 f1} / ", n, lat)); Print(q); } Console.WriteLine("Slerp(Vector3)"); for (int n = 0; n = div; n++) { float t = n / (float)div; Vector3 v = Slerp(v1, v2, t); float lat = MathHelper.ToDegrees((float)Math.Asin(v.Y)); Console.Write(string.Format("{0} lat={1 f1} / ", n, lat)); Print(v); } Console.ReadLine(); } static void Print(Vector3 v) { Console.WriteLine(string.Format("x={0 f2} y={1 f2} z={2 f2} len={3 f2}", v.X, v.Y, v.Z, v.Length())); } static void Print(Quaternion q) { Console.WriteLine(string.Format("x={0 f2} y={1 f2} z={2 f2} w={3 f2} len={4 f2}", q.X, q.Y, q.Z, q.W, q.Length())); } static Vector3 Slerp(Vector3 value1, Vector3 value2, float amount) { value1.Normalize(); value2.Normalize(); float dot = Vector3.Dot(value1, value2); // cosθ float angle = (float)Math.Acos(dot); // 2ベクトル間の角度 float Ps = (float)Math.Sin(angle * (1 - amount)); float Pe = (float)Math.Sin(angle * amount); Vector3 v = (Ps * value1 + Pe * value2) / (float)Math.Sin(angle); v.Normalize(); return v; } static Quaternion Slerp(Quaternion value1, Quaternion value2, float amount) { value1.Normalize(); value2.Normalize(); float dot = Quaternion.Dot(value1, value2); // cosθ float angle = (float)Math.Acos(dot); // 2ベクトル間の角度 float sinTheta = (float)Math.Sin(angle); float Ps = (float)Math.Sin(angle * (1 - amount)) / sinTheta; float Pe = (float)Math.Sin(angle * amount) / sinTheta; Quaternion q = value1 * Ps + value2 * Pe; q.Normalize(); return q; } } 出力 x=1.00 y=0.00 z=0.00 len=1.00 x=-0.50 y=0.87 z=0.00 len=1.00 x=1.00 y=0.00 z=0.00 w=0.00 len=1.00 x=-0.50 y=0.87 z=0.00 w=0.00 len=1.00 dot=-0.50 Quaternion.Slerp 0 lat=0.0 / x=1.00 y=0.00 z=0.00 w=0.00 len=1.00 1 lat=-15.0 / x=0.97 y=-0.26 z=0.00 w=0.00 len=1.00 2 lat=-30.0 / x=0.87 y=-0.50 z=0.00 w=0.00 len=1.00 3 lat=-45.0 / x=0.71 y=-0.71 z=0.00 w=0.00 len=1.00 4 lat=-60.0 / x=0.50 y=-0.87 z=0.00 w=0.00 len=1.00 Slerp(Quaternion) 0 lat=0.0 / x=1.00 y=0.00 z=0.00 w=0.00 len=1.00 1 lat=30.0 / x=0.87 y=0.50 z=0.00 w=0.00 len=1.00 2 lat=60.0 / x=0.50 y=0.87 z=0.00 w=0.00 len=1.00 3 lat=90.0 / x=0.00 y=1.00 z=0.00 w=0.00 len=1.00 4 lat=60.0 / x=-0.50 y=0.87 z=0.00 w=0.00 len=1.00 Slerp(Vector3) 0 lat=0.0 / x=1.00 y=0.00 z=0.00 len=1.00 1 lat=30.0 / x=0.87 y=0.50 z=0.00 len=1.00 2 lat=60.0 / x=0.50 y=0.87 z=0.00 len=1.00 3 lat=90.0 / x=0.00 y=1.00 z=0.00 len=1.00 4 lat=60.0 / x=-0.50 y=0.87 z=0.00 len=1.00 考察 クォータニオンの内積は|q1||q2|cosθであり、θが+-90°を超えるとマイナスになる。 つまりベクトルの地球を突き抜けた後ろ側が近くなる。 円周でたとえるなら、0°と120°のベクトルでは120°の後ろ側-60°との距離が最短になる。 それがQuaternion.Slerpの仕様なのかお節介なのかは分からない。 Slerp関数を用意するなら球面線形補間はVector3で済む。
https://w.atwiki.jp/ciez/pages/24.html
地球統計学 Conditional simulationsA classification of the methodsQuantities Basic model type Sequential simulationOutline of algorithms The joint probability distribution Sequential Gaussian simulationOutline of the algorithms The mean of each conditional distribution The variance of each conditional distribution KrigingMain forms of linear kriging Common parts in derivation of the Kriging equations Estimated value Take the kriging variance as the mean square error Simple Kriging Ordinary Kriging(OK) External Drift Kriging (KDE) Under the condition of second-order stationarity Covariance 共分散 Variogram バリオグラムVariogram model Covariogram Semivariogram Relation between Covariogram and Semivariogram Empirical semivariogram Difference between Kriging and Simulation Glossary Conditional simulations A classification of the methods Quantities Continuous variables Categorical variables Objects Basic model type Diffusive model Jump model Mosaic model Random set model Sequential simulation Outline of algorithms 1. Assign any hard data (n) to the grid 2. Define a random path visiting all nodes u in the grid 3. Loop over all nodes u_i a. Construct a conditional distribution Fz(u_i, z|(n+i-1)) = Pr(Z(u_i) =z|(n+i-1)) b. Draw a simulated value z(u_i) from the conditional distribution Fz(u_i, z|(n+i-1)) c. Add simulated value to data-set (n+i-1) 4. End simulation The joint probability distribution Sequential Gaussian simulation Outline of the algorithms 1. Transform the sample data to standard normal scores 2. Assign the data (n) to the grid 3. Define a random path visiting all nodes u 4. Loop over all nodes u_i a. Construct a conditional Gaussian distribution b. Draw a simulated value z(u_i) from the conditional distribution c. Add simulated value to data-set (n+i-1) 5. End simulation 6. Transform the entire simulation back to the original data histogram The mean of each conditional distribution The variance of each conditional distribution Kriging Main forms of linear kriging Kriging Type Mean Minimal Prerequisite Model Name Simple Kriging(SK) Constant, known Covariance Stationary Ordinary Kriging(OK) Constant, unknown Variogram Intrinsic Universal Kriging(OK) Varying, unknown Variogram UK model Common parts in derivation of the Kriging equations Estimated value The weights depend on the location where the function is being estimated. , are selected so as to minimize the error , characterized by its expected mean square The prediction at the point the data at the point weights a constant that depends on Take the kriging variance as the mean square error Originally Adding the mean term , Expand it and finally written as b. Covariance between two sample points and the mean value Covariance between one sample point and the estimated point Variance at the estimated point Simple Kriging Take the minimum of the mean square error Therefore, Simple Kriging System is Simple Kriging Variance Ordinary Kriging(OK) External Drift Kriging (KDE) Under the condition of second-order stationarity means spatially constant mean and variance Relations of covariance, correlation and variogram Covariance Correlation Semivariogram Covariance 共分散 2つの変数がどのくらい同じように動くか corrleation coefficient Variogram バリオグラム 空間的相関、つまりデータが距離と方向にどのような関係を持つか Variogram model Spherical Exponential (GSLIB) Exponential (gstat) Gaussian where h lag distance a range practical range equal to the distance at which 95% of the sill has been reached theoretical range c sill Covariogram a function that depends only on the displacement vector h. Semivariogram spatial process at lcation the displacement vector Relation between Covariogram and Semivariogram the variance of spatial process Empirical semivariogram Difference between Kriging and Simulation Kriging produces just one map of estimates which is best in a statistical sense a global estimator, in that its estimate represents all the data within a defined area good to show smooth variations and underlying trends Simulation a local estimator reproduces exactly measured data good at showing local variability provides any number of statistically equivalent maps Glossary cdf the cumulative distribution function 累積分布関数