Author Topic: APNG  (Read 5270 times)

RfsVieira

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +21/-0
    • View Profile
APNG
« on: March 25, 2022, 05:56:54 PM »
This I know is a big quest 😁
Why not, as we all want retrofe became the biggest and bether option for retro world.
For wht I see we alredy have the libs in retroFe, for png, now is need the function the will decode apng in frames, then play all frames 😅.
Well I'm talking about apng and not gif because the img quality.
Thanks
Well teoric i read but can't do 😩

RfsVieira

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +21/-0
    • View Profile
Re: APNG
« Reply #1 on: April 27, 2022, 04:13:16 PM »
i´m back  ;D
Here info for someone interesting https://en.wikipedia.org/wiki/APNG
Don't know if is possible grab this info and adapt to retrofe https://code.google.com/archive/p/sharpapng/ and https://github.com/xupefei/APNG.NET
, from this last one i think the important is the https://github.com/xupefei/APNG.NET/tree/master/LibAPNG (APNG.cs and Frame.cs) i think the important files is this ones for apng
Here its 2 CPP files examples https://sourceforge.net/projects/apng/files/libpng/examples/
and this guy made one APNG loader CPP https://github.com/uctakeoff/uc_apng_loader
Well DEV if you interested in this big step and jump for RetroFe world community please tell and i can searsh for more info.
Thanks for all

Agent47

  • Global Moderator
  • Full Member
  • *****
  • Posts: 160
  • Karma: +7/-41
    • View Profile
Re: APNG
« Reply #2 on: April 28, 2022, 04:10:01 AM »
Frankly, I don't see a point in this. If you want screenshots, use png images. If you want video, use the various formats supported. Most of the sites where people download media have images and videos. Virtually nobody is creating gifs or apng.

RetroFE is open source. So if you want this feature feel free to create a PR. If the maintenance burden isn't too much and you don't hack the codebase to hell I don't see why Pieter wouldn't merge it.
« Last Edit: April 28, 2022, 04:29:38 AM by Agent47 »

RfsVieira

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +21/-0
    • View Profile
Re: APNG
« Reply #3 on: April 28, 2022, 04:28:19 AM »
Agent47 - Animated logos, is one of the points, tht we don't use videos our static img(png, jpg, etc) as a logo, nobody creates apngs, if you say so... I even don't know why I'm answering you as you are a bad person as I saw in the erased subject before, and for wht I saw until now you don't have Willingness to innovate, in my humilde opinion we can't stop in time just bcs it all works, and was only one idea for dev, not for an moderator that in almost all subjects only knows is complaining. Sorry for make retrofe forum team lose time with my small idea. Was last for sure.
Have a nice day

Agent47

  • Global Moderator
  • Full Member
  • *****
  • Posts: 160
  • Karma: +7/-41
    • View Profile
Re: APNG
« Reply #4 on: April 28, 2022, 04:37:14 AM »
First, see my edit.

Second, if people are creating apngs en masse, please cite your source. If there is a market for them it's more likely to have your request granted.

As far as your comments towards me, have fun bud :) I know the programming language and can modify it to my pleasure. I've been participating in, bug fixing, and moderating frontend, middleware, and emulation subjects for years. So yes, I have an idea of what is requested and how to implement it. Have a nice day  :)

RfsVieira

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +21/-0
    • View Profile
Re: APNG
« Reply #5 on: April 28, 2022, 04:47:39 AM »
Great, hands to work,  ;D, if I know how to do I alredy started it for sure. pinball are growing a lot and started with apng logos and they are amazing, ppl are making more every day.. Their frontend alredy suports it. If retrofe has support for it I have no doubt tht community will create a lot of them as the static logo isn't same as animated logo, I'm not talking gifs as compared to apng is 8 to 80.
Have a nice day

Agent47

  • Global Moderator
  • Full Member
  • *****
  • Posts: 160
  • Karma: +7/-41
    • View Profile
Re: APNG
« Reply #6 on: April 28, 2022, 05:03:05 AM »
I have no interest in it. You still didn't cite a source for the community creating them to make it worth it. Also, the "pinball" communities are not in great demand and most of the creators and communities are very insulated. They are protective of their media and don't want anyone outside of that to use or enjoy it. So you're basically talking yourself out of the feature since you can't do it yourself.

RfsVieira

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +21/-0
    • View Profile
Re: APNG
« Reply #7 on: April 28, 2022, 05:07:48 AM »
https://youtu.be/9VXUmKAn_DY
How to create apng
I understand the no interess
Thanks for time
Have nice day
« Last Edit: April 28, 2022, 05:10:08 AM by RfsVieira »

Agent47

  • Global Moderator
  • Full Member
  • *****
  • Posts: 160
  • Karma: +7/-41
    • View Profile
Re: APNG
« Reply #8 on: April 28, 2022, 05:24:27 AM »
I understand how to create it, that does nothing. It's not a priority for all the reasons I listed before. If you want it, you will have to do it yourself or hire someone to do it. That's the bottom line that you don't understand.

RfsVieira

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +21/-0
    • View Profile
Re: APNG
« Reply #9 on: April 28, 2022, 05:26:15 AM »
I understand, I don't need hire
Thanks

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: APNG
« Reply #10 on: April 28, 2022, 08:58:38 AM »
There's 2 options here:
If gstreamer supports the format, it's a 1 or 2 line change in the code. You could easily check this by renaming your file to one of the supported video formats. If gstreamer doesn't support it, I'm unlikely to add it. I have very little time available to build new features, and diving into the support of a completely new format beyond what the used libraries (gstreamer and SDL) support is not something I have time for I'm afraid.

Agent47

  • Global Moderator
  • Full Member
  • *****
  • Posts: 160
  • Karma: +7/-41
    • View Profile
Re: APNG
« Reply #11 on: April 29, 2022, 07:39:49 AM »
gstreamer doesn't support it. And nobody wants it. HyperSpin 2-4 years ago added functionality for animated wheels, (once a windows update literally stopped the frontend from working) and they added that. Nobody wanted or asked for it. And nobody utilized it since. And they're all about the flash stuff (cuz it was implemented via swf).

RfsVieira

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +21/-0
    • View Profile
Re: APNG
« Reply #12 on: April 30, 2022, 09:39:01 PM »
Hi Pieter,  thanks for answer i think is need 1st update libpng version, but i think is more than 2 lines as it needs "decode" apng to png frames then play it.
As it isn't add apng to ImageBuilder it will read only 1st frame (as png), as SDL supports png i think it will work with apng.
the option isn't only logos, as with it we can have fanart/ system/collection background img animated, all we can imagine add to the layout as it works with transparency.
I understand this one men dev and you will not have time for it at less you showed willingness to innovate and interest
Thanks

RfsVieira

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +21/-0
    • View Profile
Re: APNG
« Reply #13 on: May 01, 2022, 09:35:38 PM »
Hi again :P
well after a litle investigation, found that GIFLIB is compatible with SDL2 and some source examples code CPP for GIF and APNG is need LIBPNG + APNG patch for libpng i add some CPP source examples.
Link https://www.filemail.com/d/splngprbbbwqnbi
Maybe someone can help DEV adaptation it.
Thanks for time