Author Topic: ffmpeg conversion ?  (Read 2336 times)

Offline Santacarl

  • Full Member
  • ***
  • Posts: 243
    • View Profile
ffmpeg conversion ?
« on: June 02, 2014, 08:35:06 PM »
Hi All,

I'm converting some animated gifs using the ffmpeg converter.  It converts as advertised. 

But I noticed when I insert it into NC and allow it to loop or run multiple times that every time it starts back on the -1 PNG I get an annoying little split second blackout/blink.  I did this on an animated gif that ended up converting to 60 png files.....so every time NC flips through to PNG #60 and goes back to PNG #-1 I get the blink...kinda annoying as I wanted it to run through several cycles...seamlessly.

Is there a way to circumvent this blink?

Thanks,

SC
« Last Edit: June 02, 2014, 08:36:56 PM by Santacarl »

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: ffmpeg conversion ?
« Reply #1 on: June 02, 2014, 10:39:37 PM »
Can u post the aninated gif and ffmpeg command u used?  Sounds like a bug, ill try to create the same 60 files and look for the glitch.

Sent from my SAMSUNG-SGH-I747 using Tapatalk

Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline Santacarl

  • Full Member
  • ***
  • Posts: 243
    • View Profile
Re: ffmpeg conversion ?
« Reply #2 on: June 02, 2014, 11:09:41 PM »
Thanks Sean...

Here's the command line:

ffmpeg –i silbell.gif –s 50x50 silbell-%d.png

The ani GIF is attached....

[attachment deleted by admin]

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: ffmpeg conversion ?
« Reply #3 on: June 16, 2014, 11:11:57 AM »
why are you converting the animated gif into a set of frames? Was it just to resize?

I use ezgif.com to resize animated gifs. here is your 50x50 resized to 25x25

http://nutcracker123.com/nutcracker/images/gif_25x25_2f439d.gif
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62