Animation error

Post processing utility for Elmer
Post Reply
alibrandi
Posts: 9
Joined: 10 May 2010, 12:26

Animation error

Post 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
hamed
Posts: 110
Joined: 12 Oct 2009, 18:28

Re: Animation error

Post 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
raback
Site Admin
Posts: 3749
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Animation error

Post 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
alibrandi
Posts: 9
Joined: 10 May 2010, 12:26

Re: Animation error

Post by alibrandi »

Yes the problem was the window size. 1024 x 768 it's fine. Also 1980 x 1050 it's working. Thanks
Post Reply