I give up!

Any other question that don't fit into the other support categorizes.
Spanielk
Posts: 6
Joined: Tue Apr 09, 2013 1:32 pm
Location: Queensland, Australia

Re: I give up!

Post by Spanielk » Thu Apr 11, 2013 12:09 am

That's exactly where its crashing, rebuilding now.
Thanks for the post!

Spanielk
Posts: 6
Joined: Tue Apr 09, 2013 1:32 pm
Location: Queensland, Australia

Re: I give up!

Post by Spanielk » Thu Apr 11, 2013 12:52 am

It worked!! I have a real live build.
Thank you thank you, thank you!

Daniel

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: I give up!

Post by svnpenn » Tue Apr 23, 2013 5:26 am

Ajaja wrote: But now I do not use Linux for building ffmpeg at all. Only MSYS.
I am curious have you ever timed this? I have build FFmpeg on Linux, never tried on Windows because I figured "configure; make" would take 10x longer.

Ajaja
Posts: 69
Joined: Fri Mar 08, 2013 2:00 pm

Re: I give up!

Post by Ajaja » Thu Apr 25, 2013 11:20 am

svnpenn wrote:I am curious have you ever timed this? I have build FFmpeg on Linux, never tried on Windows because I figured "configure; make" would take 10x longer.
I build ffmpeg on virtual disk in memory (using ImDisk). Works fast.

Khaos64
Posts: 9
Joined: Thu Jun 13, 2013 3:19 pm

Re: I give up!

Post by Khaos64 » Thu Jun 13, 2013 3:33 pm

Ajaja wrote:IMHO, simplest way to compile ffmpeg+libfdk_aac for win users is to use already compilied MSYS+Mingw for windows ( I recommend http://sourceforge.net/projects/mingwbuilds/ )
1. Download http://sourceforge.net/projects/mingwbu ... z/download
and unpack into D:\msys , for example.
2. Download GCC (choose one: 4.8.0 or 4.7.2, x32 or x64, threads-posix, seh/sjlj). I use http://sourceforge.net/projects/mingwbu ... z/download
Unpack it into D:\mingw64, for example.
3. Copy D:\msys\etc\fstab.sample to D:\msys\etc\fstab and edit mingw path c:/mingw to yours (d:/mingw64).
4. Run D:\msys\msys.bat - and get all you need to compile libfdk_aac and ffmpeg
Compiling libfdk_aac :

Code: Select all

cd fdk-aac-master
autoreconf -fiv 
./configure --disable-shared --enable-static --prefix=/mingw/x86_64-w64-mingw32 --host=x86_64-w64-mingw32
make install
For x32: --prefix=/mingw/i686-w64-mingw32 --host=i686-w64-mingw32
In the same way you can build all other libraries (libx264/libmp3lame/... ). Details look in https://github.com/rdp/ffmpeg-windows-build-helpers script. Commands for building libraries are same.
Compiling ffmpeg:

Code: Select all

cd ffmpeg
./configure --disable-shared --enable-static --enable-nonfree --enable-libfdk-aac --prefix=/mingw/x86_64-w64-mingw32 ...other config parameters
make

Hey, after "autoreconf -fiv" it gets stuck at "autoreconf: running: libtoolize --copy --force"

I let it run overnight so I'm fairly sure its getting stuck, I even ran it normally on my hdd and also inside an ImDisk(though it was the first time using, after I saw your post so not sure if I set the up correctly)

Any help would be appreciated

Thanks

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: I give up!

Post by svnpenn » Fri Jun 14, 2013 3:59 am

Khaos64 wrote: Hey, after "autoreconf -fiv" it gets stuck at "autoreconf: running: libtoolize
--copy --force"
If it helps, I have found that you can run just "autoreconf -iv", as can be seen

github.com/svnpenn/a/blob/22e11e2/install-ffmpeg.sh#L14

Code: Select all

$ time autoreconf -iv
[...]
autoreconf-2.69: configure.ac: tracing
autoreconf-2.69: running: libtoolize --copy
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
[...]
real 0m17.110s
user 0m8.668s
sys 0m5.183s

Khaos64
Posts: 9
Joined: Thu Jun 13, 2013 3:19 pm

Re: I give up!

Post by Khaos64 » Fri Jun 14, 2013 5:47 am

svnpenn wrote:
Khaos64 wrote: Hey, after "autoreconf -fiv" it gets stuck at "autoreconf: running: libtoolize
--copy --force"
If it helps, I have found that you can run just "autoreconf -iv", as can be seen

github.com/svnpenn/a/blob/22e11e2/install-ffmpeg.sh#L14

Code: Select all

$ time autoreconf -iv
[...]
autoreconf-2.69: configure.ac: tracing
autoreconf-2.69: running: libtoolize --copy
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
[...]
real 0m17.110s
user 0m8.668s
sys 0m5.183s
Thanks - But tried it with every combination and even without any options but still failed. Ended up just running the cross compile script in linux that was posted earlier.

Ajaja
Posts: 69
Joined: Fri Mar 08, 2013 2:00 pm

Re: I give up!

Post by Ajaja » Fri Jun 14, 2013 12:11 pm

Khaos64 wrote:Hey, after "autoreconf -fiv" it gets stuck at "autoreconf: running: libtoolize --copy --force"
autoreconf in MSYS has some problems with \r\n line breaks in configure.ac, so you can try:

Code: Select all

cp configure.ac configure.ac.bak
tr -d '\r' <configure.ac.bak >configure.ac
before autoreconf -fiv

Khaos64
Posts: 9
Joined: Thu Jun 13, 2013 3:19 pm

Re: I give up!

Post by Khaos64 » Fri Jun 14, 2013 4:11 pm

Ajaja wrote:
Khaos64 wrote:Hey, after "autoreconf -fiv" it gets stuck at "autoreconf: running: libtoolize --copy --force"
autoreconf in MSYS has some problems with \r\n line breaks in configure.ac, so you can try:

Code: Select all

cp configure.ac configure.ac.bak
tr -d '\r' <configure.ac.bak >configure.ac
before autoreconf -fiv

Thanks also for the reply - I would like to get this to work on windows instead of having to switch to my linux machine if I want to rebuild.

I haven't tried the above - but my problem may be because I missed the first link you posted Ajaja to "mingw-builds-install.exe" :oops: . But whenever I try and run it, it comes back almost immediately with an error of "Cannot download repository.txt"

Ajaja
Posts: 69
Joined: Fri Mar 08, 2013 2:00 pm

Re: I give up!

Post by Ajaja » Fri Jun 14, 2013 5:06 pm

Khaos64 wrote:I haven't tried the above - but my problem may be because I missed the first link you posted Ajaja to "mingw-builds-install.exe" :oops: . But whenever I try and run it, it comes back almost immediately with an error of "Cannot download repository.txt"
I don't use automated install too (it's new feature of mingw-builds). Only x64-4.8.1-release-posix-seh-rev1.7z and msys+7za+wget+svn+git+mercurial+cvs-rev13.7z

And I know only one problem with "autoreconf -fiv" in Windows/MSYS. Windows git-clients replace in downloaded files "\n" (unix-style line breaks) to "\r\n" (windows-style), but "autoreconf -fiv" works fine only with "\n" line feeds in configure.ac. So, you can download normal (with "\n") source files from fdkaac Download this repository as a zip file for example, or, if you want to use git-client in windows, then you must delete "\r" from downloaded configure.ac.

Post Reply
'