Jump to content
  • Advertisement
Sign in to follow this  
hlnsi

AVI question

This topic is 5465 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello all, I'm creating a AVI file of my 3D scene, and I was wondering if someone knew if it's possible to make the file automatically loop when played back in an arbitrary avi player? cheers, hlnsi

Share this post


Link to post
Share on other sites
Advertisement
The AVI format doesn't include informatrion for looping. The header always contains an exact number of frames that will be shown, it's simply chance that some common AVI players have a looping function added. What you might want to investigate is whether you can use an ASX file (think of it as a Microsoft batch file for media files) to cause the AVI to loop in Media Player automatically.

Share this post


Link to post
Share on other sites
Thanks for the reply!

What about if I would save, lets say 16 frames in the AVI... how could I then, if it's at all possible, loop these 16 frames for example 10 times, without storing them more than once in the file?

Is there for example some frame-indexbuffer that could be filled in in the AVI file format?

Thanx, Hlnsi

Share this post


Link to post
Share on other sites
No. No such mechanism exists in the AVI format for reusing specific frames (it might be possible to mess with the index chunk, but that wouldn't work right on most players).

Share this post


Link to post
Share on other sites
You could also distribute a .avs file along with your .avi, and then other users of AviSynth could just 'play' that script file instead.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!