Giter VIP home page Giter VIP logo

divideo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

divideo's Issues

source code can't compile on linux ubuntu or debian

i try to compile sorce code on linux but i get some error:

gcc -c delta_compressor.c
gcc -c divideo_converter.c
In file included from divideo_converter.h:7,
from divideo_converter.c:1:
video_reader.h:13:24: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ undeclared here (not in a function); did you mean ‘AV_CODEC_CAP_VARIABLE_FRAME_SIZE’?
13 | uint8_t buffer[AVCODEC_MAX_AUDIO_FRAME_SIZE + FF_INPUT_BUFFER_PADDING_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| AV_CODEC_CAP_VARIABLE_FRAME_SIZE
video_reader.h:13:55: error: ‘FF_INPUT_BUFFER_PADDING_SIZE’ undeclared here (not in a function); did you mean ‘AV_INPUT_BUFFER_PADDING_SIZE’?
13 | uint8_t buffer[AVCODEC_MAX_AUDIO_FRAME_SIZE + FF_INPUT_BUFFER_PADDING_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| AV_INPUT_BUFFER_PADDING_SIZE
make: *** [Makefile:30: divideo_converter.o] Error 1

and after modifying code i get:

gcc -c /opt/imagemagick/bin/MagickCore-config --cflags image_preprocessor.c
/bin/sh: 1: /opt/imagemagick/bin/MagickCore-config: not found
image_preprocessor.c:2:10: fatal error: magick/MagickCore.h: No such file or directory
2 | #include <magick/MagickCore.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:33: image_preprocessor.o] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.