It is currently Fri Sep 18, 2026 6:52 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Video from image sequence
PostPosted: Sun Oct 16, 2011 11:19 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 07, 2010
Posts: 439
Location: home/Nixnine/.gimp-2.0/scripts/nixnine.scm
GIMP Version: 2.6.11
Operating System: Linux
OS Version: Linux Mint 9
GIMP Experience: Intermediate Level



Hey guys. I have some image sequences which I have been trying to convert to an avi with GAP. The conversion works great until I reverse the layer order. I want the sequence to play in reverse, so I reverse the layer order and run through the master videoencoder to convert the sequence to an avi. However, when I do this, the resulting clip plays, but with what looks like only the topmost layer. With the image sequence in order, the clip is fine and runs through all 250 frames. Any ideas on this? Seems odd that it creates the clip fine until reversed. This wouldn't have anything to do with layer naming/numbering, I don't believe (But I could be wrong. That has happened a time or two in my life. haha).

And for those wondering, I have tried to use the sequences in my video editor, but a couple are showing up as "Invalid". My video editor is the first choice for this type work, but a couple have had to be converted with gimp (very versatile gimp is).

Thanks,
Nixnine

_________________
I refuse to be confused, but am often confused at this refusal.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Video from image sequence
PostPosted: Sun Oct 16, 2011 12:48 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Whenever GAP deals with layers, it uses the numbering scheme of "0" being the topmost layer, "1" is the next one done, and so on. If you are doing video encoding based on a multi-layer image, you need to make sure that the starting and ending layers specified correspond to the above scheme.

In other words, you should not have to reverse the order of your layers (if by this you mean that you changed their positions in the layerstack), all you need to do is swap the 'From Frame' and 'To Frame' values in GAP's video encoder.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Video from image sequence
PostPosted: Sun Oct 16, 2011 3:24 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Oct 07, 2010
Posts: 439
Location: home/Nixnine/.gimp-2.0/scripts/nixnine.scm
Well, Saul, seems you hit that one. I swapped the from and to numbers and that solved the problem. Guess I need to pay more attention to all the script options, haha.

Thanks again.

_________________
I refuse to be confused, but am often confused at this refusal.


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group