Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Suggestion: Better Animated Gif Output, Add diffusion or noise
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
play32
Posted: Jul 15 2010, 02:06 PM


Advanced Member


Group: Members
Posts: 43
Member No.: 23178
Joined: 4-March 08



Currently, the animated GIFs exported from VirtualDub look quite poor.

I know that GIF images can only have 256 colours, but bigger colour spots are completely "flat" when exported from VirtualDub. In Photoshop, you can choose some filters like diffusion or noise to "fake" some more colours and make them look like gradients.

It would be nice if VirtualDub had a better colour-reducing algorithm that adds some noise to the GIFs.
 
     Top
rjisinspired
Posted: Jul 16 2010, 12:09 AM


Advanced Member


Group: Members
Posts: 1256
Member No.: 20008
Joined: 12-October 06



It's called dither. I played with that in still photos but never dealt with it in Vdub

There is an example of gif that can go beyond 8 bit so it is possible to go higher than 8 bit, 256 colors;
http://phil.ipal.org/tc.html

I imported the 24 bit gif into Vdub, exported it and it came as visual blocks that are banded. I then did an image sequence export which created 172 images than imported those back into Vdub and it came out the same.

MPH-HC won't play gifs I guess. Says that the gif or video length is 24 hours, lol.

Under paint shop pro the frames look correct.
 
       Top
phaeron
Posted: Jul 16 2010, 04:32 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



VirtualDub doesn't currently write 256 color GIFs; it writes out the psuedo-color where up to 256 colors are used per frame, as rjisinspired notes.

Dithering in animation is actually fairly tricky to do well. I'll add it to the feature list, but I should warn you that the list is pretty long, so I don't know when I'd get around to it.
 
    Top
DarrellS
Posted: Dec 13 2010, 07:13 PM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



QUOTE (rjisinspired @ Jul 15 2010, 05:09 PM)
It's called dither.  I played with that in still photos but never dealt with it in Vdub

There is an example of gif that can go beyond 8 bit so it is possible to go higher than 8 bit, 256 colors;
http://phil.ipal.org/tc.html

I imported the 24 bit gif into Vdub, exported it and it came as visual blocks that are banded.  I then did an image sequence export which created 172 images than imported those back into Vdub and it came out the same. 

MPH-HC won't play gifs I guess.  Says that the gif or video length is 24 hours, lol.

Under paint shop pro the frames look correct.

I use Ifanview as my default GIF player. Works great.

I usually use Gif Moviegear 4 to create SWF or AVI out of 32 bit layered PSD files since they look a lot better than GIFs but I found that the PNG mod version of Virtualdub creates some pretty good looking animated PNGs.
 
     Top
MaxS
Posted: Dec 13 2010, 08:36 PM


Advanced Member


Group: Members
Posts: 83
Member No.: 24361
Joined: 13-October 08



QUOTE (DarrellS @ Dec 13 2010, 07:13 PM)
but I found that the PNG mod version of Virtualdub creates some pretty good looking animated PNGs.

I also have apng2gif converter, which creates nice single-palette GIF from APNG.

Useful for video->apng->gif
 
     Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
4 replies since Jul 15 2010, 02:06 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Development Forum