jit.qt.movie resolution trouble

lochoi's icon

hello,
i use jit.qt.movie to play a 720x576 JPGA video of about 6seconds, and when i put it on full screen the resolution is worse than it should be, much pixels...there is no info of dimensions stated on the jit.qt.movie object.
i tried writing 720x576 in the object, but then the fps is too slow, very slow.
i thought if u didn't state the dimensions in the jit.qt.movie it would read automatically the file's dimensions.
i tried with the same file at 1024x768, and the image full screen looks the same , somewhat like a 320x240...?
any help will be appreciated.
kranky

Joshua Kit Clayton's icon

No. jit.qt.movie defaults to 320x240. It can auto adapt to movie size
with @adapt 1, as documented in the html object reference.

If you're looking for improved performance at higher resolutions,
please see the colormode uyvy options discussed in the Jitter 1.5
tutorial on colorspace. This can provide a significant boost. You can
also play a movie back direct to window. If you want to do realtime
processing at that resolution, you should take a look at jit.gl.slab.

Also note that as of Jitter 1.5 you can easily accomplish HW
accelerated interpolation in jit.window with @interp 1. With earlier
(and current) versions you can accomplish using jit.gl.videoplane.

Hope this helps.

-Joshua

lochoi's icon

oh you're good!!
thanx a lot...i was just trying @interp 1 seems to help...gonna do now the rest u wrote ...thanx again

Carl Emil Carlsen's icon