|
本帖最后由 zjhsucceed_329 于 2013-1-24 18:50 编辑
应该可以支持市面上绝大多数摄像头
[root@tq2440 /]# ./ffmpeg_decode test.avi 解码视频
The framebuffer device was opened successfully.
480x272, 16bpp
The framebuffer device was mapped to memory successfully.
Input #-1, avi, from 'test.avi':
Duration: 00:00:30.33, start: 0.000000, bitrate: 930 kb/s
Stream #-1:0: Video: indeo3 (IV32 / 0x32335649), yuv410p, 176x184, 15 tbr, 15 tbn, 15 tbc
width:176 height:184
[root@tq2440 /]# ./ffmpeg_decode /dev/video0 视频监控
The framebuffer device was opened successfully.
480x272, 16bpp
The framebuffer device was mapped to memory successfully.
[video4linux2,v4l2 @ 0x56030] Estimating duration from bitrate, this may be inaccurate
Input #-1, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 8982.057647, bitrate: 4915 kb/s
Stream #-1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 4915 kb/s, 4 fps, 200 tbr, 1000k tbn, 4 tbc
width:320 height:240
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|