本帖最后由 瀚海书香 于 2012-05-07 19:08 编辑 我在 redhat 9.0 下运行视频采集程序 ffmpeg,命令格式如下: ./ffmpeg -an -f video4linux2 -r 10 -s 640x480 -t 5 -i /dev/video0 -f flv input.flv 系统出现如下提示: ffmpeg version SVN-r20817, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Mar 16 2010 15:53:09 with gcc 3.2.2 20030222 (Red Hat Linux 3.2.2-5) configuration: libavutil ...
by qzhao - 内核源码 - 2012-05-07 19:01:54 阅读(2506) 回复(2)
下面的代码借鉴了论坛里朋友写的程序,如下所示:
#include
ffmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. ffmpeg is developed under Linux, but it can compiled under most operating systems, including Windows. In ubuntu This package contains the ffplay multimedia player, the ffserver streaming server and the ffmpeg audio and video encoder. They support most existin...
ffmpeg介绍
ffmpeg是一个集录制、转换、音/视频编码解码功能为一体的完整的开源解决方案。ffmpeg的开发是基于Linux操作系统,但是可以在大多数操作系统中编译和使用。ffmpeg支持MPEG、DivX、MPEG4、AC3、DV、FLV等40多种编码,AVI、MPEG、OGG、Matroska、ASF等90多种解码。
"ffmpeg"这个单词中的 "FF" 指的是 "Fast Forward",它的官方网站是
http://ffmpeg.org/
,中文技术网站是
http://www.ffmpeg.com.cn
。TCPMP, VLC, MPla...
ffmpeg Documentation
Table of Contents
1. Introduction
2. Quick Start
2.1 Video and Audio grabbing
2.2 X11 grabbing
2.3 Video and Audio file format conversion
3. Invocation
3.1 Syntax
3.2 Main options
3.3 Video Options
3.4 Advanced Video Options
3.5 Audio Options
3.6 Advanced Audio options:
3.7 Subtitle options:
3.8 Audio/Video grab options
3.9 Advanced options
3.10 Preset files
...
ffmpeg安装
我安装的时候参考了如下:
----------------------------------------------------------------------------------
Rebuilding Ubuntu's ffmpeg Package
Essentially, we're going to download the ffmpeg source packages for Hardy, install some extra codecs and libraries, and then compile new packages from the sources. We need to do this to enable certain proprietary codecs, which Ubuntu cannot ...
最近互联网视频共享的网站很火,用fms+ffmpeg形式
fms负责在线录制,播放,ffmpeg则在后台处理上传的资源转换成一定的格式。
为了让ffmpeg支持的格式尽量多,所以特把我的编译笔记分享一下
环境:redhat as4
1。首先获取ffmpeg
很多人找不到怎么下载,其实之前ffmpeg可以通过cvs下载,不过最近他已经换成了更加强大的svn
如何使用SVN我这里不再介绍,网上还有大量的安装和使用的文章可以借鉴,这里简单罗列几个SVN辅助的软件:
SubV...
ffmpeg功能
1. 视频音频格式转换
ffmpeg能使用任何支持的格式和协议作为输入:
*比如你可以输入YUV文件:ffmpeg -i /tmp/test%d.Y /tmp/out.mpg
它将要使用如下文件:
/tmp/test0.Y, /tmp/test0.U, /tmp/test0.V,
/tmp/test1.Y, /tmp/test1.U, /tmp/test1.V,等等…
*你能输入原始的YUV420P文件:ffmpeg -i /tmp/test.yuv /tmp/out.avi
原始的YUV420P文件包含原始的YUV极性,每帧以Y平面开始,跟随U和V平面,...