標籤:
http://pan.baidu.com/s/1ntMalO9
一定要解壓到 D:\ffmpeg\ 目錄下雙擊 OpenWith_FFPlay.reg 註冊ffplay在視頻檔案名稱上面,單擊滑鼠右鍵,選擇 FFPlay無邊框,顯示播放時間 HH:MM:SS.ms 精確到微妙ESC 退出S 下一幀[ -0.5秒] +0.5秒< -1秒> +1秒; -3秒‘ +3秒-> -10秒<- +10秒下鍵 -60秒上鍵 +60秒PgDn -10分鐘PgUp +10分鐘ffmpeg-2.5.3基礎上修改了一些功能i686-w64-mingw32 gcc 4.9.2 進行編譯
http://pan.baidu.com/s/1ntMalO9
------------------------------------------------------------------------------------SDL1.2 無標題視窗按一下滑鼠拖動------------------------------------------------------------------------------------#include "windows.h"#include "SDL/SDL.h"#include "SDL/SDL_syswm.h"...static int dragging = 0;static SDL_SysWMinfo windowInfo;static HWND windowHandle=0;static int sx=0,sy=0,wx=0,wy=0,sx2=0,sy2=0;static RECT rc;...case SDL_MOUSEBUTTONDOWN:SDL_GetWMInfo(&windowInfo);windowHandle = windowInfo.window;SDL_GetMouseState(&sx,&sy);dragging = 1;break;case SDL_MOUSEBUTTONUP:dragging = 0;break;case SDL_MOUSEMOTION:if(dragging){SDL_GetMouseState(&sx2,&sy2);GetWindowRect(windowHandle,&rc);MoveWindow(windowHandle,rc.left+sx2-sx,rc.top+sy2-sy,rc.right-rc.left,rc.bottom-rc.top,1);}------------------------------------------------------------------------------------
ffplay 2.5.3 媒體播放器