configure..... in windows
http://askubuntu.com/questions/148554/installingffmpeg-libx264-and-libavfilter
http://ffmpeg.arrozcru.org/forum/viewtopic.php?f=1&t=1422
http://superuser.com/questions/196857/how-to-install-libmp3lame-for-ffmpeg
http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/
http://mediamosa.org/content/transcode-mp3
./configure –extra-cflags="-mno-cygwin -mms-bitfields" –extra-ldflags="-Wl,–add-stdcall-alias" –enable-memalign-hack –target-os=mingw32 –enable-shared –disable-static
./configure --enable-memalign-hack --enable-shared --disable-yasm --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avfilter-lavf
http://rmn-explores.blogspot.in/2010/07/ffmpeg-building-on-windows_29.html
http://ffmpeg.zeranoe.com/builds/
http://ffmpeg.org/documentation.html
http://www.ffmpeg.org/download.html#release
http://www.codeproject.com/Tips/111468/FFmpeg-Tutorial
https://github.com/phamquy/FFmpeg-tutorial-samples
http://wiki.multimedia.cx/index.php?title=Category:FFmpeg_Tutorials
http://ffmpeg.org/trac/ffmpeg/wiki/MingwCompilationGuide
http://www.youtube.com/watch?v=3yhkX0uaQGk
http://ffmpeg.org/platform.html
http://www.wikihow.com/Install-FFmpeg-on-Windows
https://github.com/phamquy/FFmpeg-tutorial-samples
http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto
http://wiki.multimedia.cx/index.php?title=Category:FFmpeg_Tutorials
http://rmn-explores.blogspot.in/2010/07/ffmpeg-building-on-windows_29.html
http://www.ffmpeg.org/download.html#release
Broken Shell detected. Trying alternatives.Trying Shell bash
http://stackoverflow.com/questions/1618163/building-ffmpeg-for-windows-with-msys-and-mingw
MINGW and MSYS
http://www.mingw.org/wiki/MSYS
http://rmn-explores.blogspot.com/2010/07/ffmpeg-building-on-windows_29.html
http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/
http://www.mingw.org/wiki/InstallationHOWTOforMinGW
CODE FFmpeg
http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto
https://github.com/phamquy/FFmpeg-tutorial-samples
http://forums.creativecow.net/thread/291/944
http://avsplitter.avmedia.su/en/content/ffmpeg-source-code-microsoft-visual-studio
http://www.alax.info/trac/public/browser/trunk/Utilities/FFmpeg
http://www.codeproject.com/Articles/17380/Using-FFMpeg-in-the-Microsoft-Visual-C-Environment
http://stackoverflow.com/questions/11701635/use-ffmpeg-in-visual-studio
How to install FFMPEG on windows?
We’ll start with downloading some tools of the trade and the source for ffmpeg.
- Download MinGW from here.
- Download MSYS from here.
- Download updated bash for MSYS from here.
- Get the latest snapshot of ffmpeg from here (here’s a direct link).
Let’s install the tools.
- Install MinGW (choose “MinGW base tools” and “MinGW make”) into c:\mingw
- Install MSYS into c:\msys\1.0
- After MSYS installation it will run a postinstall script. It will ask you some questions which you should answer as following:
Do you wish to continue with the post install? [yn ] -> y
Do you have MinGW installed? [yn ] -> y
Where is your MinGW installation? -> C:/mingw - Copy bash-2.05b-MSYS.tar.bz2 to c:\msys\1.0 and extract it (bash.exe should go into C:\MSYS\1.0\bin).
We need to do this because ffmpeg’s configure script doesn’t work with bash 2.0.4 that comes with MSYS. - Extract the ffmpeg sources. I’ll assume you’ve extracted them to c:\work\ffmpeg .
Now it’s time to build the library.
- Create a file called myconfig in c:\work\ffmpeg and copy the following into it:#!/bin/sh
./configure –extra-cflags="-mno-cygwin -mms-bitfields"
–extra-ldflags="-Wl,–add-stdcall-alias" –enable-memalign-hack
–target-os=mingw32 –enable-shared –disable-static - Run c:\msys\1.0\msys.bat. Run the following commands in the shell that starts:$ cd /c/work/ffmpeg
$ ./myconfig
$ make - In order to run ffmpeg.exe, collect the binary files and put them together in one folder:ffmpeg\ffmpeg.exe
ffmpeg\libavcodec\avcodec-51.dll
ffmpeg\libavformat\avformat-51.dll
ffmpeg\libavutil\avutil-49.dll
http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/
http://sourceforge.net/mailarchive/forum.php?thread_name=4e66c170809060708i389f5711p11551175816132d9%40mail.gmail.com&forum_name=mingw-msys
http://ffmpeg.org/ffmpeg.html
http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto
Share This tutorial is about transcoding video fom one codec into another using FFMPEG. I got deeper into FFMPEG when I wanted to transcode into FLV (Flash Video) and it works very well. I developed the Riva FLV Encoder, a GUI for FFMPEG.
Update 26.10.2006: This tutorial is a little outdated as there were many changes in FFMPEG like the switch from CVS to Subversion and the workflow to compile FFMPEG under Windows has become more difficult. For the new tweaks check this tutorial.
- Download MinGW ” MSYS current releases (Window Exe Binaries MSYS-1.0.10.exe & MinGW-3.1.0-1.exe)
- Install MinGW
- Install MSYS
- HINT: During the Postinstall be sure to set the right path to MinGW
with a “/” instead of a Windows-”". If you did it wrong anyway
re-install MSYS to the same directory and do the postinstall right (I
missed it a few times)
- Download and compile Lame
- Extract Lame to your MSYS home-directory
- Open MSYS and change to your lame-directory (cd ../lame-XXX)
- Enter the following commands:
- ./configure //(takes a few minutes)
- make //(lame is being comiled; takes a few minutes, too)
- make install
CODE:- After installing you will recognize that there are new directories
and files in MSYS/local which we will use while compiling ffmpeg with
mp3-support
- Download Subversion Client like Tortoise SVN (http://http://tortoisesvn.tigris.org/) and install it
- Check out the sourcecode from svn://svn.mplayerhq.hu/ffmpeg
- Compile FFMPEG
- Change the directory in MSYS to your ffmpeg-directory (cd ../ffmpeg)
- Enter the command:
- ./configure –enable-memalign-hack –enable-mingw32 –enable-mp3lame –extra-cflags=-I/local/include –extra-ldflags=-L/local/lib
CODE:- HINT: you can paste into MSYS by pressing your center mouse-button
- “–enabled-memalign-hack” is a Windows hack. Without this option ffmpeg always crashs with the message “removing common factors from framerate” when encoding AVIs.
- “–enable-mingw32″. I see no difference without it but we compile with MinGW and it would not do a harm when ffmpeg knows this
- “–enable-mp3lame”: Enable transcoding audio with the open-source mp3-lame-codec
- “–extra-cflags=-I/local/include –extra-ldflags=-L/local/lib”: The cflags- and ldflags-parameter sets the right path to your lame-installation which you did in step 3.d.
- Enter command: make (ffmpeg is being compiled; takes a few minutes)
- With “make install” you could now copy the ffmpeg.exe to c:Program Filesffmpeg. But there is no need to.
- Use FFMPEG
- Copy your compiled ffmpeg.exe from your MSYS directory to the directory where you like to transcode with ffmpeg
- Open the Dos-Shell and change to the directory where you copied the ffmpeg.exe
- Copy a test.mpg into your directory and enter the following command:
- ffmpeg -i test.mpg -ab 56 -ar 22050 -b 500 -r 15 -s 320×240 test.flv
CODE:- Your first FLV should be encoded now
- Render Images from a Video
- Enter command:
- ffmpeg -an -y -t 0:0:0.001 -i test.flv -f image2 test%d.jpg
CODE:- HINT: With -t you set the length of images to be extracted. Above we
entered 1 millisecond the extract one image. If you miss this parameter
all images of the video will be extracted
MinGW for First Time Users HOWTO
For those who are just starting out, this will explain how to use MinGW to compile a C++ executable, in a command prompt envionment.
First you must make sure you have installed MinGW and set the System Variable for Path is set to express the location of MinGW.
This is explained Here.
Now, assuming your directory for MinGW is the default C:\MinGW, and your Environment Variable is set to C:\MinGW\bin, it is easy to start compiling a C++ executable.
Open up an elevated command prompt window (start as admin in Vista) and set the current directory to where your *.cpp file is.
Example:
For the file helloworld.cpp in the folder C:\docs\hello enter the command
cd c:\docs\hello
Now type the compile command
g++ helloworld.cpp -o helloworld.exe
The -o switch defines the name of the output file, without it the output file would be a.exe.
If there are any errors in the source file the command line will notify you and direct you to the line where the error is
Say you had forgotten to add an extra line at the end of your source file (an easy mistake when moving from an environment such as Microsoft Visual C++) and you missed the ; at the end of the last statement. You will get a message similar to this:
helloworld.cpp: In function 'int main()': helloworld.cpp:4: error: expected ';' before '}' token
- http://www.mingw.org/wiki/MinGW_for_First_Time_Users_HOWTO
No comments:
Post a Comment