FFMPEG 和 FFMPEG-PHP 的安装
May 31st, 2006 by song

FFMPEG 和 FFMPEG-PHP 的安装

软件:

FFmpeg 官方主页: http://ffmpeg.sourceforge.net
cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg

FFmpeg-php 官方主页 http://ffmpeg-php.sourceforge.net
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ffmpeg-php login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ffmpeg-php co ffmpeg-php

Lame 下载地址
http://www.linuxpackages.net/sea … ;name=lame&ver=

Apache v2.0.54 官方主页: http://www.apache.org
http://www.apache.org/dist/httpd/httpd-2.0.54.tar.gz

PHP v4.3.11 官方主页: http://www.php.net
http://cn.php.net/distributions/php-5.0.4.tar.gz

GD Library v2.0.33 官方主页: http://www.boutell.com/gd/
http://www.boutell.com/gd/http/gd-2.0.33.tar.gz Read the rest of this entry »

FFMPEG功能
May 31st, 2006 by song

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平面,它们是Y平面水平垂直的一半分辨率

   *你能输出原始的YUV420P文件

   ffmpeg -i mydivx.avi -o hugefile.yuv
Read the rest of this entry »

FFMPEG
May 31st, 2006 by song

This tutorial is about transcoding video fom one codec into another using
[url=http://ffmpeg.org/]FFMPEG[/url]
. I got deeper into FFMPEG when I wanted to transcode into FLV (Flash Video) and it works very well. I developed the
[url=http://rivavx.de/?encoder]Riva FLV Encoder[/url]
, a GUI for FFMPEG.

We install the Minimalist GNU for Windows MinGW (Compiler) and MSYS (Minimal SYStem) which is a kind of unix-shell to access the MinGW-commands. Next we download, compile and install Lame, an open-source mp3-codec, with MSYS. Next we install WinCVS and checkout the latest cvs-release of FFMPEG. Finally we compile ffmpeg and I will show a few examples how to work with Flash Video (FLV).

    Read the rest of this entry »
SIDEBAR
»
S
I
D
E
B
A
R
«
»  Substance:WordPress   »