GithubHelp home page GithubHelp logo

zuranthus / livepaper Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 3.0 1.15 MB

A lightweight app that displays animated wallpapers on Windows and Linux

License: MIT License

CMake 40.90% C 59.10%
animated-wallpaper dynamic-wallpaper ffmpeg gif linux sdl2 video wallpaper wallpaper-changer windows

livepaper's Issues

Error build

LivePaper git:(main) ✗ cmake -B buildLivePaper git:(main) ✗ cmake --build build
[ 16%] Building C object CMakeFiles/live-paper.dir/src/platform_linux.c.o
[ 33%] Building C object CMakeFiles/live-paper.dir/src/main.c.o
[ 50%] Building C object CMakeFiles/live-paper.dir/src/fail.c.o
[ 66%] Building C object CMakeFiles/live-paper.dir/src/video.c.o
/home/desmon/Descargas/LivePaper/src/video.c: In functionDecodeNextFrame’:
/home/desmon/Descargas/LivePaper/src/video.c:58:13: warning: ‘pkt_durationis deprecated [-Wdeprecated-declarations]
   58 |             *frame_end_time = (frame->best_effort_timestamp + frame->pkt_duration)*v->time_base;
      |             ^
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:36,
                 from /home/desmon/Descargas/LivePaper/src/video.c:8:
/usr/include/x86_64-linux-gnu/libavutil/frame.h:700:13: note: declared here
  700 |     int64_t pkt_duration;
      |             ^~~~~~~~~~~~
/home/desmon/Descargas/LivePaper/src/video.c: In functionVideoLoad’:
/home/desmon/Descargas/LivePaper/src/video.c:73:82: warning: passing argument 5 ofav_find_best_streamfrom incompatible pointer type [-Wincompatible-pointer-types]
   73 |    v->stream_id = av_find_best_stream(v->input_ctx, AVMEDIA_TYPE_VIDEO, -1, -1, &codec, 0);
      |                                                                                 ^~~~~~
      |                                                                                 |
      |                                                                                 AVCodec **

In file included from /home/desmon/Descargas/LivePaper/src/video.c:9:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:2109:48: note: expectedconst struct AVCodec **but argument is of typeAVCodec **2109 |                         const struct AVCodec **decoder_ret,
      |                         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/desmon/Descargas/LivePaper/src/video.c:115:36: warning: implicit declaration of functionav_mallocz_array’; did you meanav_malloc_array’? [-Wimplicit-function-declaration]
  115 |         struct CacheEntry *cache = av_mallocz_array(frame_num, sizeof(struct CacheEntry));
      |                                    ^~~~~~~~~~~~~~~~
      |                                    av_malloc_array
/home/desmon/Descargas/LivePaper/src/video.c:115:36: warning: initialization ofstruct CacheEntry *fromintmakes pointer from integer without a cast [-Wint-conversion]
[ 83%] Building C object CMakeFiles/live-paper.dir/_deps/argtable-src/argtable3.c.o
[100%] Linking C executable live-paper
/usr/bin/ld: CMakeFiles/live-paper.dir/src/video.c.o: en la función `VideoLoad':
video.c:(.text+0x7d9): undefined reference to `av_mallocz_array'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/live-paper.dir/build.make:166: live-paper] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/live-paper.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

builds

Can you make the automated github actions return artifacts for download? My current windows system is a mess and refuses to compile the program.

Thank you!

Windows 7 Support

The application seems to silently exit on windows 7. Specifically, Aero is disabled and I am not able to test it with Aero enabled. I know weebp solves this with the side effect of covering the desktop icons, so I wonder if this program can do the same?

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.