Page 1 of 1

Animation error

Posted: 28 May 2010, 14:02
by alibrandi
Dear all
I had I problem in video capturing. I followed the instruction in the previous post


"1) open ElmerPost
2) read the results in ReadModelFile menu selecting all the relevant timesteps
3) In Edit / Timestep Control Loop all the timesteps and check that your animation is working
To make an animation into a file
4) In r.h.s. corner choose Modules / savempg
5) In the Savempg control pop-up window choose the packing and parameters, and pres Start
6) In Edit / Timestep Control write the following string in the "Do after frame" box
savempg append
and pres "Loop"
7) In Savempg control pres Stop and you're done. "


But I wasn't able to get to point number 5 because I had this error after pressing Start in Savempg control

savempg: view port must be even

savempg: view port must be even

while executing
"savempg start $MPGFileName"
(procedure "savempg_start_stop" line 25)
invoked from within
"savempg_start_stop "
invoked from within
".savempg_control.start_stop_button.start_stop invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tk::ButtonUp" line 24)
invoked from within
"tk::ButtonUp .savempg_control.start_stop_button.start_stop"
(command bound to event)


What does this mean? and btw what do GOP-size and B-size mean?
Thanks
Alibran

Re: Animation error

Posted: 28 May 2010, 14:15
by hamed
Hi Ali
This problem is most likely due to sensitivity to the ratio of the vertical length of the ElmerPost window (Elmer Post Graphics window) to its horizontal size. So just simply re-size the window by mouse and and press loop button each time til it gets ok.
Regards, Hamed

Re: Animation error

Posted: 28 May 2010, 15:48
by raback
Hi

I guess the packaging algorithms prefer multiples of sixteen. So you could manually give e.g.

Code: Select all

winsize 1024 768
or some other combinations that fulfills this criterion.

-Peter

Re: Animation error

Posted: 28 May 2010, 16:30
by alibrandi
Yes the problem was the window size. 1024 x 768 it's fine. Also 1980 x 1050 it's working. Thanks