- 博客(1)
- 资源 (3)
- 收藏
- 关注
原创 How to compile ffdshow-tryout with VS2008+SP1 + Vista Platform SDK(ver6.1) + Microsoft DirectX SDK (August 2008)
Note: 在使用最新的DirectX SDK (August 2009)的前提下,已经不需要下面的补丁了,也就是说最新的ffdshow-tryout可以不用做任何修改就可以用vs2008直接编译!Cheers! Update 2009/12/27 Index: src/TkeyboardDirect.h============================
2008-12-22 13:57:00 1563
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关注的人