microsoft / microsoft/FFmpegInterop
Executables?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 319
- PR merge metrics
- No merged PRs in 30d
Description
I see that "--disable-programs" is among the configure parameters. When I try to enable it, I get
C:/ffmpeg/cmdutils.c(124): error C4013: 'SetDllDirectory' undefined; assuming extern returning int
C:/ffmpeg/cmdutils.c(209): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(568): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(571): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(575): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(583): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(610): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(1002): warning C4456: declaration of 'ret' hides previous local declaration
C:/ffmpeg/cmdutils.c(952): note: see declaration of 'ret'
C:/ffmpeg/cmdutils.c(1477): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(1545): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(1584): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(1962): error C4013: 'GetModuleHandleA' undefined; assuming extern returning int
C:/ffmpeg/cmdutils.c(1962): warning C4047: 'function': 'HMODULE' differs in levels of indirection from 'int'
C:/ffmpeg/cmdutils.c(1962): warning C4024: 'GetModuleFileNameA': different types for formal and actual parameter 1
C:/ffmpeg/cmdutils.c(2042): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(2045): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(2049): warning C4090: 'function': different 'const' qualifiers
C:/ffmpeg/cmdutils.c(2060): warning C4459: declaration of 'codec_opts' hides global declaration
C:/ffmpeg/cmdutils.c(72): note: see declaration of 'codec_opts'
make: *** [/c/ffmpeg/common.mak:60: cmdutils.o] Error 2
I saw that on https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-prepare that SetDllDirectory is not available on UWP, don't know if that is related?
Is there a way to create the ffmpeg executables on windows? I was trying to compile for Win10 ARM.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the configure --disable-programs path and the errors in cmdutils.c, using common.mak as the reported build entry point. Check whether the Windows APIs named in the compiler output are available for the Win10 ARM target; done means the FFmpeg executables build successfully on Windows ARM without these errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100