Have you checked RAM and hard disk usage while playing the movies?  Is it just a specific part of certain clips that slow down or do all clips do it?<br><br><div class="gmail_quote">On Sat, Aug 15, 2009 at 1:32 PM, Jack <span dir="ltr">&lt;<a href="mailto:jack@rybn.org">jack@rybn.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
I come back with my problem.<br>
I try different option on the nvidia driver (180.44) in the part opengl<br>
settings and antialiasing settings but nothing new. I always get<br>
slowings down on my movies.<br>
They seem to start during long scenes of the movie (no logic here, i<br>
know, but it is what i observe).<br>
Any help ?<br>
++<br>
<br>
Jack<br>
<br>
<br>
Le lundi 10 août 2009 à 14:43 +0200, Jack a écrit :<br>
<div><div></div><div class="h5">&gt; Le lundi 10 août 2009 à 13:23 +0200, Matteo Sisti Sette a écrit :<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; Maybe this won&#39;t help at all (I only use gem on windows), but just in<br>
&gt; &gt; case it does:<br>
&gt; &gt;<br>
&gt; &gt; Does it work as expected if you disable the &quot;auto&quot; mode and pass the<br>
&gt; &gt; frame number to the right outlet?<br>
&gt;<br>
&gt; I done a counter with a metro and not with gemhead because the framerate<br>
&gt; pass from 25 to 7 then back to 25, etc. Then it should not change<br>
&gt; anything compare to [auto 1(.<br>
&gt; On Linux, the movie is played at each frame render but the rate is not<br>
&gt; really constant. It was much better on my old Powerbook G4 and MacOSX :)<br>
&gt; Is there a minipulation to do on the NVidia driver (v. 180.44) ?<br>
&gt; I know that each frame is render when the buffer is ready with OpenGL<br>
&gt; (swap buffer in double buffer). But here the swap is very very slow on<br>
&gt; my brand new Qosmio with a NVidia 9700M GTS ! :)))<br>
&gt; And this is the same in single buffer mode with :<br>
&gt;<br>
&gt; [1 (<br>
&gt; |<br>
&gt; [metro 40]<br>
&gt; |<br>
&gt; [t b b]<br>
&gt; |     |<br>
&gt; |     to right inlet of pix_film<br>
&gt; |<br>
&gt; to gemhead<br>
&gt;<br>
&gt;<br>
&gt; Play a movie with the help patch of [pix_film] at a almost constant rate<br>
&gt; would not be possible on Linux, i really don&#39;t think that it is correct.<br>
&gt; So, if someone can help me, please ! ;)<br>
&gt; Thanx a lot.<br>
&gt; ++<br>
&gt;<br>
&gt; Jack<br>
&gt;<br>
&gt;<br>
&gt; PS : some informations from GEM about my config. :<br>
&gt;<br>
&gt; GEM information<br>
&gt; ---------------<br>
&gt; OpenGL info<br>
&gt; Vendor: NVIDIA Corporation<br>
&gt; Renderer: GeForce 9700M GTS/PCI/SSE2<br>
&gt; Version: 3.0.0 NVIDIA 180.44<br>
&gt; Extensions: GL_ARB_color_buffer_float<br>
&gt; Extensions: GL_ARB_depth_buffer_float<br>
&gt; Extensions: GL_ARB_depth_texture<br>
&gt; Extensions: GL_ARB_draw_buffers<br>
&gt; Extensions: GL_ARB_draw_instanced<br>
&gt; Extensions: GL_ARB_fragment_program<br>
&gt; Extensions: GL_ARB_fragment_program_shadow<br>
&gt; Extensions: GL_ARB_fragment_shader<br>
&gt; Extensions: GL_ARB_half_float_pixel<br>
&gt; Extensions: GL_ARB_half_float_vertex<br>
&gt; Extensions: GL_ARB_framebuffer_object<br>
&gt; Extensions: GL_ARB_geometry_shader4<br>
&gt; Extensions: GL_ARB_imaging<br>
&gt; Extensions: GL_ARB_map_buffer_range<br>
&gt; Extensions: GL_ARB_multisample<br>
&gt; Extensions: GL_ARB_multitexture<br>
&gt; Extensions: GL_ARB_occlusion_query<br>
&gt; Extensions: GL_ARB_pixel_buffer_object<br>
&gt; Extensions: GL_ARB_point_parameters<br>
&gt; Extensions: GL_ARB_point_sprite<br>
&gt; Extensions: GL_ARB_shadow<br>
&gt; Extensions: GL_ARB_shader_objects<br>
&gt; Extensions: GL_ARB_shading_language_100<br>
&gt; Extensions: GL_ARB_texture_border_clamp<br>
&gt; Extensions: GL_ARB_texture_buffer_object<br>
&gt; Extensions: GL_ARB_texture_compression<br>
&gt; Extensions: GL_ARB_texture_cube_map<br>
&gt; Extensions: GL_ARB_texture_env_add<br>
&gt; Extensions: GL_ARB_texture_env_combine<br>
&gt; Extensions: GL_ARB_texture_env_dot3<br>
&gt; Extensions: GL_ARB_texture_float<br>
&gt; Extensions: GL_ARB_texture_mirrored_repeat<br>
&gt; Extensions: GL_ARB_texture_non_power_of_two<br>
&gt; Extensions: GL_ARB_texture_rectangle<br>
&gt; Extensions: GL_ARB_texture_rg<br>
&gt; Extensions: GL_ARB_transpose_matrix<br>
&gt; Extensions: GL_ARB_vertex_array_object<br>
&gt; Extensions: GL_ARB_vertex_buffer_object<br>
&gt; Extensions: GL_ARB_vertex_program<br>
&gt; Extensions: GL_ARB_vertex_shader<br>
&gt; Extensions: GL_ARB_window_pos<br>
&gt; Extensions: GL_ATI_draw_buffers<br>
&gt; Extensions: GL_ATI_texture_float<br>
&gt; Extensions: GL_ATI_texture_mirror_once<br>
&gt; Extensions: GL_S3_s3tc<br>
&gt; Extensions: GL_EXT_texture_env_add<br>
&gt; Extensions: GL_EXT_abgr<br>
&gt; Extensions: GL_EXT_bgra<br>
&gt; Extensions: GL_EXT_blend_color<br>
&gt; Extensions: GL_EXT_blend_equation_separate<br>
&gt; Extensions: GL_EXT_blend_func_separate<br>
&gt; Extensions: GL_EXT_blend_minmax<br>
&gt; Extensions: GL_EXT_blend_subtract<br>
&gt; Extensions: GL_EXT_compiled_vertex_array<br>
&gt; Extensions: GL_EXT_Cg_shader<br>
&gt; Extensions: GL_EXT_bindable_uniform<br>
&gt; Extensions: GL_EXT_depth_bounds_test<br>
&gt; Extensions: GL_EXT_direct_state_access<br>
&gt; Extensions: GL_EXT_draw_buffers2<br>
&gt; Extensions: GL_EXT_draw_instanced<br>
&gt; Extensions: GL_EXT_draw_range_elements<br>
&gt; Extensions: GL_EXT_fog_coord<br>
&gt; Extensions: GL_EXT_framebuffer_blit<br>
&gt; Extensions: GL_EXT_framebuffer_multisample<br>
&gt; Extensions: GL_EXT_framebuffer_object<br>
&gt; Extensions: GL_EXTX_framebuffer_mixed_formats<br>
&gt; Extensions: GL_EXT_framebuffer_sRGB<br>
&gt; Extensions: GL_EXT_geometry_shader4<br>
&gt; Extensions: GL_EXT_gpu_program_parameters<br>
&gt; Extensions: GL_EXT_gpu_shader4<br>
&gt; Extensions: GL_EXT_multi_draw_arrays<br>
&gt; Extensions: GL_EXT_packed_depth_stencil<br>
&gt; Extensions: GL_EXT_packed_float<br>
&gt; Extensions: GL_EXT_packed_pixels<br>
&gt; Extensions: GL_EXT_pixel_buffer_object<br>
&gt; Extensions: GL_EXT_point_parameters<br>
&gt; Extensions: GL_EXT_rescale_normal<br>
&gt; Extensions: GL_EXT_secondary_color<br>
&gt; Extensions: GL_EXT_separate_specular_color<br>
&gt; Extensions: GL_EXT_shadow_funcs<br>
&gt; Extensions: GL_EXT_stencil_two_side<br>
&gt; Extensions: GL_EXT_stencil_wrap<br>
&gt; Extensions: GL_EXT_texture3D<br>
&gt; Extensions: GL_EXT_texture_array<br>
&gt; Extensions: GL_EXT_texture_buffer_object<br>
&gt; Extensions: GL_EXT_texture_compression_latc<br>
&gt; Extensions: GL_EXT_texture_compression_rgtc<br>
&gt; Extensions: GL_EXT_texture_compression_s3tc<br>
&gt; Extensions: GL_EXT_texture_cube_map<br>
&gt; Extensions: GL_EXT_texture_edge_clamp<br>
&gt; Extensions: GL_EXT_texture_env_combine<br>
&gt; Extensions: GL_EXT_texture_env_dot3<br>
&gt; Extensions: GL_EXT_texture_filter_anisotropic<br>
&gt; Extensions: GL_EXT_texture_integer<br>
&gt; Extensions: GL_EXT_texture_lod<br>
&gt; Extensions: GL_EXT_texture_lod_bias<br>
&gt; Extensions: GL_EXT_texture_mirror_clamp<br>
&gt; Extensions: GL_EXT_texture_object<br>
&gt; Extensions: GL_EXT_texture_sRGB<br>
&gt; Extensions: GL_EXT_texture_swizzle<br>
&gt; Extensions: GL_EXT_texture_shared_exponent<br>
&gt; Extensions: GL_EXT_timer_query<br>
&gt; Extensions: GL_EXT_vertex_array<br>
&gt; Extensions: GL_EXT_vertex_array_bgra<br>
&gt; Extensions: GL_IBM_rasterpos_clip<br>
&gt; Extensions: GL_IBM_texture_mirrored_repeat<br>
&gt; Extensions: GL_KTX_buffer_region<br>
&gt; Extensions: GL_NV_blend_square<br>
&gt; Extensions: GL_NV_copy_depth_to_color<br>
&gt; Extensions: GL_NV_depth_buffer_float<br>
&gt; Extensions: GL_NV_conditional_render<br>
&gt; Extensions: GL_NV_depth_clamp<br>
&gt; Extensions: GL_NV_explicit_multisample<br>
&gt; Extensions: GL_NV_fence<br>
&gt; Extensions: GL_NV_float_buffer<br>
&gt; Extensions: GL_NV_fog_distance<br>
&gt; Extensions: GL_NV_fragment_program<br>
&gt; Extensions: GL_NV_fragment_program_option<br>
&gt; Extensions: GL_NV_fragment_program2<br>
&gt; Extensions: GL_NV_framebuffer_multisample_coverage<br>
&gt; Extensions: GL_NV_geometry_shader4<br>
&gt; Extensions: GL_NV_gpu_program4<br>
&gt; Extensions: GL_NV_half_float<br>
&gt; Extensions: GL_NV_light_max_exponent<br>
&gt; Extensions: GL_NV_multisample_coverage<br>
&gt; Extensions: GL_NV_multisample_filter_hint<br>
&gt; Extensions: GL_NV_occlusion_query<br>
&gt; Extensions: GL_NV_packed_depth_stencil<br>
&gt; Extensions: GL_NV_parameter_buffer_object<br>
&gt; Extensions: GL_NV_pixel_data_range<br>
&gt; Extensions: GL_NV_point_sprite<br>
&gt; Extensions: GL_NV_primitive_restart<br>
&gt; Extensions: GL_NV_register_combiners<br>
&gt; Extensions: GL_NV_register_combiners2<br>
&gt; Extensions: GL_NV_texgen_reflection<br>
&gt; Extensions: GL_NV_texture_compression_vtc<br>
&gt; Extensions: GL_NV_texture_env_combine4<br>
&gt; Extensions: GL_NV_texture_expand_normal<br>
&gt; Extensions: GL_NV_texture_rectangle<br>
&gt; Extensions: GL_NV_texture_shader<br>
&gt; Extensions: GL_NV_texture_shader2<br>
&gt; Extensions: GL_NV_texture_shader3<br>
&gt; Extensions: GL_NV_transform_feedback<br>
&gt; Extensions: GL_NV_vertex_array_range<br>
&gt; Extensions: GL_NV_vertex_array_range2<br>
&gt; Extensions: GL_NV_vertex_program<br>
&gt; Extensions: GL_NV_vertex_program1_1<br>
&gt; Extensions: GL_NV_vertex_program2<br>
&gt; Extensions: GL_NV_vertex_program2_option<br>
&gt; Extensions: GL_NV_vertex_program3<br>
&gt; Extensions: GL_NVX_conditional_render<br>
&gt; Extensions: GL_SGIS_generate_mipmap<br>
&gt; Extensions: GL_SGIS_texture_lod<br>
&gt; Extensions: GL_SGIX_depth_texture<br>
&gt; Extensions: GL_SGIX_shadow<br>
&gt; Extensions: GL_SUN_slice_accum<br>
&gt; ---------------<br>
&gt; window state: 1<br>
&gt; topmost: 0<br>
&gt; profile: 0<br>
&gt; buffer: 2<br>
&gt; stereo: 0<br>
&gt; full screen: 0<br>
&gt; width: 500, height 500<br>
&gt; offset: 0+0<br>
&gt; frame rate: 50.000000<br>
&gt; red: 8<br>
&gt; green: 8<br>
&gt; blue: 8<br>
&gt; max texture: 8192<br>
&gt; lighting 0<br>
&gt; rectangle texturing: 2<br>
&gt; direct yuv texturing: 0<br>
&gt; &gt;<br>
&gt; &gt; If the answer is yes, than a workaround would be:<br>
&gt; &gt;<br>
&gt; &gt; [gemhead]<br>
&gt; &gt; |<br>
&gt; &gt; [t b]<br>
&gt; &gt; |<br>
&gt; &gt; [any implementation of a counter]<br>
&gt; &gt; |<br>
&gt; &gt; (to the right outlet of pix_movie)<br>
&gt; &gt;<br>
&gt; &gt; I am not good at ASCII art, but if you want a frame rate different than<br>
&gt; &gt; 1:1 (meaning one movie frame per gem frame), you can implement the<br>
&gt; &gt; &quot;counter&quot; with necessary calculations and roundings to get the needed<br>
&gt; &gt; frame number.<br>
&gt; &gt;<br>
&gt; &gt; Obviously, if the answer to the initial question is &quot;NO&quot; and/or if the<br>
&gt; &gt; framerate unstability you describe is not only in the playing of the<br>
&gt; &gt; pix_movie but also in the framerate of the gemwin, then all this won&#39;t<br>
&gt; &gt; be of any help.<br>
&gt; &gt;<br>
&gt; &gt; I always use this technique (well it&#39;s too simple to call it a<br>
&gt; &gt; &quot;technique&quot;) and never the &quot;auto&quot; mode even if I have never experienced<br>
&gt; &gt; problems with auto: the fact is that this also lets you easily control<br>
&gt; &gt; the playing speed.<br>
&gt; &gt; But I have to say that I have only used codecs that compress each frame<br>
&gt; &gt; separately (namely DV-PAL in my case); with any codec that uses previous<br>
&gt; &gt; frames to decode a given frame, this method may give, I guess, problems<br>
&gt; &gt; of performance.<br>
&gt; &gt;<br>
&gt; &gt; Bye<br>
&gt; &gt; m.<br>
&gt; &gt;<br>
&gt; &gt; Jack escribió:<br>
&gt; &gt; &gt; The behavior of [pix_film] is not the same on Macosx and on Ubuntu.<br>
&gt; &gt; &gt; What is described in the help file seems to work only for Linux OS.<br>
&gt; &gt; &gt; I am a newbie on Ubuntu, that&#39;s why i am a little surprised to have a<br>
&gt; &gt; &gt; different behavior between the two OS. And, if i&#39;m right, the movie<br>
&gt; &gt; &gt; doesn&#39;t play each frame on MacOSX and it play in loop when you click on<br>
&gt; &gt; &gt; [auto 1(.<br>
&gt; &gt; &gt; However, you are right on Linux ;) I have tested and see that the frame<br>
&gt; &gt; &gt; started at 25 and go down to 7 !<br>
&gt; &gt; &gt; So my question is : how to have a approximate &#39;constant&#39; frame rate ?<br>
&gt; &gt; &gt; (to send a bang to [gemhead] with a [metro] changes not at all the<br>
&gt; &gt; &gt; problem).<br>
&gt; &gt; &gt; Thanx.<br>
&gt; &gt; &gt; ++<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Jack<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Le lundi 10 août 2009 à 09:47 +0200, Max a écrit :<br>
&gt; &gt; &gt;&gt; In the helpfile to pix_film is written:<br>
&gt; &gt; &gt;&gt; -----<br>
&gt; &gt; &gt;&gt; use the &quot;auto&quot; message, to automatically proceed to the next frame<br>
&gt; &gt; &gt;&gt; each rendering cycle.<br>
&gt; &gt; &gt;&gt; -----<br>
&gt; &gt; &gt;&gt; that means that the movie is never played back according to a header<br>
&gt; &gt; &gt;&gt; information about the real fps, but according to the frame rate the<br>
&gt; &gt; &gt;&gt; gemwin is running at.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; so i the behavior you are describing is expected. no movie will run<br>
&gt; &gt; &gt;&gt; just like in VLC other than purely by coincidence.<br>
&gt; &gt; &gt;&gt; please correct me if i&#39;m wrong.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; max<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Am 10.08.2009 um 00:48 schrieb Jack:<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;&gt; Hello,<br>
&gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;&gt; I encounter a problem to play movies at normal speed with [pix_film]<br>
&gt; &gt; &gt;&gt;&gt; and<br>
&gt; &gt; &gt;&gt;&gt; [pix_movie]. I tried with a .mov (photo JPEG) and a .avi movies.<br>
&gt; &gt; &gt;&gt;&gt; During<br>
&gt; &gt; &gt;&gt;&gt; the movie play, sometimes the movies go fast, sometimes they go<br>
&gt; &gt; &gt;&gt;&gt; slowly.<br>
&gt; &gt; &gt;&gt;&gt; I use the message [auto 1( to start the movies or the second inlet<br>
&gt; &gt; &gt;&gt;&gt; with<br>
&gt; &gt; &gt;&gt;&gt; a counter but still have the problem !?<br>
&gt; &gt; &gt;&gt;&gt; So i think i have something wrong with Pd (or Ubuntu) and not GEM.<br>
&gt; &gt; &gt;&gt;&gt; For information, all is ok to play these movies with VLC.<br>
&gt; &gt; &gt;&gt;&gt; Can you help me to configure something wrong on my computer ? :)<br>
&gt; &gt; &gt;&gt;&gt; Thanx a<br>
&gt; &gt; &gt;&gt;&gt; lot !<br>
&gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;&gt; Here my configuration :<br>
&gt; &gt; &gt;&gt;&gt; Pd version 0.41.4-extended<br>
&gt; &gt; &gt;&gt;&gt; GEM: ver: 0.92.CVS<br>
&gt; &gt; &gt;&gt;&gt; GEM: compiled: Jun 15 2009<br>
&gt; &gt; &gt;&gt;&gt; Ubuntu 9.04<br>
&gt; &gt; &gt;&gt;&gt; GPU : Nvidia 9700M GTS<br>
&gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;&gt; ++<br>
&gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;&gt; Jack<br>
&gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt;&gt;&gt; _______________________________________________<br>
&gt; &gt; &gt;&gt;&gt; GEM-dev mailing list<br>
&gt; &gt; &gt;&gt;&gt; <a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br>
&gt; &gt; &gt;&gt;&gt; <a href="http://lists.puredata.info/listinfo/gem-dev" target="_blank">http://lists.puredata.info/listinfo/gem-dev</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; GEM-dev mailing list<br>
&gt; &gt; &gt; <a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br>
&gt; &gt; &gt; <a href="http://lists.puredata.info/listinfo/gem-dev" target="_blank">http://lists.puredata.info/listinfo/gem-dev</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; GEM-dev mailing list<br>
&gt; <a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br>
&gt; <a href="http://lists.puredata.info/listinfo/gem-dev" target="_blank">http://lists.puredata.info/listinfo/gem-dev</a><br>
<br>
<br>
_______________________________________________<br>
GEM-dev mailing list<br>
<a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br>
<a href="http://lists.puredata.info/listinfo/gem-dev" target="_blank">http://lists.puredata.info/listinfo/gem-dev</a><br>
</div></div></blockquote></div><br>