TennisForum.com  

TennisForum.com (http://www.tennisforum.com/index.php)
-   Graphics (http://www.tennisforum.com/forumdisplay.php?f=1195)
-   -   Make your own GIF files (http://www.tennisforum.com/showthread.php?t=452790)

Kworb Jan 28th, 2012 08:06 PM

Make your own GIF files
 
I've been busy the past two days making this tool, hope it helps!

http://kworb.net/makegifs.html

Good luck and have fun!


Sasja Jan 30th, 2012 08:42 AM

Re: Make your own GIF files
 
Thanks, will try that :)

But OMG Rinus :rolls:

silverwhite Jan 30th, 2012 10:04 AM

Re: Make your own GIF files
 
Does it work on Mac? :sobbing:

Kworb Jan 30th, 2012 10:55 AM

Re: Make your own GIF files
 
Quote:

Originally Posted by silverwhite (Post 20869465)
Does it work on Mac? :sobbing:

It might, I wrote some instructions for Mac, but no one's tested it yet :p

Quote:

Download: http://kworb.net/makegifsmac.zip

Extract this somewhere.

Then download a Mac version of ffmpeg: http://ffmpegmac.net/

And also the Mac version of Mediainfo: http://mediainfo.sourceforge.net/en/Download/Mac_OS
Not sure which one you need, DyLib I guess? It should be one file, and you need to put it in the same folder as the MakeGif.jar

Then you can run MakeGif.jar, and in it make sure to Browse to the ffmpeg you downloaded.

Maybe then it works, let me know how it goes!

silverwhite Jan 30th, 2012 10:58 AM

Re: Make your own GIF files
 
Will let you know :hatoff:

silverwhite Feb 2nd, 2012 12:31 AM

Re: Make your own GIF files
 
Error message :sobbing:

Quote:

File access cancelled by user.
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': dlopen(libmediainfo.dylib, 9): no suitable image found. Did find:
libmediainfo.dylib: no matching architecture in universal wrapper at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrar y.java:169)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrar y.java:242)
at com.sun.jna.Library$Handler.<init>(Library.java:14 0)
at com.sun.jna.Native.loadLibrary(Native.java:368)
at makegifgui.MediaInfoLibrary.<clinit>(MediaInfoLibr ary.java:21)
at makegifgui.MediaInfo.<init>(MediaInfo.java:40)
at makegifgui.GifGUI.selectVideoButtonActionPerformed (GifGUI.java:612)
at makegifgui.GifGUI.access$000(GifGUI.java:20)
at makegifgui.GifGUI$1.actionPerformed(GifGUI.java:13 4)
at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.jav a:6373)
at javax.swing.JComponent.processMouseEvent(JComponen t.java:3267)
at java.awt.Component.processEvent(Component.java:613 8)
at java.awt.Container.processEvent(Container.java:208 5)
at java.awt.Component.dispatchEventImpl(Component.jav a:4735)
at java.awt.Container.dispatchEventImpl(Container.jav a:2143)
at java.awt.Component.dispatchEvent(Component.java:45 65)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4621)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4282)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4212)
at java.awt.Container.dispatchEventImpl(Container.jav a:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2478 )
at java.awt.Component.dispatchEvent(Component.java:45 65)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:679)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:652)
at java.awt.EventQueue$2.run(EventQueue.java:650)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 649)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class makegifgui.MediaInfoLibrary at makegifgui.MediaInfo.<init>(MediaInfo.java:40)
at makegifgui.GifGUI.selectVideoButtonActionPerformed (GifGUI.java:612)
at makegifgui.GifGUI.access$000(GifGUI.java:20)
at makegifgui.GifGUI$1.actionPerformed(GifGUI.java:13 4)
at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.jav a:6373)
at javax.swing.JComponent.processMouseEvent(JComponen t.java:3267)
at java.awt.Component.processEvent(Component.java:613 8)
at java.awt.Container.processEvent(Container.java:208 5)
at java.awt.Component.dispatchEventImpl(Component.jav a:4735)
at java.awt.Container.dispatchEventImpl(Container.jav a:2143)
at java.awt.Component.dispatchEvent(Component.java:45 65)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4621)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4282)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4212)
at java.awt.Container.dispatchEventImpl(Container.jav a:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2478 )
at java.awt.Component.dispatchEvent(Component.java:45 65)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:679)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:652)
at java.awt.EventQueue$2.run(EventQueue.java:650)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 649)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)

Kworb Feb 2nd, 2012 12:56 AM

Re: Make your own GIF files
 
Which DyLib did you get? Maybe try the other one on the page :p

Also I released a new version, with a new URL: http://kworb.net/kworbgifmac.zip

silverwhite Feb 2nd, 2012 01:12 AM

Re: Make your own GIF files
 
Quote:

Originally Posted by Kworb (Post 20881012)
Which DyLib did you get? Maybe try the other one on the page :p

Also I released a new version, with a new URL: http://kworb.net/kworbgifmac.zip

I tried the Universal one first, then the other one. The first one was a folder while the second one was a DMG file :scratch: For the second one, I just opened it and dragged the MediaInfo file into the kworbgifmac folder :p

This is the error message I got this time :o

Quote:

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': dlopen(libmediainfo.dylib, 9): image not found at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrar y.java:169)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrar y.java:242)
at com.sun.jna.Library$Handler.<init>(Library.java:14 0)
at com.sun.jna.Native.loadLibrary(Native.java:368)
at makegifgui.MediaInfoLibrary.<clinit>(MediaInfoLibr ary.java:21)
at makegifgui.MediaInfo.<init>(MediaInfo.java:40)
at makegifgui.GifGUI.selectVideoButtonActionPerformed (GifGUI.java:834)
at makegifgui.GifGUI.access$000(GifGUI.java:28)
at makegifgui.GifGUI$1.actionPerformed(GifGUI.java:17 5)
at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.jav a:6373)
at javax.swing.JComponent.processMouseEvent(JComponen t.java:3267)
at java.awt.Component.processEvent(Component.java:613 8)
at java.awt.Container.processEvent(Container.java:208 5)
at java.awt.Component.dispatchEventImpl(Component.jav a:4735)
at java.awt.Container.dispatchEventImpl(Container.jav a:2143)
at java.awt.Component.dispatchEvent(Component.java:45 65)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4621)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4282)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4212)
at java.awt.Container.dispatchEventImpl(Container.jav a:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2478 )
at java.awt.Component.dispatchEvent(Component.java:45 65)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:679)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:652)
at java.awt.EventQueue$2.run(EventQueue.java:650)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 649)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)

Kworb Feb 2nd, 2012 02:09 AM

Re: Make your own GIF files
 
http://kworb.net/libmediainfo.dylib

That one works I hope. Just put it in the folder like before and try again. :D

silverwhite Feb 2nd, 2012 02:19 AM

Re: Make your own GIF files
 
Kworb :worship:

BTW, do you work or study? You have so many things going on here and on Pulse :lol:

silverwhite Feb 2nd, 2012 02:56 AM

Re: Make your own GIF files
 
Feedback :p

The programme seems to work fine for .flv files but not for .mp4 ones, for which this line keeps repeating :lol:

frame= 0 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s

silverwhite Feb 2nd, 2012 03:33 AM

Re: Make your own GIF files
 
Oh no. I've another problem. :awww:

The gif I made works when I open it in a web browser (but not in Preview). When I tried to upload it on Tumblr, it appears as a still image :o

Kworb Feb 2nd, 2012 08:22 AM

Re: Make your own GIF files
 
Quote:

Originally Posted by silverwhite (Post 20881211)
Kworb :worship:

BTW, do you work or study? You have so many things going on here and on Pulse :lol:

Yes I work for a transport research company, doing programming, data processing, data analysis and mathematical modeling. :p but I work fast, so I can spend half a day doing real work and pretend it took me a whole day to do it, which means I have plenty of time for other stuff. ;)

Quote:

Originally Posted by silverwhite (Post 20881291)
Feedback :p

The programme seems to work fine for .flv files but not for .mp4 ones, for which this line keeps repeating :lol:

frame= 0 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
frame= 0 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s

I think that happens when it's a long video and it has to search for the right start time. Keep it running for a while, or try the first few seconds, and see if this is still a problem.

Quote:

Originally Posted by silverwhite (Post 20881398)
Oh no. I've another problem. :awww:

The gif I made works when I open it in a web browser (but not in Preview). When I tried to upload it on Tumblr, it appears as a still image :o

That's because of Tumblr's size restrictions. I think they only allow 1 MB for gifs. I suggest uploading it to tinypic.com instead.

silverwhite Feb 2nd, 2012 09:37 AM

Re: Make your own GIF files
 
Quote:

Originally Posted by Kworb (Post 20882184)
Yes I work for a transport research company, doing programming, data processing, data analysis and mathematical modeling. :p but I work fast, so I can spend half a day doing real work and pretend it took me a whole day to do it, which means I have plenty of time for other stuff. ;)

That's because of Tumblr's size restrictions. I think they only allow 1 MB for gifs. I suggest uploading it to tinypic.com instead.

:speakles:

Didn't think of that :silly:

silverwhite Feb 5th, 2012 01:34 PM

Re: Make your own GIF files
 
Oh yes. Any chance to have the option of adding text, in a later version? :oh:


All times are GMT. The time now is 04:25 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.