What is the simplest way to export a particle animation to video?
And, how does the demo export work, is there a documentation?
I dont understand the example ?
simple way to export
- NightRadio
- Site Admin
- Posts: 3944
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: simple way to export
Probably the simplest way is described in examples/graphics/save_avi_mjpeg.pixiWhat is the simplest way to export a particle animation to video?
If you need more options - check lib/demo.pixi and examples in examples/graphics/demoscene
Then just add demo_video_export = "video.avi" in the beginning of your demo
Re: simple way to export
Thanks! The mjpeg export drmo is exactly what I was looking for.
Re: simple way to export
When I test the save mjpeg example, I can not open the created test video
and get an error message:
Unexpected Array Index out of bounds index = 288 length 288
I assume this has to do with the audio buffer but I am not sure
and I am not sure how to omitt the audio part properly
and get an error message:
Unexpected Array Index out of bounds index = 288 length 288
I assume this has to do with the audio buffer but I am not sure
and I am not sure how to omitt the audio part properly
Re: simple way to export
I now think its the screen dimension
which make the video 480 × 288
I assume this is not supported.
which make the video 480 × 288
I assume this is not supported.
- NightRadio
- Site Admin
- Posts: 3944
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: simple way to export
I tried Just Player and VLC on Android.
I only have Android so I cant test on other platforms.
I think both should play mjpeg, but I didnt test with other files. What I tried is to change the screen size in the demo file, but the error message stays the same, same message with index 288, although the file size changes accordingly.
Maybe a problem with the codec on android and not the file.
I only have Android so I cant test on other platforms.
I think both should play mjpeg, but I didnt test with other files. What I tried is to change the screen size in the demo file, but the error message stays the same, same message with index 288, although the file size changes accordingly.
Maybe a problem with the codec on android and not the file.
Re: simple way to export
Never mind: it DOES work with VLC player, it was just user error.
It does not work with Just Player but thats not important.
It does not work with Just Player but thats not important.