mirror of
https://github.com/zakk4223/CocoaSplit.git
synced 2026-05-15 22:00:34 -06:00
[GH-ISSUE #19] ffmpeg / libav libraries #18
Labels
No labels
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/CocoaSplit#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @McZonk on GitHub (Mar 19, 2014).
Original GitHub issue: https://github.com/zakk4223/CocoaSplit/issues/19
What library in which version do I need to compile the source?
@Yukon commented on GitHub (Apr 22, 2014):
I too would like to know too as I have been having issues compiling. When running
brew install ffmepgand building I get a lot of undefined symbols like"_faacEncClose". When uninstalling ffmepg and installing libav instead I am missinglibavformat/avformat.h. So I am a little lost about how to compile.@DrabWeb commented on GitHub (Apr 22, 2014):
I tried running with the latest FFMPEG and get like 20 "apple mach-o linker error"s. Help?
@McZonk commented on GitHub (Apr 22, 2014):
I got it running. I have installed ffmpeg myself and faac, xvidcore and iconv via brew. It should be to install ffmpeg via brew too.
I have added a setup that works for me: https://github.com/McZonk/CocoaSplit/tree/mybuildconfig
@YukonAppleGeek The _faacEncClose are obviously the missing faac library.
@Yukon commented on GitHub (Apr 23, 2014):
@McZonk There is nothing different with the branch. Could you write a simple guide or even step by step on getting the dependancies? It may seem stupid but I still have not gotten a working build of ffmpeg after trying so many different things. It may just an issue on my side but I do not know.
@McZonk commented on GitHub (Apr 23, 2014):
@YukonAppleGeek It is a little bit tricky to write down a manual, because the setup depends on your installed libraries. Check your Xcode if any libraries are not found (red) and just install and add them. Also please note I'm not maintaining this project, I just did a few improvements.
@DrabWeb commented on GitHub (Apr 23, 2014):
Is zakk4223 even still around and could help us?
@Yukon commented on GitHub (Apr 24, 2014):
I have figured it out finally. To fix compiling you need to edit the other linker flags on both
CocoaSplitandCocoaSplitCmdtargets and add/usr/local/lib/libfaac.a /usr/local/lib/libxvidcore.a /usr/lib/libiconv.dylib. To get the libraries if you do not already have them runbrew install ffmpegand that will install ffmpeg and its dependences. After you have made those changes it should compile.@McZonk commented on GitHub (Apr 24, 2014):
@YukonAppleGeek It is a typical problem. Your fix works for you, but it wouldn't work for me since you are referencing external libraries …
@Yukon commented on GitHub (Apr 24, 2014):
It should work if you use brew to install the dependences which is the most simple and easy way to do it.
@zakk4223 commented on GitHub (Apr 24, 2014):
The actual problem here is I use a fairly minimal ffmpeg build, so I don't even build libfaac or libxvidcore. So it's mostly just an ffmpeg option thing. I believe all I use is --enable-gpl --enable-libx264 --enable-static
@DrabWeb commented on GitHub (Apr 24, 2014):
Sorry if this is a bad question, but how do I set the settings for FFMPEG that zakk has?
@Yukon commented on GitHub (Apr 25, 2014):
@DrabWeb Here is a guide https://trac.ffmpeg.org/wiki/MacOSXCompilationGuide.I am also having issues now with #10 when using my compiled version.
@Sega-Zero commented on GitHub (Jul 26, 2014):
i solved those issues by uninstalling ffmpeg, faac, upgrading brew and then reinstalling both ffmpeg and faac:
brew rm ffmpeg && brew rm faac && brew update
brew install faac
brew install ffmpeg --without-lame --without-faac --without-xvid --without-opus
in order to fix this error message:
Undefined symbols for architecture x86_64:
"_swr_alloc", referenced from:
_opus_decode_init in libavcodec.a(opusdec.o)
i've added "/usr/local/lib/libswresample.a" to other linking flags.
so now it compiles for me
@cool8jay commented on GitHub (May 11, 2016):
@Sega-Zero showed me a screenshot of Xcode.