Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
IOhannes m zmoelnig(e)k dio: altern wrote: hi the video does not seem corrupted i can open it with VLC, no problem. I oh and i forgot: vlc uses different decoding libraries than Gem; being able to playback your movies (with Gem) on one computer and not on the other, could of course mean, that you haven't installed the proper codecs for the library Gem is using (but ok for vlc...) thanks for explaining, i did not know this. have you installed the w32codecs package? (this is - at least on debian - a way to get loads of codecs; i don't know how this works on ubuntu) no results with $ apt-cache search w32codecs i will try to find if it has some other name in ubuntu ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
hi IOhannes m zmoelnig(e)k dio: altern wrote: hi the video does not seem corrupted i can open it with VLC, no problem. I tried to find the reason for the error and I found that I can use the first frame but as soon as I go the the second or further it doesnt display it. is lqtplay able to playback this movie? aviplay? yes it plays ok with lqtplay. which decoding libraries is Gem linked against? (you can see this when you create the first [pix_film] object. it should say something like: pix_film:: quicktime support pix_film:: libmpeg3 support pix_film:: libaviplay support pix_film:: FFMPEG support) pix_film:: quicktime support pix_film:: libmpeg3 support pix_film:: libaviplay support pix_film:: libmpeg support btw. i am using pix_movie instead of pix_film to play the video, i am not sure about the difference between both at the moment. I am going to check the docs now... which decoding library is used for the movie? you should be able to find this out by looking on the pd-console when the video is opened (depending on the version and verbosity of Gem) e.g. i get something like: [pix_filmNEW]: opening /Net/iem/Benutzer/zmoelnig/src/cvs/pd-gem/Gem/examples/data/homer.avi with format 1908 [pix_filmNEW]: ... [pix_filmNEW]: ... [pix_filmNEW]: loaded file: /Net/iem/Benutzer/zmoelnig/src/cvs/pd-gem/Gem/examples/data/homer.avi with 85 frames (160x120) at 25.00 fps which means that the famous homer.avi has been loaded by the 3rd option (libaviplay), after the 1st two options failed (indicated by ...) I get [pix_movieNEW]: opening /home/r2d2/ixi/pd/ehu/ehu/../train.mov with format 1908 [pix_movieNEW]: ... [pix_movieNEW]: ... [pix_movieNEW]: loaded file: /home/r2d2/ixi/pd/ehu/ehu/../train.mov with 108 frames (240x180) at 12.019231 fps then it opens with libaviplay i guess ... btw 2 . the quality of the video has dropped since i upgraded to Gutsy. The webcam image was already bad before, but now with Gutsy the compression boxes are far bigger. The image is far more poor now. I guess it has to do with the libraries that do the uncompressing. btw. passing mode 0 to pix_texture crashed PD. I was trying this to now that is bad. did you send the mode 0 message before you started rendering or after you got several gl invalid enumerant errors? it is connected to a loadbang so it should be before starting rendering. critical area. Bad because I dont have the time before the installation opening. sorry to hear that. we found another computer that runs the patches fine, it is actually newer and faster so it was good in the end :) thanks enrike ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
On Thu, 2007-11-01 at 09:30 +0100, altern wrote: IOhannes m zmoelnig(e)k dio: altern wrote: hi the video does not seem corrupted i can open it with VLC, no problem. I oh and i forgot: vlc uses different decoding libraries than Gem; being able to playback your movies (with Gem) on one computer and not on the other, could of course mean, that you haven't installed the proper codecs for the library Gem is using (but ok for vlc...) thanks for explaining, i did not know this. have you installed the w32codecs package? (this is - at least on debian - a way to get loads of codecs; i don't know how this works on ubuntu) no results with $ apt-cache search w32codecs i will try to find if it has some other name in ubuntu check mplayers homepage. afaik, they distribute codec packages, that also contain the w32codecs, that are used by libavicodec. roman ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
Roman Haefeli schreef: On Thu, 2007-11-01 at 09:30 +0100, altern wrote: IOhannes m zmoelnig(e)k dio: altern wrote: hi the video does not seem corrupted i can open it with VLC, no problem. I oh and i forgot: vlc uses different decoding libraries than Gem; being able to playback your movies (with Gem) on one computer and not on the other, could of course mean, that you haven't installed the proper codecs for the library Gem is using (but ok for vlc...) thanks for explaining, i did not know this. have you installed the w32codecs package? (this is - at least on debian - a way to get loads of codecs; i don't know how this works on ubuntu) no results with $ apt-cache search w32codecs i will try to find if it has some other name in ubuntu check mplayers homepage. afaik, they distribute codec packages, that also contain the w32codecs, that are used by libavicodec. roman for w32codecs add medibuntu to your repositories: http://www.medibuntu.org/. m ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
mik(e)k dio: Roman Haefeli schreef: On Thu, 2007-11-01 at 09:30 +0100, altern wrote: IOhannes m zmoelnig(e)k dio: altern wrote: hi the video does not seem corrupted i can open it with VLC, no problem. I oh and i forgot: vlc uses different decoding libraries than Gem; being able to playback your movies (with Gem) on one computer and not on the other, could of course mean, that you haven't installed the proper codecs for the library Gem is using (but ok for vlc...) thanks for explaining, i did not know this. have you installed the w32codecs package? (this is - at least on debian - a way to get loads of codecs; i don't know how this works on ubuntu) no results with $ apt-cache search w32codecs i will try to find if it has some other name in ubuntu check mplayers homepage. afaik, they distribute codec packages, that also contain the w32codecs, that are used by libavicodec. roman for w32codecs add medibuntu to your repositories: http://www.medibuntu.org/. thanks!! ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
hi the video does not seem corrupted i can open it with VLC, no problem. I tried to find the reason for the error and I found that I can use the first frame but as soon as I go the the second or further it doesnt display it. btw. passing mode 0 to pix_texture crashed PD. I was trying this to avoid the gl invalid enumerant problem i am getting on windows. I guess I might have to re construct my patch step by step to find the critical area. Bad because I dont have the time before the installation opening. thanks enrike Roman Haefeli(e)k dio: On Wed, 2007-10-31 at 05:23 +0100, Thomas Mayer wrote: Roman Haefeli wrote: On Tue, 2007-10-30 at 13:38 +0100, Thomas Mayer wrote: Maybe the video is corrupt, have you tried transcoding the video with mencoder or transcode? Try $ mencoder -ovc xvid -xvidencopts bitrate=800 -oac copy -o train.avi train.mov and load the film train.avi hi thomas maybe i missed something, but i don't quite see why you are suggesting to reencode the movie to avi-container with xvid codec. I don't have much experience with different codecs/containers and Gem, but - as I said - my first guess is, that the movie is somehow corrupt. So 1. reencoding the movie would be an option to check for this, 2. mencoder is easy to install on a Linux system and 3. this is a setting that works on my system, as mencoder with -ovc lavc produces movies, that Gem (pd-extended 0.39-3 on Debian) can't load. That was merely an idea for troubleshooting. lavc is a codec family, not a codec. you need to specify a codec with '-ovc lavc -lavcopts vcodec=codecname'. however, i didn't want to suggest, that i do _not_ believe, that the file could be corrupt, but i would have tried a different codec first, that is more likely to work. my suggestion is this: mencoder input.mov -ovc lavc -lavcopts vcodec=mjpeg -nosound -of lavf -lavfopts format=mov -o output.mov # if you use an older version of mencoder, you probably need to add a # flag called 'i_certify_not_to_use_b_frames' (don't know the exact name # but you'll find it in the manual. (in one line) this works at least here and some other people reported, that it works. it would be interesting to know, if it also helps in enrike's case roman ___ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
altern wrote: hi the video does not seem corrupted i can open it with VLC, no problem. I oh and i forgot: vlc uses different decoding libraries than Gem; being able to playback your movies (with Gem) on one computer and not on the other, could of course mean, that you haven't installed the proper codecs for the library Gem is using (but ok for vlc...) have you installed the w32codecs package? (this is - at least on debian - a way to get loads of codecs; i don't know how this works on ubuntu) mfga.dsr IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
hello all, where can I search for info on what does CLAMP() do in gem external codes, i see it everywhere but don't know where to look. best, J On 10/31/07, IOhannes m zmoelnig [EMAIL PROTECTED] wrote: altern wrote: hi the video does not seem corrupted i can open it with VLC, no problem. I tried to find the reason for the error and I found that I can use the first frame but as soon as I go the the second or further it doesnt display it. is lqtplay able to playback this movie? aviplay? which decoding libraries is Gem linked against? (you can see this when you create the first [pix_film] object. it should say something like: pix_film:: quicktime support pix_film:: libmpeg3 support pix_film:: libaviplay support pix_film:: FFMPEG support) which decoding library is used for the movie? you should be able to find this out by looking on the pd-console when the video is opened (depending on the version and verbosity of Gem) e.g. i get something like: [pix_filmNEW]: opening /Net/iem/Benutzer/zmoelnig/src/cvs/pd-gem/Gem/examples/data/homer.avi with format 1908 [pix_filmNEW]: ... [pix_filmNEW]: ... [pix_filmNEW]: loaded file: /Net/iem/Benutzer/zmoelnig/src/cvs/pd-gem/Gem/examples/data/homer.avi with 85 frames (160x120) at 25.00 fps which means that the famous homer.avi has been loaded by the 3rd option (libaviplay), after the 1st two options failed (indicated by ...) btw. passing mode 0 to pix_texture crashed PD. I was trying this to now that is bad. did you send the mode 0 message before you started rendering or after you got several gl invalid enumerant errors? critical area. Bad because I dont have the time before the installation opening. sorry to hear that. fgmasdr. IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Jaime E Oliver LR [EMAIL PROTECTED] www.realidadvisual.org/jaimeoliver www-crca.ucsd.edu/ www.realidadvisual.org 9168 Regents Rd. Apt. G La Jolla, CA 92037 USA ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
altern wrote: hi the video does not seem corrupted i can open it with VLC, no problem. I tried to find the reason for the error and I found that I can use the first frame but as soon as I go the the second or further it doesnt display it. is lqtplay able to playback this movie? aviplay? which decoding libraries is Gem linked against? (you can see this when you create the first [pix_film] object. it should say something like: pix_film:: quicktime support pix_film:: libmpeg3 support pix_film:: libaviplay support pix_film:: FFMPEG support) which decoding library is used for the movie? you should be able to find this out by looking on the pd-console when the video is opened (depending on the version and verbosity of Gem) e.g. i get something like: [pix_filmNEW]: opening /Net/iem/Benutzer/zmoelnig/src/cvs/pd-gem/Gem/examples/data/homer.avi with format 1908 [pix_filmNEW]: ... [pix_filmNEW]: ... [pix_filmNEW]: loaded file: /Net/iem/Benutzer/zmoelnig/src/cvs/pd-gem/Gem/examples/data/homer.avi with 85 frames (160x120) at 25.00 fps which means that the famous homer.avi has been loaded by the 3rd option (libaviplay), after the 1st two options failed (indicated by ...) btw. passing mode 0 to pix_texture crashed PD. I was trying this to now that is bad. did you send the mode 0 message before you started rendering or after you got several gl invalid enumerant errors? critical area. Bad because I dont have the time before the installation opening. sorry to hear that. fgmasdr. IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] GEM error on latest pd extended with Ubuntu Gutsy
Hi I am getting this GEM error that was not there before changing to latest PD extended Hans sent last week to the list, with Ubuntu Gutsy (Ubuntu Studio flavor, kernel 2.6.22-14-generic #1 SM). I am trying to play a quicktime video, before there was no problem at all, now it doesnt display anything and sometimes it crashes when trying to open the file. This is the PD output in PD main window. [pix_movieNEW]: opening /home/r2d2/ixi/pd/ehu/ehu/../train.mov with format 1908 [pix_movieNEW]: ... [pix_movieNEW]: ... [pix_movieNEW]: loaded file: /home/r2d2/ixi/pd/ehu/ehu/../train.mov with 108 frames (240x180) at 12.019231 fps Direct Rendering enabled! GEM: Start rendering GL: invalid value and this is the error i get if i run it from the terminal $ pd video-help.pd tk scaling is 1.20094562648 init : Avifile RELEASE-0.7.47-070916-12:47-4.1.3 init : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm up init : 1694.91 MHz Intel(R) Pentium(R) 4 CPU 1.70GHz processor detected [h263 @ 0xb6dd4614]run overflow at 0x0 i:1 [h263 @ 0xb6dd4614]Error at MB: 0 [h263 @ 0xb6dd4614]run overflow at 0x3 i:1 [h263 @ 0xb6dd4614]Error at MB: 69 [h263 @ 0xb6dd4614]run overflow at 0x6 i:1 [h263 @ 0xb6dd4614]Error at MB: 138 [h263 @ 0xb6dd4614]run overflow at 0x9 i:1 [h263 @ 0xb6dd4614]Error at MB: 207 [h263 @ 0xb6dd4614]run overflow at 0x12 i:1 [h263 @ 0xb6dd4614]Error at MB: 276 [h263 @ 0xb6dd4614]run overflow at 0x15 i:1 [h263 @ 0xb6dd4614]Error at MB: 345 [h263 @ 0xb6dd4614]concealing 396 DC, 396 AC, 396 MV errors I have been trying to find if there is some codec or lib i need to install but i could not find any. thanks in advance for any help enrike ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
Hello Enrike, altern wrote: Hi I am getting this GEM error that was not there before changing to latest PD extended Hans sent last week to the list, with Ubuntu Gutsy (Ubuntu Studio flavor, kernel 2.6.22-14-generic #1 SM). I am trying to play a quicktime video, before there was no problem at all, now it doesnt display anything and sometimes it crashes when trying to open the file. and this is the error i get if i run it from the terminal $ pd video-help.pd tk scaling is 1.20094562648 init : Avifile RELEASE-0.7.47-070916-12:47-4.1.3 init : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm up init : 1694.91 MHz Intel(R) Pentium(R) 4 CPU 1.70GHz processor detected [h263 @ 0xb6dd4614]run overflow at 0x0 i:1 [h263 @ 0xb6dd4614]Error at MB: 0 [h263 @ 0xb6dd4614]run overflow at 0x3 i:1 [h263 @ 0xb6dd4614]Error at MB: 69 [h263 @ 0xb6dd4614]run overflow at 0x6 i:1 [h263 @ 0xb6dd4614]Error at MB: 138 [h263 @ 0xb6dd4614]run overflow at 0x9 i:1 [h263 @ 0xb6dd4614]Error at MB: 207 [h263 @ 0xb6dd4614]run overflow at 0x12 i:1 [h263 @ 0xb6dd4614]Error at MB: 276 [h263 @ 0xb6dd4614]run overflow at 0x15 i:1 [h263 @ 0xb6dd4614]Error at MB: 345 [h263 @ 0xb6dd4614]concealing 396 DC, 396 AC, 396 MV errors I have been trying to find if there is some codec or lib i need to install but i could not find any. Maybe the video is corrupt, have you tried transcoding the video with mencoder or transcode? Try $ mencoder -ovc xvid -xvidencopts bitrate=800 -oac copy -o train.avi train.mov and load the film train.avi cu Thomas -- Prisons are needed only to provide the illusion that courts and police are effective. They're a kind of job insurance. (Leto II. in: Frank Herbert, God Emperor of Dune) http://thomas.dergrossebruder.org/ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
On Tue, 2007-10-30 at 13:38 +0100, Thomas Mayer wrote: Maybe the video is corrupt, have you tried transcoding the video with mencoder or transcode? Try $ mencoder -ovc xvid -xvidencopts bitrate=800 -oac copy -o train.avi train.mov and load the film train.avi hi thomas maybe i missed something, but i don't quite see why you are suggesting to reencode the movie to avi-container with xvid codec. usually it is a bad thing to do, because xvid codec, that is quite heavy cpu-wise to decode (ok, on decent computers it is not that much an issue anymore), and - what is much more important - it is a so called interframe codec, which means, that many frames are dependent on each other. this basically means, that the codec is optimized to be played only forward and at 1x speed. playing at a different speed or backwards can either produce funny artefacts or not work at all. usually when using a video in gem, having high flexibility and low cpu cost is much more important than small file size. that is why so called intraframe codecs are rather recommended for this kind of task. 'intraframe' means, that each frame is encoded separately, which makes it very easy to access and render random frames. i think most supported intraframe codecs are 'jpeg', 'mjpeg' and 'dv'. yo, i am not very much an expert in this field, so i might be not very precise in everything, but i hope i could give some idea, why generally you rather not want xvid as movie codec to be used in gem (although you are especially looking for funny effects). roman ___ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
On Wed, 2007-10-31 at 03:29 +0100, Roman Haefeli wrote: On Tue, 2007-10-30 at 13:38 +0100, Thomas Mayer wrote: Maybe the video is corrupt, have you tried transcoding the video with mencoder or transcode? Try $ mencoder -ovc xvid -xvidencopts bitrate=800 -oac copy -o train.avi train.mov and load the film train.avi hi thomas maybe i missed something, but i don't quite see why you are suggesting to reencode the movie to avi-container with xvid codec. usually it is a bad thing to do, because xvid codec, that is quite heavy cpu-wise to decode (ok, on decent computers it is not that much an issue anymore), and - what is much more important - it is a so called interframe codec, which means, that many frames are dependent on each other. this basically means, that the codec is optimized to be played only forward and at 1x speed. playing at a different speed or backwards can either produce funny artefacts or not work at all. usually when using a video in gem, having high flexibility and low cpu cost is much more important than small file size. that is why so called intraframe codecs are rather recommended for this kind of task. 'intraframe' means, that each frame is encoded separately, which makes it very easy to access and render random frames. i think most supported intraframe codecs are 'jpeg', 'mjpeg' and 'dv'. yo, i am not very much an expert in this field, so i might be not very precise in everything, but i hope i could give some idea, why generally you rather not want xvid as movie codec to be used in gem (although you are especially looking for funny effects). argh, sorry for my english. i wanted to say: excepting you are looking for funny effects. roman ___ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
Roman Haefeli wrote: On Tue, 2007-10-30 at 13:38 +0100, Thomas Mayer wrote: Maybe the video is corrupt, have you tried transcoding the video with mencoder or transcode? Try $ mencoder -ovc xvid -xvidencopts bitrate=800 -oac copy -o train.avi train.mov and load the film train.avi hi thomas maybe i missed something, but i don't quite see why you are suggesting to reencode the movie to avi-container with xvid codec. I don't have much experience with different codecs/containers and Gem, but - as I said - my first guess is, that the movie is somehow corrupt. So 1. reencoding the movie would be an option to check for this, 2. mencoder is easy to install on a Linux system and 3. this is a setting that works on my system, as mencoder with -ovc lavc produces movies, that Gem (pd-extended 0.39-3 on Debian) can't load. That was merely an idea for troubleshooting. cu Thomas -- Prisons are needed only to provide the illusion that courts and police are effective. They're a kind of job insurance. (Leto II. in: Frank Herbert, God Emperor of Dune) http://thomas.dergrossebruder.org/ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM error on latest pd extended with Ubuntu Gutsy
On Wed, 2007-10-31 at 05:23 +0100, Thomas Mayer wrote: Roman Haefeli wrote: On Tue, 2007-10-30 at 13:38 +0100, Thomas Mayer wrote: Maybe the video is corrupt, have you tried transcoding the video with mencoder or transcode? Try $ mencoder -ovc xvid -xvidencopts bitrate=800 -oac copy -o train.avi train.mov and load the film train.avi hi thomas maybe i missed something, but i don't quite see why you are suggesting to reencode the movie to avi-container with xvid codec. I don't have much experience with different codecs/containers and Gem, but - as I said - my first guess is, that the movie is somehow corrupt. So 1. reencoding the movie would be an option to check for this, 2. mencoder is easy to install on a Linux system and 3. this is a setting that works on my system, as mencoder with -ovc lavc produces movies, that Gem (pd-extended 0.39-3 on Debian) can't load. That was merely an idea for troubleshooting. lavc is a codec family, not a codec. you need to specify a codec with '-ovc lavc -lavcopts vcodec=codecname'. however, i didn't want to suggest, that i do _not_ believe, that the file could be corrupt, but i would have tried a different codec first, that is more likely to work. my suggestion is this: mencoder input.mov -ovc lavc -lavcopts vcodec=mjpeg -nosound -of lavf -lavfopts format=mov -o output.mov # if you use an older version of mencoder, you probably need to add a # flag called 'i_certify_not_to_use_b_frames' (don't know the exact name # but you'll find it in the manual. (in one line) this works at least here and some other people reported, that it works. it would be interesting to know, if it also helps in enrike's case roman ___ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list