Make your own GIF files - TennisForum.com
Reply
 
LinkBack Thread Tools
post #1 of 20 (permalink) Old Jan 28th, 2012, 09:06 PM Thread Starter
Most Loved Member
 
Kworb's Avatar
 
Join Date: Jun 2005
Location: Netherlands
Posts: 11,143
                     
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!


2016 saviors of the WTA

ANGELIQUE KERBER 63 75 DOMINIKA CIBULKOVA 60 60
LOUISA CHIRICO 60 60 IRINA-CAMELIA BEGU 63 62 KARIN KNAPP 63 67 60

Last edited by Kworb; Jan 30th, 2012 at 08:33 PM.
Kworb is offline  
Sponsored Links
Advertisement
 
post #2 of 20 (permalink) Old Jan 30th, 2012, 09:42 AM
Senior Member
 
Sasja's Avatar
 
Join Date: Dec 2008
Posts: 26,498
 
Re: Make your own GIF files

Thanks, will try that

But OMG Rinus


BERTENS LARSSON MUGURUZA KVITOVA KEYS PLISKOVA GIORGI SAFAROVA SHARAPOVA BARTHEL MATTEK-SANDS
OSAKA TOWNSEND PAVLYUCHENKOVA KANEPI BURGER BONDARENKO KRAJICEK
TSONGA THIEM DEL POTRO MONFILS
Sasja is offline  
post #3 of 20 (permalink) Old Jan 30th, 2012, 11:04 AM
Senior Member
 
silverwhite's Avatar
 
Join Date: May 2003
Location: Singapore
Posts: 92,490
                     
Re: Make your own GIF files

Does it work on Mac?
silverwhite is offline  
post #4 of 20 (permalink) Old Jan 30th, 2012, 11:55 AM Thread Starter
Most Loved Member
 
Kworb's Avatar
 
Join Date: Jun 2005
Location: Netherlands
Posts: 11,143
                     
Re: Make your own GIF files

Quote:
Originally Posted by silverwhite View Post
Does it work on Mac?
It might, I wrote some instructions for Mac, but no one's tested it yet

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!

2016 saviors of the WTA

ANGELIQUE KERBER 63 75 DOMINIKA CIBULKOVA 60 60
LOUISA CHIRICO 60 60 IRINA-CAMELIA BEGU 63 62 KARIN KNAPP 63 67 60
Kworb is offline  
post #5 of 20 (permalink) Old Jan 30th, 2012, 11:58 AM
Senior Member
 
silverwhite's Avatar
 
Join Date: May 2003
Location: Singapore
Posts: 92,490
                     
Re: Make your own GIF files

Will let you know
silverwhite is offline  
post #6 of 20 (permalink) Old Feb 2nd, 2012, 01:31 AM
Senior Member
 
silverwhite's Avatar
 
Join Date: May 2003
Location: Singapore
Posts: 92,490
                     
Re: Make your own GIF files

Error message

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)
silverwhite is offline  
post #7 of 20 (permalink) Old Feb 2nd, 2012, 01:56 AM Thread Starter
Most Loved Member
 
Kworb's Avatar
 
Join Date: Jun 2005
Location: Netherlands
Posts: 11,143
                     
Re: Make your own GIF files

Which DyLib did you get? Maybe try the other one on the page

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

2016 saviors of the WTA

ANGELIQUE KERBER 63 75 DOMINIKA CIBULKOVA 60 60
LOUISA CHIRICO 60 60 IRINA-CAMELIA BEGU 63 62 KARIN KNAPP 63 67 60
Kworb is offline  
post #8 of 20 (permalink) Old Feb 2nd, 2012, 02:12 AM
Senior Member
 
silverwhite's Avatar
 
Join Date: May 2003
Location: Singapore
Posts: 92,490
                     
Re: Make your own GIF files

Quote:
Originally Posted by Kworb View Post
Which DyLib did you get? Maybe try the other one on the page

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 For the second one, I just opened it and dragged the MediaInfo file into the kworbgifmac folder

This is the error message I got this time

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)
silverwhite is offline  
post #9 of 20 (permalink) Old Feb 2nd, 2012, 03:09 AM Thread Starter
Most Loved Member
 
Kworb's Avatar
 
Join Date: Jun 2005
Location: Netherlands
Posts: 11,143
                     
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.

2016 saviors of the WTA

ANGELIQUE KERBER 63 75 DOMINIKA CIBULKOVA 60 60
LOUISA CHIRICO 60 60 IRINA-CAMELIA BEGU 63 62 KARIN KNAPP 63 67 60
Kworb is offline  
post #10 of 20 (permalink) Old Feb 2nd, 2012, 03:19 AM
Senior Member
 
silverwhite's Avatar
 
Join Date: May 2003
Location: Singapore
Posts: 92,490
                     
Re: Make your own GIF files

Kworb

BTW, do you work or study? You have so many things going on here and on Pulse
silverwhite is offline  
post #11 of 20 (permalink) Old Feb 2nd, 2012, 03:56 AM
Senior Member
 
silverwhite's Avatar
 
Join Date: May 2003
Location: Singapore
Posts: 92,490
                     
Re: Make your own GIF files

Feedback

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

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 is offline  
post #12 of 20 (permalink) Old Feb 2nd, 2012, 04:33 AM
Senior Member
 
silverwhite's Avatar
 
Join Date: May 2003
Location: Singapore
Posts: 92,490
                     
Re: Make your own GIF files

Oh no. I've another problem.

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
silverwhite is offline  
post #13 of 20 (permalink) Old Feb 2nd, 2012, 09:22 AM Thread Starter
Most Loved Member
 
Kworb's Avatar
 
Join Date: Jun 2005
Location: Netherlands
Posts: 11,143
                     
Re: Make your own GIF files

Quote:
Originally Posted by silverwhite View Post
Kworb

BTW, do you work or study? You have so many things going on here and on Pulse
Yes I work for a transport research company, doing programming, data processing, data analysis and mathematical modeling. 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 View Post
Feedback

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

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 View Post
Oh no. I've another problem.

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
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.

2016 saviors of the WTA

ANGELIQUE KERBER 63 75 DOMINIKA CIBULKOVA 60 60
LOUISA CHIRICO 60 60 IRINA-CAMELIA BEGU 63 62 KARIN KNAPP 63 67 60
Kworb is offline  
post #14 of 20 (permalink) Old Feb 2nd, 2012, 10:37 AM
Senior Member
 
silverwhite's Avatar
 
Join Date: May 2003
Location: Singapore
Posts: 92,490
                     
Re: Make your own GIF files

Quote:
Originally Posted by Kworb View Post
Yes I work for a transport research company, doing programming, data processing, data analysis and mathematical modeling. 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.


Didn't think of that
silverwhite is offline  
post #15 of 20 (permalink) Old Feb 5th, 2012, 02:34 PM
Senior Member
 
silverwhite's Avatar
 
Join Date: May 2003
Location: Singapore
Posts: 92,490
                     
Re: Make your own GIF files

Oh yes. Any chance to have the option of adding text, in a later version?
silverwhite is offline  
Reply

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the TennisForum.com forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in









Human Verification

In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.



Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page



Posting Rules  
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome