自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

我的奋斗@2011之移动互联网

人因梦想而伟大

  • 博客(1)
  • 资源 (3)
  • 收藏
  • 关注

转载 成为一名优秀程序员所需要知道的那些事

成为一名优秀程序员所需要知道的那些事

2010-10-21 16:40:00 753

FFmpeg20080412

<br>-----FFmpeg SVN r12790 build-----<br>configured by:<br><br>FFmpeg version SVN-r12790, Copyright (c) 2000-2008 Fabrice Bellard, et al.<br> configuration: --prefix=d:/OmniCoder/svn_build --enable-memalign-hack --enable-shared --disable-static --disable-encod<br>er=snow --disable-decoder=ac3 --disable-decoder=vorbis --disable-encoder=vorbis --disable-vhook --enable-ffplay --disabl<br>e-ffserver --disable-mpegaudio-hp --enable-pthreads --enable-liba52 --enable-nonfree --enable-libamr-nb --enable-libamr-<br>wb --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libgsm --enable-libtheora --enable-libvorbis --enable-<br>libx264 --enable-libxvid --enable-avisynth --enable-gpl --enable-swscale --enable-avfilter --enable-avfilter-lavf --enab<br>le-demuxer=vfwcap --enable-demuxer=rm --extra-cflags=-I/usr/local/include -I/usr/local/include/SDL --extra-ldflags=-L/us<br>r/local/lib --extra-libs=-lpthreadGC2<br> libavutil version: 49.6.0<br> libavcodec version: 51.54.0<br> libavformat version: 52.13.0<br> libavdevice version: 52.0.0<br> libavfilter version: 0.0.0<br> built on Apr 12 2008 22:21:14, gcc: 4.3.0<br><br>Note:<br>output_example.exe, tools/cws2fws.exe, tools/pktdumper.exe, tools/qt-faststart.exe, tools/trasher.exe are also compiled<br><br>H264 decoding/encoding should be ehanced huge in this version if you have multi-core CPUs<br>x264 encoding will use multi-cores automically in this version<br><br>eg:<br>ffmpeg -i input.avi -threads 2 -vcodec libx264 -b 500K -bufsize 500K -minrate 500K -maxrate 500K -rc_eq "blurCplx^(1-qComp)" -qmin 2 -qmax 51 output.mp4<br><br>Addins:<br>1) how to make a mp4 streamable with Adobe Flash Player?<br>You can use the following command to make a mp4/mov/3gp file<encoded with H264+AAC> streaming feature which is compatible with the latest Adobe Flash Player<br>eg:<br> qt-faststart.exe input.mp4 output.mp4<br> <br>Now,output.mp4 can be rendered instantly by Flash Player<br><br>2) VFW camera capture<br>The following command will use your default camera device to preview&grap picture,and encode the picture to mpeg4<br><br>ffmpeg -f vfwcap -s 320x240 -r 25 -i 0 -b 400K -vcodec mpeg4 new.mp4<br><br>Enjoy it!<br><br>//--------------------------------------------<br>by mvp@mvplayer.net<br>http://groups.google.com/group/nextplayer<br>2008/04/12

2008-04-12

FFmpeg_ver12476_build

<br>-----FFmpeg SVN r12476 build-----<br>configured by:<br><br>./configure --prefix=d:/nextcodeccode/svn_build --enable-memalign-hack --enable-shared --disable-static --disable-encoder=snow --disable-decoder=ac3 --disable-decoder=vorbis --disable-encoder=vorbis --disable-vhook --enable-ffplay --disable-ffserver --disable-mpegaudio-hp --enable-pthreads --enable-liba52 --enable-nonfree --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libgsm --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-avisynth --enable-gpl --enable-swscale --enable-avfilter --enable-avfilter-lavf --enable-demuxer=vfwcap --enable-demuxer=rm --extra-cflags="-I/usr/local/include -I/usr/local/include/SDL" --extra-ldflags=-L/usr/local/lib --extra-libs=-lpthreadGC2<br><br>Note:<br>output_example.exe, tools/cws2fws.exe, tools/pktdumper.exe, tools/qt-faststart.exe, tools/trasher.exe are also compiled<br><br>Addins:<br>1) how to make a mp4 streamable with Adobe Flash Player?<br>You can use the following command to make a mp4/mov/3gp file<encoded with H264+AAC> streaming feature which is compatible with the latest Adobe Flash Player<br>eg:<br> qt-faststart.exe input.mp4 output.mp4<br> <br>Now,output.mp4 can be rendered instantly by Flash Player<br><br>2)How to use avfilter?<br> Enabled filters:<br> crop graphfile scale<br> drawbox hflip setpts<br> fifo movie slicify<br> format negate split<br> fps noformat transpose<br> graph overlay vflip<br> graphdesc rotate<br> <br> a)To vertically flip a video, you would do:<br><br> ./ffplay -vfilters vflip input_video.avi<br> But the following commands(apply two vflip filter) will result in the orginal picture<br> ./ffplay -vfilters vflip,vflip input_video.avi<br> <br> b)To scale video to specific dimension, you would do:<br> ./ffplay -vfilters scale=640:480 input_video.avi<br> <br> c)avfilter can accepts many input files and generate many output files at the same time.<br> I will elaberate this feature on FFmpegSDK3.3<br><br><br>3) VFW camera capture<br>The following command will use your default camera device to preview&grap picture,and encode the picture to mpeg4<br><br>ffmpeg -f vfwcap -s 320x240 -r 25 -i 0 -b 400K -vcodec mpeg4 new.mp4<br><br>I will add audio capture on win32 in next major build<br><br>by mvp@mvplayer.net<br>2008/03/17

2008-03-17

FFmpeg_ver12430_build

FFmpeg r12430 build Introduce: 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. H264 decoding/encoding should be ehanced huge in this version if you have multi-core CPUs eg: ffmpeg -i input.avi -threads 2 -acodec libfaac -ab 64K -b 500K -vcodec libx264 -s 640x480 new.mp4 NOTE: this version is compiled by the latest GCC4.3 and optimized for intel core2 architecture. You can download it directly by the following address Configured by: ./configure --prefix=d:/nextcodeccode/svn_build --enable-memalign-hack --enable-shared --disable-static --disable-encoder=snow --disable-decoder=ac3 --disable-decoder=vorbis --disable-encoder=vorbis --disable-vhook --enable-ffplay --disable-ffserver --disable-mpegaudio-hp --enable-pthreads --enable-liba52 --enable-nonfree --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libgsm --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-avisynth --enable-gpl --enable-swscale --enable-avfilter --enable-avfilter-lavf --enable-demuxer=vfwcap --enable-demuxer=rm --extra-cflags="-I/usr/local/include -I/usr/local/include/SDL -mtune=core2 -march=core2" --extra-ldflags=-L/usr/local/lib --extra-libs=-lpthreadGC2 Note: output_example.exe, tools/cws2fws.exe, tools/pktdumper.exe, tools/qt-faststart.exe, tools/trasher.exe are also compiled Addins: 1) how to make a mp4 streamable with Adobe Flash Player? You can use the following command to make a mp4/mov/3gp file<encoded with H264+AAC> streaming feature which is compatible with the latest Adobe Flash Player eg: qt-faststart.exe input.mp4 output.mp4 Now,output.mp4 can be rendered instantly by Flash Player 2)How to use avfilter? a)To vertically flip a video, you would do: ./ffplay -vfilters vflip input_video.avi But the following commands(apply two vflip filter) will result in the orginal picture ./ffplay -vfilters vflip,vflip input_video.avi b)To scale video to specific dimension, you would do: ./ffplay -vfilters scale=640:480 input_video.avi c)avfilter can accepts many input files and generate many output files at the same time. I will elaberate this feature on next major builder Enjoy it and test it Thanks Inspired by: http://www.mvplayer.net http://groups.google.com/group/nextplayer 2008/03/14

2008-03-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除