Giter Club home page Giter Club logo

animplayer's Issues

Sound does not play

There's a lot of ANIM animations that include sound that do not work. Examples can be found here.

Incompatible ANIM files

I've come across a section of IFF ANIMs that aren't compatible with AnimPlayer. The file command says this:

At the Movies 1.anim: IFF data, ANIM animation
At the Movies 2.anim: IFF data, ANIM animation

(files taken from http://www.randelshofer.ch/animations/anims/eric_w_schwartz/At_the_Movies.anim.html and http://www.randelshofer.ch/animations/anims/eric_w_schwartz/ATMFinal.html respectively)
The first is not playable by AnimPlayer, while the second one is.

But the ffprobe shows something different:

% ffprobe At\ the\ Movies\ 1.anim
ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-libzimg --enable-libzvbi --enable-lzma --enable-fontconfig --enable-libfreetype --enable-libfribidi --enable-zlib --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-libaom --enable-librav1e --enable-libsvtav1 --arch=arm64 --enable-gpl --enable-postproc --enable-libx264 --enable-libx265 --enable-libxvid --enable-libvidstab --enable-version3 --enable-libsmbclient --enable-libaribb24
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
[iff @ 0x14f808200] Estimating duration from bitrate, this may be inaccurate
Input #0, iff, from 'At the Movies 1.anim':
  Metadata:
    comment         : TOROID
  Duration: 00:01:21.64, bitrate: 72 kb/s
  Stream #0:0: Audio: pcm_s8_planar (ANIM / 0x4D494E41), 9085 Hz, mono, u8p, 72 kb/s
% ffprobe At\ the\ Movies\ 2.anim
ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-libzimg --enable-libzvbi --enable-lzma --enable-fontconfig --enable-libfreetype --enable-libfribidi --enable-zlib --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-libaom --enable-librav1e --enable-libsvtav1 --arch=arm64 --enable-gpl --enable-postproc --enable-libx264 --enable-libx265 --enable-libxvid --enable-libvidstab --enable-version3 --enable-libsmbclient --enable-libaribb24
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, iff, from 'At the Movies 2.anim':
  Metadata:
    comment         : Written by ANIM Workshop V2.0
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: iff_ilbm (ANIM / 0x4D494E41), pal8, 320x200, SAR 44:52 DAR 88:65, 1.70 fps, 60 tbr, 60 tbn, 60 tbc

I'd like to say that the first has the first IFF slice as an audio sample, but unfortunately I can't get MultiShow working (it has an option to view media chunks, including IFF chunks).

If an Anim is loaded but not played, loading another one gives an error

Describe the bug
If an Anim is currently loaded, but hasn't played (and it's not playing), then loading another one gives an error:

"Cannot modify object while it's locked"

To Reproduce
Steps to reproduce the behavior:

  1. Load an Anim
  2. Do not start playing
  3. Load another Anim
  4. See error

Expected behavior
The loaded Anim should be unlocked when attempting to load another one.

Add support for Loop

Is your feature request related to a problem? Please describe.
Currently Anims only play through once. It would be nice to have the option to Loop them instead.

Describe the solution you'd like
It would be good to have an option for Looping Anims, instead of having them play once.

When opening Anim from File->Open, an extra blank entry is in the Playlist

Describe the bug
If using the File->Open option to add a new Anim in the Playlist, an extra blank entry remains in the list. This causes an error to appear after the Anim finishes playing, indicating that it cannot open the empty file.

To Reproduce
Steps to reproduce the behavior:

  1. Go to File->Open
  2. Select an Anim file
  3. Play the Anim
  4. See error

Expected behavior
There should never be empty entries in the Playlist

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.