appliction add ffmpeglib?
-
How to add reference in application ffmpeglib?
怎么在应用里添加ffmpeg库? -
@wangqinfeng
You want to build an app using ffmpeglib, is that right ?
If so, are you using clickable ?With clickable, you can provide the
dependencies-targetto use an external lib :
http://clickable.bhdouglass.com/en/latest/clickable-json.html#dependencies-target -


Did I get it wrong?
是不是我哪里理解错了? -
@AppLee Hello! I have an application based on FFMPEG. I want to compile it to uborts and rely on ffmpeg lib. I can't root to install ffmpeg lib
-
@wangqinfeng
You cannot add the lib to the system, it's locked for safety reasons.
(Well you can but shouldn't)You need to embed the dependencies you're using within your click package.
If you're using clickable, it takes care of it for you using the params I gave you in the clickable.jsonHow do you build your click ?
-
build ffmpeg_lib
bash>:docker run -v home/xxxx/netplay:/home/xxxx/netplay -w home/xxxx/netplay/libs/ffmpeg_source -u 1000 -e HOME=/tmp -i -t clickable/ubuntu-sdk:16.04-armhf
bash:>
./configure --target-os=linux --arch=arm64 --disable-asm --disable-x86asm --enable-cross-compile --cc=/usr/bin/arm-linux-gnueabihf-gcc --prefix=/home/xxxx/netplay/libs/ffmpeg_source/build --disable-ffmpeg --disable-ffplay --disable-ffprobebash:>make -j 8
vim CMakLIst.txt:

bash:> clickable clean build click-build launch logs
-
Finally, it can be used! build ffmpeg_lib to ubports!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login