kannonboy / sketch-gifme-plugin

Embed gifs and videos in your Sketch files!
http://www.sketchgif.me/
MIT License
276 stars 20 forks source link

Plug in isn't working #8

Open paolaheneine opened 6 years ago

paolaheneine commented 6 years ago

Does the plug in not work with Sketch 48.2? I've followed all the steps, but when I click on plugins --> gif me --> select one, nothing pops up on Sketch.

otcombo commented 6 years ago

same problem happened to me.

kannonboy commented 6 years ago

Hi @paolaheneine & @otcombo,

The plugin works under 48.2 for me. Can you confirm that ffmpeg is installed & linked?

After installing homebrew, you can confirm that the library is installed using Daniel's suggestion.

quitefrank commented 6 years ago

Hi @kannonboy , I've also done the same, installing homebrew and ffmpeg, downloaded the plugin and placed it in the plugins folder, but nothing appears in the plugins dropdown. v48.2 for me as well

screen shot 2018-02-22 at 2 56 59 pm

quitefrank commented 6 years ago

Actually, I solved the problem—issue is your latest download release does not include the gifme.sketchplugin file necessary. You'll need to download it from here https://github.com/kannonboy/sketch-gifme-plugin/releases

ghost commented 6 years ago

@paolaheneine @otcombo did you solve?

paolaheneine commented 6 years ago

It worked when I first insert the GIPHY as an image, then use the plug in. Not sure this is the right way to do it though.

On Sun, Feb 25, 2018 at 12:58 AM doplumi notifications@github.com wrote:

@paolaheneine https://github.com/paolaheneine @otcombo https://github.com/otcombo did you solve? Same here.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kannonboy/sketch-gifme-plugin/issues/8#issuecomment-368293640, or mute the thread https://github.com/notifications/unsubscribe-auth/Ags2s9qwff8GXx6PZel6D5ViuUTDrzijks5tYSCggaJpZM4R9qjb .

-- Paola Heneine B.A. Political Economy | May 2016 University of California, Berkeley (510)-604-8441 | paolaheneine@berkeley.edu

kannonboy commented 6 years ago

@quitefrank thanks for the heads up — could you tell me where you downloaded the plugin that it didn't work? (i.e. before downloading from the /releases page)

Was this from Sketch Runner or Sketchpacks or something like that?

quitefrank commented 6 years ago

@kannonboy Not at all. I went from www.sketchgif.me > www.github.com/kannonboy/sketch-gifme-plugin > Clone or Download button (it's missing the sketch file in the zip)

screen shot 2018-02-26 at 8 21 13 am

jtrinker commented 6 years ago

@quitefrank @kannonboy I can't get it to work either, then I realized there's no .sketchplugin file. I moved the whole directory to my plugins directory but it's not doing anything.

quitefrank commented 6 years ago

@jtrinker You have to download the .sketchplugin file from the releases page and then place it into your plugins folder from there

jtrinker commented 6 years ago

@quitefrank thanks, I'm an idiot.

ghost commented 6 years ago

It still doesn't work on my sketch 48.2 though. I have installed ffmpeg and it works. It just doesn't show me anything when I import a video, although in the title bar of the app I can see "Unamed – Edited", so something changes, the .sketch file gets bigger, but there is no video shown, both in the white page and in the side bar.

ghost commented 6 years ago

I'm back with more info! It actually works on .gifs 🎊 🎊

It doesn't work on .mp4, although it works when you take that .mp4 and convert it to a gif manually, e.g.:

 ffmpeg -i input.flv -vf scale=320:-1 -r 10 -f image2pipe -vcodec ppm - | convert -delay 5 -loop 0 - output.gif

I thought the plugin was supposed to make the conversion for you?

kannonboy commented 6 years ago

@doplumi interesting. It's supposed to :) but I must admit I'm not an ffmpeg expert.

Under the hood the plugin is naively calling:

ffmpeg -i $yourVideoPath -r 25.0 $outputDir/%d.jpg

To convert the video into a series of still frames for rendering in Sketch. Perhaps there are some mp4 encodings that this doesn't work for? Totally open to pull requests if you have any ideas.

bookbird101 commented 6 years ago

Doesn't work for me either :( Do I need to be running a certain version of Sketch?

tranteresa commented 6 years ago

I have Sketch 50.2 and I've figured out a way for the plug-in to work for me

  1. I followed the installation steps on https://github.com/kannonboy/sketch-gifme-plugin
  2. The issue I encountered was when I tried to insert a gif via the Plug-in nothing would show up
  3. FIX: I inserted the images first (i.e. Drag and drop into the Sketch file OR add images)
  4. Then I clicked on the images > PlugIn > Gifme> Reselect the same image > Open > now gif moves
Meuti commented 6 years ago

Hi all,

Same problem as Tranteresa above : just downloaded Sketch's latest version (50.2) and I can't get this plugin to work... Tried to uninstall, reinstall, even had a look at Sketch's old versions (but it seems 48.2 has no prototyping functions?).

I tried to do what Tranteresa suggested (I'm trying to upload a video), so I dragged the video in the Sketch file but even here it didn't appear. I tried replacing a basic picture by clicking on it then selecting the video file, but still, nothing...

Has anyone managed to upload videos on 50.2 ? Thanks for your help !

eliasjulian commented 6 years ago

@Meuti I'm running 50.2 and can successfully add an .mp4 and .mov using the plugin. As long as you have:

That should do it pending all of your software being up to date. Let me know if you've tried those and still no luck?

shreyansh0089 commented 6 years ago

Hi, Thanks for the plugin, I'm facing one problem as soon as i select my gif's they appear with white background automatically inspite of being png gifs. Any idea how to solve it?

eliasjulian commented 6 years ago

@shreyansh0089 The plugin doesn't support transparency, so it'll automatically add a solid white background. If it's a make-or-break part of your interface I'd suggest including the background color you need in your .gif file. Sorry!

lagos04 commented 6 years ago

hey guys,

  1. Open Terminal -> check!
  2. Install Homebrew -> check!
  3. run brew install ffmpeg -> what do I have to do here? Is that a command I have to run in Terminal?

I'd be really grateful for some advice since I got stuck here. All the other steps are clear to me. Thx

kannonboy commented 6 years ago

@lagos04 that's correct! You'll need to run brew install ffmpeg from your Terminal.

lorenaleedf commented 5 years ago

hey guys,

  1. Open Terminal -> check!
  2. Install Homebrew -> check!
  3. run brew install ffmpeg -> what do I have to do here? Is that a command I have to run in Terminal?

I'd be really grateful for some advice since I got stuck here. All the other steps are clear to me. Thx

I tried to paste the brew install ffmpeg in terminal, but it says {command not found}