It seems to be a problem specific to the DV-PAL codec.
I tried with an avi compressed with PIC-Video MJPEG, and it renders OK with gem-CVS20060412-NT-i686-bin, as well as with the unstable gem-0.90.1-W32-i586-bin version of 2004.
Also, I tried with pix_film->pixdraw, and it shows the same behaviour as with pix_movie->rectangle or pix_film->pix_texture->rectangle. I.e., dv-pal avi's are rendered with degraded quality on the new version, while mjpeg avi's are rendered ok.
So it seems there's something wrong in the way pix_film/pix_movie decodes dv-pal avi's.
Note that the older version of GEM decodes them fine, and they look just fine on any other player, so it is not an issue of the codec, but an issue with GEM specific to that codec, introduced at some point after august 2004.
My only workaround at the moment is to re-code all videos with MJPEG, which will be quite boring. Does anyone know of another solution?
Thanks Matteo Sisti Sette
--------- Original Message -------- Da: "Matteo.sistisette" matteo.sistisette@email.it To: "gem-dev@iem.at" gem-dev@iem.at Oggetto: Re: [GEM-dev] can't get pix_movie working (follow-up) Data: 14/06/07 13:29
I tried gem-CVS20060412-NT-i686-bin and it works (renders the video and does not show the error at every frame - only appears once).
However, the video is rendered at a lower quality than with version gem-0.90.1-W32-i586-bin.
To give you an idea of what I mean with "lower quality", it looks like just as if the video had a higher compression / lower bitrate.
It is definitely NOT a matter of "only solid colors". I don't know whether it is a matter of decoding (since looks like higher compression) or of scaling/interpolation (since it may be said that it looks more "pixelated") - I am displaying a 720x576 (non interlaced) video on a 800x600 window.
I'm testing all on the same machine with the same patch and same video: I only switch between gem versions.
On gem-0.90.1-W32-i586-bin, the video renders exactly as I can see it in the Windows Media Player or on any other player: it renders "as it is" at its full quality. Which is how it should be rendered. But that version of GEM is very old and unstable: it sometimes crashes. That's why I'd like to be able to use the latest version.
Any help will be greatly appreciated
Thanks a lot
Matteo Sisti Sette
--------- Original Message -------- Da: "Matteo.sistisette" matteo.sistisette@email.it To: "gem-dev@iem.at" gem-dev@iem.at Oggetto: [GEM-dev] can't get pix_movie working Data: 14/06/07 13:12
Hi,
I am a user, not a developer, so I hope I'm not OT here, it is the only gem-specific m/l I know of.
I am on Windows XP, on a Core Duo, with PD 0.40.1.
Up to yesterday, I was using GEM version 0.90, the one that is listed here http://gem.iem.at/download.html as the current windows version, though it dates back to 2004. The attached patch worked perfectly, though GEM often crashed when closing the patch, or opening it again, or when loading the video file the n-th time with n>1. Which used to happen with just any patch using pix_movie.
Now I have installed version "gem-CVS20060914-W32-i686-bin", and the attached patch doesn't work at all!
The main patch is test_onevideo_simple.pd, it uses the abstraction onevideo.pd which is also attached.
It is supposed to load a video and play it looped at full window size. It used to work fine on the old gem version.
Now, on the new gem version (nothing else changed), the rectangle appears white without the video as a texture, and at every frame (when the frame number is sent to the right inlet of pix_movie), the following error message is printed on the main PD window:
"GL: numeración no válida" which means "GL: invalid numbering"
I suppose the message is generated by the operating system or some driver since I am on a spanish machine.
The frame number that is input to the pix_movie is just correct (which is obvious, since the patch is unchanged).
Any idea?
==== At startup, the following text is shown:
GEM: Graphics Environment for Multimedia GEM: ver: 0.91-cvs GEM: compiled: Sep 8 2006 GEM: maintained by IOhannes m zmoelnig GEM: Authors : Mark Danks (original version on irix/windows) GEM: Chris Clepper (macOS-X) GEM: Daniel Heckenberg (windows) GEM: James Tittle (macOS-X) GEM: IOhannes m zmoelnig (linux/windows) GEM: using SSE2 optimization Gem Man: QT init OK
==== When loading the patch:
MAN::resetState entered pix_film:: directshow support handle 0 14F4330 filmQT created pix_film:: quicktime support handle 1 14F44E0 handle 2 14F4598 handle 3 14F4638 handle 4 14F46D0 handle 5 14F4770 handle 6 14F4818
==== And when [open(ing the video file:
pix_filmNEW : openMessCallback closing 8 handles close 7 close 6 close 5 close 4 close 3 close 2 close 1 close 0 closed opening C:/membranaPDL/GEM/cuco06.avi with format 1908 trying handle 0: 14F4330 Trying DirectShow pix_movieDS: xsize 720 ysize 576 csize got handle = 14F4330 GEM: pix_film: Loaded file: C:/membranaPDL/GEM/cuco06.avi with 13 frames (720x576) at -1.000000 fps
I hope someone will help.
Thanks in advance Matteo Sisti Sette
-- Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor: Logos Finanziaria SPA. Società di credito ad erogazione diretta. Fino a 30.000 euro in 24 ore! Clicca e scopri come
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2909&d=20070614
_______________________________________________ GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor: Prestiti Online. Scopri subito se sei finanziabile. in 24 ore senza spese né anticipi, clicca qui
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2908&d=20070615