首页 > 代码库 > ffplay 2.5.3 媒体播放器

ffplay 2.5.3 媒体播放器

技术分享

下载地址 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 媒体播放器