Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plug in isn't working #8

Open
paolaheneine opened this issue Feb 8, 2018 · 23 comments
Open

Plug in isn't working #8

paolaheneine opened this issue Feb 8, 2018 · 23 comments

Comments

@paolaheneine
Copy link

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
Copy link

otcombo commented Feb 8, 2018

same problem happened to me.

@kannonboy
Copy link
Owner

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
Copy link

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
Copy link

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
Copy link

ghost commented Feb 25, 2018

@paolaheneine @otcombo did you solve?

@paolaheneine
Copy link
Author

paolaheneine commented Feb 25, 2018 via email

@kannonboy
Copy link
Owner

@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
Copy link

quitefrank commented Feb 26, 2018

@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
Copy link

@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
Copy link

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

@jtrinker
Copy link

@quitefrank thanks, I'm an idiot.

@ghost
Copy link

ghost commented Mar 1, 2018

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
Copy link

ghost commented Mar 1, 2018

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
Copy link
Owner

@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
Copy link

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

@tranteresa
Copy link

tranteresa commented Jun 9, 2018

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
Copy link

Meuti commented Jun 13, 2018

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
Copy link
Contributor

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

  • ffmpeg up to date via homebrew
  • draw a rectangle or select the rectangle you want to be filled with the video
  • run plugins -> Gif me -> select your video file

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
Copy link

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
Copy link
Contributor

@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
Copy link

lagos04 commented Aug 14, 2018

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
Copy link
Owner

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

@lorenaleedf
Copy link

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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests