You are not logged in.
Hello,
I have an application (KeyFinder) that requires libav...
when I install libav I have to un-install ffmpeg..which breaks several other applications...VLC, MPD, etc..
Is there any way to just install libav for KeyFinder so it wont break the other applications?
Any help is very appreciated!
-Thanks
Offline
By the looks of it, libav provides the ffmpeg package, so try installing libav first.
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
I have had libav installed and when I try to install ffmpeg it has to be removed..which after a reboot breaks VLC and MPD and a few other apps that depend on ffmpeg.
Either way I go, libav first or ffmpeg first, things are broken..
I am wondering if there is a way to install libav separately just for the KeyFinder application..which will leave ffmpeg alone and keep my other apps from breaking.
Offline
You could install it to a separate directory, then start the program in question with LD_LIBRARY_PATH=<path>
Edit: That's assuming it's just using the libraries. If it's using the executables in /usr/bin, this won't work.
Last edited by Scimmia (2014-04-08 17:13:13)
Offline
Have you simply tried building it with ffmpeg?
Offline
I have tried building it with ffmpeg yes, here is the result
==> Starting build()...
/usr/lib/qt/bin/uic forms/aboutdialog.ui -o ui/ui_aboutdialog.h
/usr/lib/qt/bin/uic forms/batchwindow.ui -o ui/ui_batchwindow.h
/usr/lib/qt/bin/uic forms/detailwindow.ui -o ui/ui_detailwindow.h
/usr/lib/qt/bin/uic forms/prefsdialog.ui -o ui/ui_prefsdialog.h
g++ -c -pipe -D__STDC_CONSTANT_MACROS -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/qt -I/usr/include/qt/QtXmlPatterns -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtXml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtConcurrent -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -Iui -o asynckeyprocess.o source/asynckeyprocess.cpp
In file included from source/asynckeyprocess.h:36:0,
from source/asynckeyprocess.cpp:22:
source/decoderlibav.h:70:3: error: ‘ReSampleContext’ does not name a type
ReSampleContext* rsCtx;
^
Makefile:2275: recipe for target 'asynckeyprocess.o' failed
make: *** [asynckeyprocess.o] Error 1Offline
I have tried building it with ffmpeg yes, here is the result
... snip ...
I found your earlier AUR post by searching for your error. Bummer! What Scimmia posted may be your only solution other than rebuilding everything else that requires ffmpeg against libav.
Offline
OKay! Thanks for your help!
How do I install libav to a specific directory?
I am a big yaourt user, so if you can instruct me how to do it using yaourt that would be awesome! but if not I will build it manually and install to a specific directory.
thank you everyone for your time and assistance!!
Offline
I can compile "keyfinder-git" with ffmpeg 1:2.2-2 and a very small sed-patch in the PKGBUILD:
build() {
cd $_gitname
qmake-qt5
sed -i "s/^DEFINES *=/& -DAVCODEC_MAX_AUDIO_FRAME_SIZE=192000 /" Makefile
make
}Edit: For a good fix you should move to the new API with e.g. av_frame_alloc and remove calls to deprecated API functions.
Last edited by progandy (2014-04-08 19:13:04)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
awesome progandy! so i add that in ffmpeg's or keyfinders PKGBUILD?
and to your edit, what exactly does that imply i do, or where really might be a better question.
You'll have to excuse me, I am still somewhat of a novice when it come to some of this stuff:P
Offline
awesome progandy! so i add that in ffmpeg's or keyfinders PKGBUILD?
You modify the keyfinder PKGBUILD.
and to your edit, what exactly does that imply i do, or where really might be a better question.
That implies changing the keyfinder sourcecode and use newer libav/ffmpeg functions which are meant to replace the deprecated stuff. Since this is a larger task, I do not think it is something you can do. (If you don't want to learn writing code).
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
That sed-patch did not work for me actually. Still get the same error.
Offline