Package Details: mingw-w64-ffmpeg 1:5.0-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-ffmpeg.git (read-only, click to copy)
Package Base: mingw-w64-ffmpeg
Description: Complete solution to record, convert and stream audio and video (mingw-w64)
Upstream URL: https://ffmpeg.org/
Licenses: GPL3
Submitter: kfg
Maintainer: kfg
Last Packager: kfg
Votes: 7
Popularity: 0.000000
First Submitted: 2013-06-19 17:10 (UTC)
Last Updated: 2022-03-14 14:08 (UTC)

Latest Comments

Martchus commented on 2021-05-17 13:14 (UTC)

Thanks for adding the missing package and keeping this on-par with the regular ffmpeg package!

Martchus commented on 2021-05-12 10:49 (UTC)

It looks like you've forgot to upload the package mingw-w64-amf-headers (after adding a dependency to it here).

ssorgatem commented on 2020-11-20 10:35 (UTC)

Fails to build.

Seems to be the same issue as here, which is fixed upstream: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972556

torbido commented on 2018-12-13 01:13 (UTC)

What a mess?!!!!!

kfg commented on 2017-04-14 08:07 (UTC)

@Martchus Thanks for pointing out the change in the Wiki. I also think that it's a good idea.

adomol commented on 2017-04-13 23:13 (UTC)

Thanks very much for the quick reply. The clarification is greatly appreciated. Also, your alternate pkgbuild is exactly what I was trying to do myself (with libfdk included). I will study both of these ffmpeg pkgbuild files for sure. Thanks again!

Martchus commented on 2017-04-13 22:49 (UTC) (edited on 2017-04-13 23:08 (UTC) by Martchus)

Just have a look at the PKGBUILD file itself to see that the executables are not part of the package (configure option --disable-programs). Note that the Wiki about mingw-w64 packages says that executables should be removed. However, I also find it useful to have them. Hence I'm using a custom version with executables: https://github.com/Martchus/PKGBUILDs/blob/master/ffmpeg/mingw-w64/PKGBUILD EDIT: I've just looked into the Wiki again and noticed that Schala removed the point about removing executables: https://wiki.archlinux.org/index.php?title=MinGW_package_guidelines&diff=prev&oldid=460210 A good idea in my opinion.

adomol commented on 2017-04-13 22:40 (UTC)

I posted this on the forum, but haven't found any help so far. So I'll post this here as well... I have built ffmpeg and all it's dependencies for windows from the PKGBUILDs in the AUR. The problem is that when I check under /usr/x86_64-w64-mingw32/bin/ I do not end up with any of the usual FFMPEG related binary executables such as ffmpeg.exe, ffplay.exe, or ffprobe.exe. I have many of the .exe files from various dependencies in there, and also the .dll files related to ffmpeg... avcodec, avformat, avresample and such. Am I looking in the wrong place or for the wrong binaries? This is my first attempt at cross-compiling for windows, any help would be greatly appreciated. Thanks!

Martchus commented on 2017-03-10 16:56 (UTC)

For this purpose I added mingw-w64-x264-bootstrap and mingw-w64-freetype2-bootstrap. Just build them before.

mohsen commented on 2017-03-10 16:14 (UTC)

Hi, I try to install this package with pacaur and yaourt both report recursive dependency. $ pacaur -S mingw-w64-ffmpeg :: Package mingw-w64-ffmpeg not found in repositories, trying AUR... :: resolving dependencies... tsort: -: input contains a loop: tsort: mingw-w64-cairo tsort: mingw-w64-librsvg tsort: mingw-w64-pango tsort: mingw-w64-harfbuzz tsort: -: input contains a loop: tsort: mingw-w64-cairo tsort: mingw-w64-librsvg tsort: mingw-w64-pango tsort: -: input contains a loop: tsort: mingw-w64-cairo tsort: mingw-w64-poppler tsort: -: input contains a loop: tsort: mingw-w64-freetype2 tsort: mingw-w64-harfbuzz tsort: -: input contains a loop: tsort: mingw-w64-freetype2 tsort: mingw-w64-harfbuzz tsort: -: input contains a loop: tsort: mingw-w64-x264 tsort: mingw-w64-ffmpeg tsort: -: input contains a loop: tsort: mingw-w64-x264 tsort: mingw-w64-ffmpeg :: dependency cycle detected How to solve this problem ?

Martchus commented on 2016-05-18 21:51 (UTC) (edited on 2016-05-18 21:52 (UTC) by Martchus)

Added a bootstrap version of mingw-w64-x264 (which should be the package causing the circular dependency): https://aur.archlinux.org/packages/mingw-w64-x264-bootstrap/ I'm not using yaourt, so I don't know whether it is able to use that bootstrap package automatically or you have to build it explicitly first. You could also use my binary repo: https://martchus.no-ip.biz/repo/arch/ownstuff/ (Note that my packages also include x264.exe)

ElAngelo commented on 2016-05-18 15:52 (UTC)

if i try to install this with yaourt this leads to a circular dependency...

Martchus commented on 2016-03-16 17:02 (UTC)

I noticed that the static versions of the dependencies mingw-w64-{dcadec,libsoxr,vid.stab,xvidcore} are missing (or can not be found when linking in case of xvidcore). The static libs are actually quite easy to build, you can find the modified PKGBUILDs here: https://github.com/Martchus/PKGBUILDs I tried static linking only because I was investigating the ANGLE related issue discussed here: https://aur.archlinux.org/packages/mingw-w64-angleproject/ Despite the changes in the PKGBUILDs I'm unable to build mpv statically.(Dynamic linking works.) Here is the error log: https://gist.github.com/Martchus/bd6cc7ba8df26f9eac7b

Martchus commented on 2016-01-02 20:08 (UTC)

kfg: Thanks for taking the time to figure it out and adding the patch I proposed for mingw-w64-libssh. Apart from missing make dep in mingw-w64-vid.stab the packages build now.

kfg commented on 2015-12-26 14:43 (UTC)

@Martchus Found the Problem. The libssh pkg-config files contain Libs: -L -lssh instead of Libs: -L/usr/i686-w64-mingw32/lib -lssh and Libs: -L/usr/x86_64-w64-mingw32/lib -lssh Will fix it ASAP

Martchus commented on 2015-12-26 00:47 (UTC)

Getting a lot of linker errors: ... libavformat/libssh.o:libssh.c:(.text.unlikely+0x4e9): undefined reference to `sftp_open' libavformat/libssh.o:libssh.c:(.text.unlikely+0x500): undefined reference to `ssh_get_error' libavformat/libssh.o:libssh.c:(.text.unlikely+0x534): undefined reference to `sftp_fstat' libavformat/libssh.o:libssh.c:(.text.unlikely+0x576): undefined reference to `sftp_attributes_free' I'm using your mingw-w64-libssh package from AUR with an additional patch which seems to be build correctly. (See comment on mingw-w64-libssh)

ant32 commented on 2015-02-18 21:47 (UTC)

Sorry the build failure was caused by me by removing a patch from libopenjpeg

ant32 commented on 2015-02-14 17:56 (UTC)

==> Starting build()... ERROR: libopenjpeg not found

ant32 commented on 2014-03-28 16:42 (UTC)

==> New package : extra/x265 0.8-2 (required by ffmpeg)

ant32 commented on 2013-12-23 03:59 (UTC)

==> Starting build()... ERROR: freetype2 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 ffmpeg-user@ffmpeg.org 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.

kfg commented on 2013-11-15 22:44 (UTC)

i don't know what you mean by that: - there should be any .lib files in <arch>/bin, are they dlls ? the .lib files are in <arch>/lib and they are static libraries

xantares commented on 2013-11-15 10:23 (UTC)

- mingw-w64-pkg-config should only be listed as makedepends - there should be any .lib files in <arch>/bin, are they dlls ? - please add quotes around ${pkgdir} and ${srcdir}

ant32 commented on 2013-09-12 20:32 (UTC)

I haven't been able to compile this the last few weeks. This describes my issue http://sourceforge.net/mailarchive/message.php?msg_id=31365439. A workaround for now might be to use mingw-w64-{crt,headers}-secure.

Schala commented on 2013-07-31 00:02 (UTC)

There seems to be static libraries put in the bin directory. They should be in lib

kfg commented on 2013-07-07 07:49 (UTC)

Updated. Thanks for figuring this out. Btw you probably also need to reinstall mingw-w64-libvpx. The old version produced broken dlls.

ant32 commented on 2013-07-06 19:26 (UTC)

Installing mingw-w64-pkg-config fixed the problem. Could you please add it to the depends? Here is the log from before installing mingw-w64-pkg-config https://dl.dropboxusercontent.com/u/33784287/aur/mingw-w64-ffmpeg_config.log

kfg commented on 2013-07-06 07:31 (UTC)

You should only need mingw-w64-fontconfig. Please post the config.log from src/build-i686-w64-mingw32 and/or src/build-x86_64-w64-mingw32. Also I forgot to add mingw-w64-zlib to the dependencies.

ant32 commented on 2013-07-06 02:52 (UTC)

I'm getting this error. I already tried installing the native fontconfig packages. ==> Extracting sources... -> Extracting ffmpeg-1.2.1.tar.bz2 with bsdtar ==> Starting build()... ERROR: fontconfig not found