Comments (12)
congrats on getting it going, you're quite probably the first person to ever use it besides myself :)
Anyway, could you try it with the latest git HEAD, and paste me your full output? gist would work... It does work for me 32 bit ubuntu VM with 32 bit compiler, I will attempt it with other combinations...
from ffmpeg-windows-build-helpers.
deleted all files, downloaded script again and now it doesn't even builg mingw,...
Would you like to include non-free (non GPL compatible) libraries, like many aac encoders
The resultant binary will not be distributable, but might be useful for in-house use. Include non-free [y/n]?n
Would you like to compile with -march=native, which can get a few percent speedup
but also makes it so you cannot distribute the binary to machines of other architecture/cpu
(also note that you should only enable this if compiling on a VM on the same box you intend to target, otherwise
it makes no sense) Use march=native? THIS IS JUST EXPERIMENTAL AND DOES NOT WORK FULLY YET--choose n typically. [y/n]?n
First we will download and compile a gcc cross-compiler (MinGW-w64).
You will be prompted with a few questions as it installs (it takes quite awhile).
Enter to continue:
wget: option requires an argument -- 'O'
Usage: wget [OPTION]... [URL]...
Try wget --help' for more options. ./cross_compile_ffmpeg.sh: line 74: mingw-w64-build-3.0.6: command not found chmod: cannot access
mingw-w64-build-3.0.6': No such file or directory
./cross_compile_ffmpeg.sh: line 76: ./mingw-w64-build-3.0.6: No such file or directory
from ffmpeg-windows-build-helpers.
oops that's embarrassing. Hopefully fixed now...I've been having some trouble building the 64 bit compiler for some reason, will look a bit more into it tomorrow...
from ffmpeg-windows-build-helpers.
ok as of 4ca5ab8 I did a test with a 64 bit Ubuntu VM and it compiled successfully. Let me know if you are still getting failures...
from ffmpeg-windows-build-helpers.
downloaded the latest version, nor the 'utvideo not found' problem is back,...
Cloning into 'ffmpeg_git.tmp'...
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-1jUDy3/pkcs11: No such file or directory
remote: Counting objects: 249710, done.
remote: Compressing objects: 100% (52501/52501), done.
remote: Total 249710 (delta 197481), reused 249001 (delta 196809)
Receiving objects: 100% (249710/249710), 67.31 MiB | 1.07 MiB/s, done.
Resolving deltas: 100% (197481/197481), done.
done downloading ffmpeg_git
configuring ffmpeg_git as $ PATH=/home/selur/ffmpeg/sandbox/mingw-w64-i686/bin:/usr/lib/libfm:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games ./configure --enable-memalign-hack --arch=x86 --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --target-os=mingw32 --cross-prefix=/home/selur/ffmpeg/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --enable-libmp3lame --enable-version3 --enable-libvo-aacenc --enable-libvpx --extra-libs=-lws2_32 --extra-libs=-lpthread --enable-zlib --extra-libs=-lwinmm --extra-libs=-lgdi32 --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --disable-optimizations --enable-mmx --disable-postproc --enable-fontconfig --enable-libass --enable-libutvideo --enable-libopus --enable-runtime-cpudetect
Makefile:2: config.mak: No such file or directory
Makefile:48: /common.mak: No such file or directory
Makefile:91: /libavutil/Makefile: No such file or directory
Makefile:91: /library.mak: No such file or directory
Makefile:178: /doc/Makefile: No such file or directory
Makefile:179: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
ERROR: utvideo not found
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
from ffmpeg-windows-build-helpers.
Odd, I was able to get it to compile successfully yesterday on a 64 bit Ubuntu VM. Does the file "libutvideo.a" exist, like sandbox/mingw-w64-i686/i686-w64-mingw32/lib/libutvideo.a? If you remove it, and remove your sandbox/win32/utvideo-11.1.0 directory and rebuild ffmpeg is the problem still present? If so could you post me your ffmpeg config.log file? Thanks! (I may be able to provide a binary that has it all built locally for you if desired...but it would be interesting to see what's the problem first :)
from ffmpeg-windows-build-helpers.
" Does the file "libutvideo.a" exist"
yes
"If you remove it, and remove your sandbox/win32/utvideo-11.1.0 directory and rebuild ffmpeg is the problem still present?"
-> I deleted the whole sandbox and build everything anew and got the problem
"If so could you post me your ffmpeg config.log file?"
-> https://gist.github.com/3745066
from ffmpeg-windows-build-helpers.
Hmm, the relevant part is
error: 'INT_PTR' does not name a type
which I used to get but thought I had fixed:
https://gist.github.com/3660825
Could you remove your sandbox/win32/utvideo-11.1.0 and run it again and post me your full output when your run it? If you wanted to do something more, you could try running the "patch" command described in the build_utvideo method from within that subdir and tell me what the output there is.
Thanks!
from ffmpeg-windows-build-helpers.
also are you running it from a directory with spaces in it?
from ffmpeg-windows-build-helpers.
nope, I run it in: /home/selur/ffmpeg
https://gist.github.com/3745659 contains the output after 1st deleting sandbox/win32/utvideo-11.1.0 and than calling the script again
"If you wanted to do something more, you could try running the "patch" command described in the build_utvideo method from within that subdir and tell me what the output there is."
AAAAAHHH I think I found the problem,.. I followed the README.md instructions:
first download it (git clone the repo, run it, or do the following in a bash script) $
wget https://raw.github.com/rdp/ffmpeg-windows-build-helpers/master/cross_compile_ffmpeg.sh -O cross_compile_ffmpeg.sh
chmod u+x cross_compile_ffmpeg.sh
./cross_compile_ffmpeg.sh
and so I never ran git clone and got no diff file ;) (I assumed the script would take care of it ;)
-> will rerun the whole thing and report if I run into other problems :)
from ffmpeg-windows-build-helpers.
-> cloning the git and not using wget solved the problem
I successfully build 64bit and 32bit ffmpeg builds!!
Thanks for the help and this nice script!
from ffmpeg-windows-build-helpers.
Ok I've attempted to make it actually work just the script. Sorry about
that and thanks for finding the fix :)
-r
On Tue, Sep 18, 2012 at 3:27 PM, Selur [email protected] wrote:
-> cloning the git and not using wget solved the problem
I successfully build 64bit and 32bit ffmpeg builds!!Thanks for the help and this nice script!
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-8671283.
from ffmpeg-windows-build-helpers.
Related Issues (20)
- Multiple libraries (libbluray, fontconfig, freetype) can't be found in pkg-config HOT 24
- Using docker makes an error when building shared version HOT 2
- ffmpeg won't build using the --ffmpeg-git-checkout-version flag HOT 9
- JPEG-XL
- [Request] Add support for `libvmaf_cuda` filter HOT 3
- libaribcaption version not updating automatically HOT 5
- does not script have no install location parament? HOT 1
- Leptonica Failure to Build HOT 9
- REQ: Prebuilt Compiler Option HOT 4
- Build flite failed HOT 5
- VAMP missing - All builds broken
- Request: Add libsvt_vp9 (Code Provided) HOT 2
- FFMPEG compilation is never easy
- Replace libmfx with libvpl (libmfx has security issues)
- FFMPEG 5.1.4 build issues HOT 1
- Error pathspec origin/master HOT 3
- Issue with enabling --enable-libbluray option during FFmpeg build
- Can't build n7.0 HOT 2
- Issue with x265 3.6 x86 asm optimization HOT 3
- How do i get this particular ffmpeg build with a specific filter to be compiled using this script? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-windows-build-helpers.