Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
16th October 2015, 21:58 | #23 | Link |
Registered User
Join Date: Aug 2008
Location: Minsk, Belarus
Posts: 235
|
For latest git FFMS2 and non-POSIX gcc threaing model need this patch
and `#if defined(_MSC_VER)` also need in ffms.h |
20th October 2015, 18:52 | #25 | Link |
Registered User
Join Date: Aug 2008
Location: Minsk, Belarus
Posts: 235
|
In this case, ffms2 use threading for read number of CPU/working-threads... But when gcc compile without POSIX threading model on windows, this dont work. (You may make you app with POSIX thread, but gcc itself, and std::thread in c++11, dont)
As i understand guys use this for "unification" for C++11... But use this only for read number of CPU and break compatibilities with some compilers... This is a small/big question... Last edited by komisar; 21st October 2015 at 14:05. |
21st October 2015, 12:25 | #28 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,316
|
I'll check again...
Ok, my mistake. I was mislead by tortoisegit which didn't display the red "!" on the make files after applying the patch. Strange... Last edited by jpsdr; 21st October 2015 at 12:31. |
30th May 2016, 09:38 | #31 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,316
|
Update the install link of msys2. I ask again moderators if this can be sticked, because i think it's interesting enough to be. If not, at least can you tell me why, or what is missing or need to be done to be sticked ?
Thanks. |
9th August 2016, 11:33 | #32 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
Can you explain how to invoke sh from windows shell? I tried passing it to sh.exe but got some shit.
Mingw tutorials just say "run configure as usual"..
__________________
VirtualDub2 |
10th August 2016, 09:59 | #34 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
This works for me now (I had a stupid mistake in path command)
IMO much better than having to type commands in msys shell Code:
@set msys=E:\work\ffmpeg_build\msys64 @set bin=%msys%\mingw32\bin @path %path%;%bin%;%msys%\usr\bin @set dir=%CD% @cd E:\work\ffmpeg_build\build\x264-git\build-32bit @sh ../configure --host=i686-w64-mingw32 --prefix=/local32 --enable-static --disable-cli @make >%dir%\buildlib.log @cd %dir%
__________________
VirtualDub2 |
10th August 2016, 15:15 | #35 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,316
|
Still not working for me with gcc 6.1.0, but only on 64 bit builds, works fine on 32 bit builds.
I must say i had no idea what magical compile command option to add. In the other thread i've put the config log result, if any expert can take a look and tell me why what was working for gcc 5.3.0 is not working anymore for gcc 6.1.0. Last edited by jpsdr; 10th August 2016 at 15:18. |
4th March 2023, 16:40 | #36 | Link |
Registered User
Join Date: Jan 2020
Posts: 34
|
hello @jpsdr I have an error using your script for ffm2:
$ ./Build_ffms2_x264.sh 64 posix jpsdr ./Build_ffms2_x264.sh: line 29: ../configure: No such file or directory make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop. make: *** No rule to make target 'clean'. Stop. I can't find the error. thank |
6th March 2023, 18:32 | #37 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,316
|
OOOOOhhhh... A looot of things in this thread are obsolete.
I didn't maintain as was never able to make the admin stick it, and never had a reply of what is the process for asking to stick. As admin didn't care and were not interested in this, so do i. Anyway, your issue is that there is no configure script anymore in ffms2. So copy autogen.sh, rename it autogen2.sh for exemple, delete the last line with configure and run the new version. It will create the configure file, and things will work again.
__________________
My github. |
5th March 2024, 22:39 | #39 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Yes thanx jpsdr, will be handy when I ever eventually try to compile a version of x264.
Methinks any guide to compiling a major open-source video related tool should be stickied, if only so people can find it.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
6th March 2024, 19:47 | #40 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,316
|
As i've said, a loooooooooooooot of things have changed, and probably at least 50% should be re-written.
More... Now ffms2 changed the api, needing at least ffmpeg5, but to be able to use some patches wich are ooold, you can't go over ffmpeg4. So, i had to create a specific branch of ffms2 just before the changes needing ffmpeg5 were commited. Meaning ffms2 is not frozen (at least in my releases). The best for these patches would be to still being able to use ffmpeg2, but x264 needs at least ffmpeg3 i think.
__________________
My github. |
Thread Tools | Search this Thread |
Display Modes | |
|
|