ok, but what I have to do to change xine by ffmpeg for example ? I have to write other plugin ?
On Tue, Jan 13, 2009 at 9:34 AM, Robert Osfield <[email protected]>wrote: > Hi Carlos, > > >From your description this does sound like a threading issue with > xinelib. xinelib wasn't really designed for how we use it, rather > it's a lib designed for writing conventional movies players, and to > get video support under Linux I had to fit this square peg through a > round hole. When I wrote this plugin a few years back I looked at > various alternatives but none were mature enough/amenable enough to be > squished through our usage requirements, xinelib ended up being the > best of bad lot. > > Things under Linux haven't stood still, gstreamer is probably viable > now, and J.P mentions about a ffmpeg plugin that actually been > developed and might even be open source soon. My guess is that now > both gstreamer and ffmpeg are probably better routes for video support > under Linux. > > Robert. > > On Tue, Jan 13, 2009 at 11:18 AM, Carlos Sanches <[email protected]> wrote: > > if I play only one movie there are no problem . the movie play well. > > if I wish play the second movie . the problem occours when I call play . > > if I try use the same video to first and second , when I play the second > the > > program crash. > > the movies are ok . I play it in mplayer > > I m trying to play avi movies without compression . > > > > Remembering if I play only one all is fine . > > > > :( > > > > > > > > > > On Mon, Jan 12, 2009 at 8:42 PM, Gerwin de Haan <[email protected]> > > wrote: > >> > >> Dear Carlos, > >> from my experiments some time ago (osg 2.4, ubuntu 7.10), playing > >> _multiple_ movies through ImageStream instances using the osgdb xine > >> plugin result in sporadic crashes and funny playback/pause behavior, > >> most probably caused by threading issues. At the time I did not have > >> the time to go into the problem too deeply, but I recall I found it > >> suspicious that only a single xine player instance was responsible for > >> handling multiple movies. Again, crashes might also have been caused > >> by some video codec used inside xine. What type of movie (container, > >> codec, sound, size etc.) are you trying to play? > >> regards, > >> Gerwin > >> ps. I was hoping for some public ffmpeg plugin implementation to pop > >> up on the list, but either I missed it or it's not yet been released. > >> > >> On Mon, Jan 12, 2009 at 6:51 PM, Carlos Sanches <[email protected]> > wrote: > >> > Excuse-me I m going crazy. > >> > My version is OpenSceneGraph Library 2.7.7 > >> > OS Ubuntu 8.04 > >> > > >> > My program load the movies. I play the first but when I will play the > >> > second > >> > the program crash . > >> > This is what is happening ... > >> > > >> > > >> > *** glibc detected *** ./OSG: double free or corruption (out): > >> > 0xafd31008 > >> > *** > >> > ======= Backtrace: ========= > >> > /lib/tls/i686/cmov/libc.so.6[0xb7444a85] > >> > /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb74484f0] > >> > /usr/local/lib/osgPlugins-2.7.7/osgdb_xine.so[0xb5add753] > >> > /usr/lib/libxine.so.1[0xb5aa54d8] > >> > ======= Memory map: ======== > >> > 08048000-08071000 r-xp 00000000 08:12 6046911 > >> > /dados/workspace/desenv/OSG/Debug/OSG > >> > 08071000-08072000 rw-p 00028000 08:12 6046911 > >> > /dados/workspace/desenv/OSG/Debug/OSG > >> > 08072000-0fd30000 rw-p 08072000 00:00 0 [heap] > >> > a1778000-a1779000 ---p a1778000 00:00 0 > >> > a1779000-a1f79000 rwxp a1779000 00:00 0 > >> > a1f79000-a20a5000 rw-s 2c15f000 00:0e 13809 /dev/nvidia0 > >> > a20a5000-a22ff000 rw-p a20a5000 00:00 0 > >> > a22ff000-a2300000 ---p a22ff000 00:00 0 > >> > a2300000-a2b00000 rwxp a2300000 00:00 0 > >> > a2b00000-a2bd4000 rw-p a2b00000 00:00 0 > >> > a2bd4000-a2c00000 ---p a2bd4000 00:00 0 > >> > a2c00000-a2c6c000 rw-p a2c00000 00:00 0 > >> > a2c6c000-a2d00000 ---p a2c6c000 00:00 0 > >> > a2d00000-a2dfc000 rw-p a2d00000 00:00 0 > >> > a2dfc000-a2e00000 ---p a2dfc000 00:00 0 > >> > a2f00000-a2ffe000 rw-p a2f00000 00:00 0 > >> > a2ffe000-a3000000 ---p a2ffe000 00:00 0 > >> > a3100000-a31f7000 rw-p a3100000 00:00 0 > >> > a31f7000-a3200000 ---p a31f7000 00:00 0 > >> > a3300000-a33fc000 rw-p a3300000 00:00 0 > >> > a33fc000-a3400000 ---p a33fc000 00:00 0 > >> > a3500000-a35f9000 rw-p a3500000 00:00 0 > >> > a35f9000-a3600000 ---p a35f9000 00:00 0 > >> > a3700000-a37fc000 rw-p a3700000 00:00 0 > >> > a37fc000-a3800000 ---p a37fc000 00:00 0 > >> > a3900000-a39fe000 rw-p a3900000 00:00 0 > >> > a39fe000-a3a00000 ---p a39fe000 00:00 0 > >> > a3b00000-a3bff000 rw-p a3b00000 00:00 0 > >> > a3bff000-a3c00000 ---p a3bff000 00:00 0 > >> > a3d00000-a3df9000 rw-p a3d00000 00:00 0 > >> > a3df9000-a3e00000 ---p a3df9000 00:00 0 > >> > a3f00000-a3fed000 rw-p a3f00000 00:00 0 > >> > a3fed000-a4000000 ---p a3fed000 00:00 0 > >> > a4000000-a40fb000 rw-p a4000000 00:00 0 > >> > a40fb000-a4100000 ---p a40fb000 00:00 0 > >> > a4100000-a41ff000 rw-p a4100000 00:00 0 > >> > a41ff000-a4200000 ---p a41ff000 00:00 0 > >> > a4300000-a4400000 rw-p a4300000 00:00 0 > >> > a4500000-a45fc000 rw-p a4500000 00:00 0 > >> > a45fc000-a4600000 ---p a45fc000 00:00 0 > >> > a4700000-a47fc000 rw-p a4700000 00:00 0 > >> > a47fc000-a4800000 ---p a47fc000 00:00 0 > >> > a4900000-a49f9000 rw-p a4900000 00:00 0 > >> > a49f9000-a4a00000 ---p a49f9000 00:00 0 > >> > a4b00000-a4c00000 rw-p a4b00000 00:00 0 > >> > a4d00000-a4df8000 rw-p a4d00000 00:00 0 > >> > a4df8000-a4e00000 ---p a4df8000 00:00 0 > >> > a4e00000-a4ef1000 rw-p a4e00000 00:00 0 > >> > a4ef1000-a4f00000 ---p a4ef1000 00:00 0 > >> > a4f00000-a4fff000 rw-p a4f00000 00:00 0 > >> > a4fff000-a5000000 ---p a4fff000 00:00 0 > >> > a5100000-a51ff000 rw-p a5100000 00:00 0 > >> > a51ff000-a5200000 ---p a51ff000 00:00 0 > >> > a5300000-a53fc000 rw-p a5300000 00:00 0 > >> > a53fc000-a5400000 ---p a53fc000 00:00 0 > >> > a5500000-a56ff000 rw-p a5500000 00:00 0 > >> > a56ff000-a5700000 ---p a56ff000 00:00 0 > >> > a5700000-a57f8000 rw-p a5700000 00:00 0 > >> > a57f8000-a5800000 ---p a57f8000 00:00 0 > >> > a5900000-a59fb000 rw-p a5900000 00:00 0 > >> > a59fb000-a5a00000 ---p a59fb000 00:00 0 > >> > a5b00000-a5bf7000 rw-p a5b00000 00:00 0 > >> > a5bf7000-a5c00000 ---p a5bf7000 00:00 0 > >> > a5d00000-a5df8000 rw-p a5d00000 00:00 0 > >> > a5df8000-a5e00000 ---p a5df8000 00:00 0 > >> > a5e00000-a5efb000 rw-p a5e00000 00:00 0 > >> > a5efb000-a5f00000 ---p a5efb000 00:00 0 > >> > a5f00000-a6000000 rw-p a5f00000 00:00 0 > >> > a6100000-a6200000 rw-p a6100000 00:00 0 > >> > a6300000-a63fa000 rw-p a6300000 00:00 0 > >> > a63fa000-a6400000 ---p a63fa000 00:00 0 > >> > a6500000-a65ff000 rw-p a6500000 00:00 0 > >> > a65ff000-a6600000 ---p a65ff000 00:00 0 > >> > a6700000-a67f9000 rw-p a6700000 00:00 0 > >> > a67f9000-a6800000 ---p a67f9000 00:00 0 > >> > a6900000-a69fd000 rw-p a6900000 00:00 0 > >> > a69fd000-a6a00000 ---p a69fd000 00:00 0 > >> > a6b00000-a6bee000 rw-p a6b00000 00:00 0 > >> > a6bee000-a6c00000 ---p a6bee000 00:00 0 > >> > a6d00000-a6dff000 rw-p a6d00000 00:00 0 > >> > a6dff000-a6e00000 ---p a6dff000 00:00 0 > >> > a6f00000-a6ff8000 rw-p a6f00000 00:00 0 > >> > a6ff8000-a7000000 ---p a6ff8000 00:00 0 > >> > a7100000-a71fe000 rw-p a7100000 00:00 0 > >> > a71fe000-a7200000 ---p a71fe000 00:00 0 > >> > a7269000-a73f2000 rw-p a7269000 00:00 0 > >> > a73f2000-a7400000 ---p a73f2000 00:00 0 > >> > a7469000-a75fa000 rw-p a7469000 00:00 0 > >> > a75fa000-a7600000 ---p a75fa000 00:00 0 > >> > a7669000-a77fd000 rw-p a7669000 00:00 0 > >> > a77fd000-a7800000 ---p a77fd000 00:00 0 > >> > a7869000-a79f7000 rw-p a7869000 00:00 0 > >> > a79f7000-a7a00000 ---p a79f7000 00:00 0 > >> > a7a69000-a7bff000 rw-p a7a69000 00:00 0 > >> > a7bff000-a7c00000 ---p a7bff000 00:00 0 > >> > a7c69000-a7df3000 rw-p a7c69000 00:00 0 > >> > a7df3000-a7e00000 ---p a7df3000 00:00 0 > >> > a7e69000-a8000000 rw-p a7e69000 00:00 0 > >> > a8069000-a81f8000 rw-p a8069000 00:00 0 > >> > a81f8000-a8200000 ---p a81f8000 00:00 0 > >> > a8200000-a8221000 rw-p a8200000 00:00 0 > >> > a8221000-a8300000 ---p a8221000 00:00 0 > >> > a8300000-a83fa000 rw-p a8300000 00:00 0 > >> > a83fa000-a8400000 ---p a83fa000 00:00 0 > >> > a8400000-a84e9000 rw-p a8400000 00:00 0 > >> > a84e9000-a8500000 ---p a84e9000 00:00 0 > >> > a8500000-a85f4000 rw-p a8500000 00:00 0 > >> > a85f4000-a8600000 ---p a85f4000 00:00 0 > >> > a8600000-a86f3000 rw-p a8600000 00:00 0 > >> > a86f3000-a8700000 ---p a86f3000 00:00 0 > >> > a8700000-a87f8000 rw-p a8700000 00:00 0 > >> > a87f8000-a8800000 ---p a87f8000 00:00 0 > >> > a8869000-a89f6000 rw-p a8869000 00:00 0 > >> > a89f6000-a8a00000 ---p a89f6000 00:00 0 > >> > a8a00000-a8aff000 rw-p a8a00000 00:00 0 > >> > a8aff000-a8b00000 ---p a8aff000 00:00 0 > >> > a8b00000-a8bfc000 rw-p a8b00000 00:00 0 > >> > a8bfc000-a8c00000 ---p a8bfc000 00:00 0 > >> > a8c57000-a91f0000 rw-p a8c57000 00:00 0 > >> > a9269000-a93f8000 rw-p a9269000 00:00 0 > >> > a93f8000-a9400000 ---p a93f8000 00:00 0 > >> > a945a000-a961e000 rw-p a945a000 00:00 0 > >> > a961e000-a981e000 rw-s 2b1a8000 00:0e 13809 /dev/nvidia0 > >> > a981e000-a9a00000 rw-p a981e000 00:00 0 > >> > a9a0b000-a9b38000 rw-p a9a0b000 00:00 0 > >> > a9b83000-a9c9b000 rw-p a9b83000 00:00 0 > >> > a9c9c000-a9d1c000 rw-s 2b2d6000 00:0e 13809 /dev/nvidia0 > >> > a9d1c000-a9d9d000 rw-p a9d1c000 00:00 0 > >> > a9dfe000-a9ffe000 rw-s 2b044000 00:0e 13809 /dev/nvidia0 > >> > a9ffe000-aa0fe000 rw-s 32a0f000 00:0e 13809 /dev/nvidia0 > >> > aa0fe000-aa0ff000 ---p aa0fe000 00:00 0 > >> > aa0ff000-aa8ff000 rwxp aa0ff000 00:00 0 > >> > aa8ff000-aa900000 ---p aa8ff000 00:00 0 > >> > aa900000-ab100000 rwxp aa900000 00:00 0 > >> > ab100000-ab1fa000 rw-p ab100000 00:00 0 > >> > ab1fa000-ab200000 ---p ab1fa000 00:00 0 > >> > ab21e000-ab21f000 rw-s eac06000 00:0e 13809 /dev/nvidia0 > >> > ab21f000-ab25f000 rw-s 2b372000 00:0e 13809 /dev/nvidia0 > >> > ab27f000-ab2a5000 rw-p ab27f000 00:00 0 > >> > ab2a5000-ab2a6000 ---p ab2a5000 00:00 0 > >> > ab2a6000-abaa6000 rwxp ab2a6000 00:00 0 > >> > abaa6000-abae7000 rw-p abaa6000 00:00 0 > >> > abae7000-abb4b000 rw-p 00000000 00:0e 1074 /dev/zero > >> > abb4b000-abb6e000 rw-p abb4b000 00:00 0 > >> > abb6e000-abb90000 rw-s 00000000 00:09 0 /SYSV00000000 > (deleted) > >> > abb90000-abdd1000 rw-p abb90000 00:00 0 > >> > abdd1000-abe7a000 r-xp 00000000 08:03 2805548 > >> > /usr/local/lib/osgPlugins-2.7.7/osgdb_ive.so > >> > abe7a000-abe7d000 rw-p 000a9000 08:03 2805548 > >> > /usr/local/lib/osgPlugins-2.7.7/osgdb_ive.so > >> > abe7d000-ac126000 rw-p abe7d000 00:00 0 > >> > ac126000-ac127000 ---p ac126000 00:00 0 > >> > ac127000-ac927000 rwxp ac127000 00:00 0 > >> > ac927000-ac928000 ---p ac927000 00:00 0 > >> > ac928000-ad128000 rwxp ac928000 00:00 0 > >> > ad128000-ad2f5000 rw-p ad128000 00:00 0 > >> > ad2f5000-ad2f6000 ---p ad2f5000 00:00 0 > >> > ad2f6000-adaf6000 rwxp ad2f6000 00:00 0 > >> > adaf6000-adedf000 rw-p adaf6000 00:00 0 > >> > adedf000-adee0000 ---p adedf000 00:00 0 > >> > adee0000-ae6e0000 rwxp adee0000 00:00 0 > >> > ae6e0000-ae701000 rw-p ae6e0000 00:00 0 > >> > ae701000-ae902000 rw-s 00000000 00:14 70952 > >> > /dev/shm/pulse-shm-371026357 > >> > ae902000-ae903000 ---p ae902000 00:00 0 > >> > ae903000-af103000 rwxp ae903000 00:00 0 > >> > af103000-af104000 ---p af103000 00:00 0 > >> > af104000-af904000 rwxp af104000 00:00 0 > >> > af904000-aff99000 rw-p af904000 00:00 0 > >> > aff99000-affbb000 r-xp 00000000 08:03 2510679 > >> > /usr/lib/libpng12.so.0.15.0 > >> > affbb000-affbc000 rw-p 00022000 08:03 2510679 > >> > /usr/lib/libpng12.so.0.15.0 > >> > affbd000-affde000 rw-p affbd000 00:00 0 > >> > affde000-affe6000 r-xp 00000000 08:03 2805661 > >> > /usr/local/lib/osgPlugins-2.7.7/osgdb_png.so > >> > affe6000-affe7000 rw-p 00007000 08:03 2805661 > >> > /usr/local/lib/osgPlugins-2.7.7/osgdb_png.so > >> > b0032000-b028f000 rw-p b0032000 00:00 0 > >> > b028f000-b02bc000 r-xp 00000000 08:03 2513577 > >> > /usr/lib/liblcms.so.1.0.16 > >> > b02bc000-b02be000 rw-p 0002c000 08:03 2513577 > >> > /usr/lib/liblcms.so.1.0.16 > >> > b02be000-b02c0000 rw-p b02be000 00:00 0 > >> > b02c0000-b032b000 r-xp 00000000 08:03 2508894 > >> > /usr/lib/libmng.so.1.1.0.9 > >> > b032b000-b032e000 rw-p 0006a000 08:03 2508894 > >> > /usr/lib/libmng.so.1.1.0.9 > >> > b032e000-b035e000 r-xp 00000000 08:03 2513589 > >> > /usr/lib/libmodplug.so.0.0.0 > >> > b035e000-Cancelado > >> > so...@somar3d:/dados/workspace/desenv/OSG/Debug$ > >> > > >> > > >> > > >> > _______________________________________________ > >> > osg-users mailing list > >> > [email protected] > >> > > >> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> > > >> > > >> _______________________________________________ > >> osg-users mailing list > >> [email protected] > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > > -- > > Carlos Sanches > > Programação Gráfica; > > > > Tel: 55 11 3816 2888 > > Cel: 55 11 9650 7137 > > > > Somar Meteorologia > > www.somarmeteorologia.com.br > > > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Carlos Sanches Programação Gráfica; Tel: 55 11 3816 2888 Cel: 55 11 9650 7137 Somar Meteorologia www.somarmeteorologia.com.br
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

