|Site sponsored by IGEL|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[directfb-dev] Xine provider progress
Hi! > > IMHO the big advantage of using xine over mplayer is that xine has an > independant library called xine-lib that is really easy to integrate. > > Basically you just have to load video out driver, audio out driver, open > a media and play... > > Integrating libavcodec is a long and heavy process full of traps.. > > I was planning to rework the DirectFB video out module of xine-lib for > my DirectFB project so that you can pass a DisplayLayer to the video out > driver and it will create a window for you where the video will be sent > to. > > If anyone has some ideas on how we should move i m open on that.. > > It would be cool to use VideoProvider instead of integrating xine-lib > directly in projects to play videos. > > Cheers, > Thanks for all the suggestions! I have tried to integrate xine as a video provider because mplayer is not thread safe so its out of the question. DirectFB finally sees xine, it had to do with the old xine providing (which I'm upgrading) having a Probe method with an old prototype. Now I'm getting a SEGV like this (any suggestions anybody?): DirectFB/Interface: Loaded 'Xine' implementation of 'IDirectFBVideoProvider'. Benchmarking memcpy methods (smaller is better): glibc memcpy() : 581903208 linux kernel memcpy() : 574776012 MMX optimized memcpy() : 568894548 MMXEXT optimized memcpy() : 427041908 SSE optimized memcpy() : 454907516 gotten: 2 (0x80bb8a8) EXPERIMENTAL directfb output plugin (!) [ 5387: 1327.429] --> Caught signal 11 (at 0x697661, invalid address) <-- (-) [ 5387: 1327.429] DirectFB/core/fusion: (fusion_shmalloc_cure) trying to cure segfault at address 0x697661 (-529959327)... (-) [ 5387: 1327.429] DirectFB/core/fusion: (fusion_shmalloc_cure) won't cure, address is outside shared address space. (-) [ 5387: 1327.429] DirectFB/Core: leaving! (-) [ 5387: 1327.430] DirectFB/CoreParts: Going to leave 'layers' core... (-) [ 5387: 1327.430] DirectFB/CoreParts: Going to leave 'gfxcard' core... (-) [ 5387: 1327.430] DirectFB/CoreParts: Going to leave 'input' core... (-) [ 5387: 1327.430] DirectFB/CoreParts: Going to leave 'system' core... (-) [ 5387: 1327.431] DirectFB/CoreParts: Going to leave 'colorhash' core... (-) [ 5387: 1327.431] DirectFB/CoreParts: Going to leave 'clipboard' core... (-) [ 5387: 1327.432] DirectFB/core/threads: Joining 5387... (-) [ 5387: 1327.432] DirectFB/core/threads: ...joined 5387. Segmentation fault -- Info: To unsubscribe send a mail to firstname.lastname@example.org with "unsubscribe directfb-dev" as subject.