![]() The only reference to sem_timedwait() in libav (for said version) is in jack.c. (remove _keith to get the original names). Sem_timedwait_keith, timeoutThreadMain_keith, triggerSignal_keith, ignoreSignal_keith, timeoutThreadCleanup_keith Here are the new, renamed symbols from Keith Shortridge's implementation of sem_timedwait(): Also check if any other symbols are exported from sem_timedwait.o and rename them also. WARNING: I can not say or guarantee whether the said implementation of sem_timedwait() is the correct one and/or will have no side-effects to the working of libav or indeed any other part of the system which links to libav libraries which have now a sem_timedwait() implementation in there!!!! For the latter may I suggest renaming sem_timedwait() everywhere in your copy of libav and Keith's implementation. configure -extra-cflags=-I/opt/local/include -extra-ldflags=-L/opt/local/lib -enable-gpl -enable-libx264 -enable-libxvid -enable-version3 -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-nonfree -enable-libfaac -enable-libmp3lame -enable-libspeex -enable-libvorbis -enable-libtheora -enable-libvpx -enable-libopenjpeg -enable-libfreetype -enable-doc -enable-gnutls -prefix=/opt/local This post mentions that Keith Shortridge of the Australian Astronomical Observatory's software group (thanks) have written an implementation of said function for macos which can be found here ĭownload the two files into $/libavdevice and add sem_timedwait.o at the end of the OBJS variableįor the record, I used the following configure command: The main problem I faced was that libav uses sem_timedwait() (semaphore.h in linux) which is not defined in macos. You should get sth like: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVXįor those without brew - and until macports come up with a port for libav, here are my notes for installing libav on OSX 10.8.5 from source (libav version 12_dev0, from github). Sudo port upgrade -enforce-variants x264 +asm
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |