Github messages for voidlinux
 help / color / mirror / Atom feed
From: zdykstra <zdykstra@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: gifski: update to 1.5.1
Date: Sat, 30 Oct 2021 16:11:00 +0200	[thread overview]
Message-ID: <20211030141100.xC5Vb-1_TkU2PN_aibzRWhYropHslT5wsnFlBAZvOyA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33822@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1362 bytes --]

New comment by zdykstra on void-packages repository

https://github.com/void-linux/void-packages/pull/33822#issuecomment-955240394

Comment:
I tested this on `x86_64/glibc`, and like 1.4.3 it's missing the ability to directly convert a video into a gif.

```
$ gifski --fps 10 -o ~/tmp/doot.gif ~/Downloads/tz56y1O.mp4
error: Video support is permanently disabled in this executable.

To enable video decoding you need to recompile gifski from source with:
cargo build --release --features=video
or
cargo install gifski --features=video

Alternatively, use ffmpeg command to export PNG frames, and then specify
the PNG files as input for this executable. Instructions on https://gif.ski
```

Running my video through ffmpeg first and then converting the output PNGs to a GIF seems to work, though.

```
$ gifski --version
gifski 1.5.1

$ ffmpeg -i tz56y1O.mp4 frame%04d.png
....
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tz56y1O.mp4':
...
Output #0, image2, to 'frame%04d.png':
frame=   30 fps=0.0 q=-0.0 Lsize=N/A time=00:00:03.00 bitrate=N/A speed=58.4x
video:4134kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

$ gifski -o doot.gif frame*.png
gifski created /home/zdykstra/Downloads/test/doot.gif

$ webify -p doot.gif
https://pastebin.stratumzero.date/u/p/2142e388af/doot.gif
```



  reply	other threads:[~2021-10-30 14:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-30  4:51 [PR PATCH] " cinerea0
2021-10-30 14:11 ` zdykstra [this message]
2021-10-30 17:49 ` cinerea0
2021-10-30 17:52 ` ericonr
2021-10-30 17:53 ` [PR PATCH] [Merged]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211030141100.xC5Vb-1_TkU2PN_aibzRWhYropHslT5wsnFlBAZvOyA@z \
    --to=zdykstra@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).