astoeckel / acinerella Goto Github PK
View Code? Open in Web Editor NEWFFmpeg wrapper library for audio/video decoding
License: GNU Lesser General Public License v2.1
FFmpeg wrapper library for audio/video decoding
License: GNU Lesser General Public License v2.1
I am using Lazarus 1.6.4 on Ubuntu 17.04 32bit, i 've build libacinerella.so and copied to usr/lib/ folder, but always getting linkig error when i run the demo. Should I create link to library -lacinerella in /usr/bin/ folder? I am probably doing something wrong, but have no clue what.
Thanks in advance for your help
Errors:
3.021] Searching file /usr/bin/ld... found
[3.021] (9017) Using util /usr/bin/ld
**/usr/bin/ld.bfd: cannot find -lacinerella**
[3.021] Executing "/usr/bin/ld.bfd" with command line "-b elf32-i386 -m elf_i386 --dynamic-linker=/lib/ld-linux.so.2 --gc-sections -L. -o 'wav sound/bin/simple' 'wav sound/bin/link.res'"
[3.442] wav sound/demos/simple_lcl/simple_laz.lpr(24,1) Error: (9013) Error while linking
[3.442] wav sound/demos/simple_lcl/simple_laz.lpr(24,1) Fatal: (10026) There were 1 errors compiling module, stopping
[3.449] Fatal: (1018) Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode
Hi,
Do you have in plans extend library for streaming internet radio? IIRC ffmpeg can stream any web source.
Regards
Output of cmake(no problems here):
-- The C compiler identification is GNU 5.3.0
-- The CXX compiler identification is GNU 5.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'libavcodec'
-- Found libavcodec, version 57.24.102
-- Checking for module 'libavformat'
-- Found libavformat, version 57.25.100
-- Checking for module 'libavutil'
-- Found libavutil, version 55.17.103
-- Checking for module 'libswscale'
-- Found libswscale, version 4.0.100
-- Checking for module 'libswresample'
-- Found libswresample, version 2.0.101
-- Found FFMPEG or Libav: /usr/lib64/libavcodec.so;/usr/lib64/libavformat.so;/usr/lib64/libavutil.so;/usr/lib64/libswscale.so;/usr/lib64/libswresample.so, /usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/janus/acinerella/build
Output of make:
Scanning dependencies of target acinerella
[ 25%] Building C object src/CMakeFiles/acinerella.dir/acinerella.c.o
/home/janus/acinerella/src/acinerella.c: In Funktion »ac_free_package«:
/home/janus/acinerella/src/acinerella.c:604:3: Warnung: »av_free_packet« ist veraltet [-Wdeprecated-declarations]
av_free_packet(self->pPack);
^
In file included from /usr/include/libavformat/avformat.h:318:0,
from /home/janus/acinerella/src/acinerella.c:22:
/usr/include/libavcodec/avcodec.h:4040:6: Anmerkung: hier deklariert
void av_free_packet(AVPacket *pkt);
^
/home/janus/acinerella/src/acinerella.c: Auf höchster Ebene:
/home/janus/acinerella/src/acinerella.c:614:6: Warnung: ISO-C verbietet Vorwärts-Referenzen auf »enum«-Typen [-Wpedantic]
enum PixelFormat convert_pix_format(ac_output_format fmt)
^
/home/janus/acinerella/src/acinerella.c:614:18: Fehler: Rückgabetyp ist unvollständig
enum PixelFormat convert_pix_format(ac_output_format fmt)
^
/home/janus/acinerella/src/acinerella.c: In Funktion »convert_pix_format«:
/home/janus/acinerella/src/acinerella.c:618:11: Warnung: »return« mit Wert in void zurückgebender Funktion
return AV_PIX_FMT_RGB24;
^
/home/janus/acinerella/src/acinerella.c:620:11: Warnung: »return« mit Wert in void zurückgebender Funktion
return AV_PIX_FMT_BGR24;
^
/home/janus/acinerella/src/acinerella.c:622:11: Warnung: »return« mit Wert in void zurückgebender Funktion
return AV_PIX_FMT_RGB32;
^
/home/janus/acinerella/src/acinerella.c:624:11: Warnung: »return« mit Wert in void zurückgebender Funktion
return AV_PIX_FMT_BGR32;
^
/home/janus/acinerella/src/acinerella.c:626:9: Warnung: »return« mit Wert in void zurückgebender Funktion
return AV_PIX_FMT_RGB24;
^
/home/janus/acinerella/src/acinerella.c: In Funktion »ac_create_video_decoder«:
/home/janus/acinerella/src/acinerella.c:664:2: Warnung: »avpicture_get_size« ist veraltet [-Wdeprecated-declarations]
pDecoder->decoder.buffer_size = avpicture_get_size(
^
In file included from /usr/include/libavformat/avformat.h:318:0,
from /home/janus/acinerella/src/acinerella.c:22:
/usr/include/libavcodec/avcodec.h:4898:5: Anmerkung: hier deklariert
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^
/home/janus/acinerella/src/acinerella.c:666:6: Fehler: falsche Benutzung eines void-Ausdruckes
pDecoder->pCodecCtx->width, pDecoder->pCodecCtx->height);
^
/home/janus/acinerella/src/acinerella.c:671:2: Warnung: »avpicture_fill« ist veraltet [-Wdeprecated-declarations]
avpicture_fill((AVPicture *)(pDecoder->pFrameRGB),
^
In file included from /usr/include/libavformat/avformat.h:318:0,
from /home/janus/acinerella/src/acinerella.c:22:
/usr/include/libavcodec/avcodec.h:4883:5: Anmerkung: hier deklariert
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^
/home/janus/acinerella/src/acinerella.c:674:17: Fehler: falsche Benutzung eines void-Ausdruckes
pDecoder->pCodecCtx->width, pDecoder->pCodecCtx->height);
^
/home/janus/acinerella/src/acinerella.c: In Funktion »ac_decode_video_package«:
/home/janus/acinerella/src/acinerella.c:781:7: Fehler: falsche Benutzung eines void-Ausdruckes
SWS_BICUBIC, NULL, NULL, NULL);
^
src/CMakeFiles/acinerella.dir/build.make:62: die Regel für Ziel „src/CMakeFiles/acinerella.dir/acinerella.c.o“ scheiterte
make[2]: *** [src/CMakeFiles/acinerella.dir/acinerella.c.o] Fehler 1
CMakeFiles/Makefile2:87: die Regel für Ziel „src/CMakeFiles/acinerella.dir/all“ scheiterte
make[1]: *** [src/CMakeFiles/acinerella.dir/all] Fehler 2
Makefile:127: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
What could be the issue here?
Incompatible version of libav/ffmpeg?
Did you mean for this to be GPL and not LGPL, as LGPL allows this to be linked in as a library to any program but GPL not?
Hi,
any chance on getting the acinerella project licensed under GPLv2+ instead of only GPLv3? There are bunch of projects which would like to use acinerella, but don't or can't change to GPLv3 yet because of various reasons.
I am currently looking through the code of acinerella and would like to use it with ffmpeg 3 but don't know how to compile it either on windws or how to compile it on linux for build targets OS X and Windows x86. Could you maybe provide some build instructions for that or alternatively provide the compiled binary files?
Thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.