From: Miguel F. <mi...@ce...> - 2002-08-09 21:30:49
|
Hi, I can almost bet you forgot to forward X completion events to the xine-lib video driver! :) That information should be written on a kind of "programmers FAQ", it's a very common mistake when using xine-lib for the first time. regards, Miguel On Fri, 2002-08-09 at 18:11, be...@us... wrote: > Hi, >=20 > I try to come up with a stipped down version of the xine-ui player (that = is, > all the UI removed). The idea is to create a shared lib which can be used > form other programs. The lib should create the X window etc. but will be > controlled by another program (in my case it will be a java program. I mi= ght > even try to use the java native windows for the video win [via JNI AWT > extensions]). >=20 > So what I did was to take xine-ui and removed all xitk stuff etc leaving = only > stuff from main.c videowin.c event.c error.c and actions.c. > I used the same flags to compile it. >=20 > The problem is that it drops frames (it seems its only displaying I-Frame= s). > It is not skipping them (I do not get messages on skipped frames). >=20 > the original xine-ui player works fine. >=20 > I can't figure out what I am missing. Are there any special things I have= to > do? Is there important stuff in xitk? > Is it ok to leave Imlib-light out? >=20 > Any help is much appreciated >=20 > A log is given below. If you want the source let me know. >=20 > Thanks >=20 > Immo >=20 >=20 >=20 >=20 > LOG: >=20 > xine init > Built with xine library 0.9.13 [Fri 09 Aug 2002 17:24:30]-[gcc version > 2.95.3 20010315 (SuSE)]-[Linux 2.4.18-4GB i686]. > Found xine library version: 0.9.13 (0.9.13). > Available Video driver: >=20 > SyncFB Xv XShm sdl OpenGL vidix >=20 > Available audio drivers: >=20 > alsa09 oss esd arts > XServer Vendor: The XFree86 Project, Inc. Release: 40200000, > Protocol Version: 11, Revision: 0, > Available Screen(s): 2, using 0 > Depth: 16. > Display is not using Xinerama. > video_out_xv: using Xv port 63 from adaptor NV04 Video Overlay for hardwa= re > colo > rspace conversion and scaling. > video_out_xv: double buffering mode =3D 1 > video_out_xv: port attribute XV_COLORKEY value is 0 > video_out_xv: port attribute XV_AUTOPAINT_COLORKEY value is 1 > video_out_xv: this adaptor supports the yuy2 format. > video_out_xv: this adaptor supports the yv12 format. > load_plugins: video output plugin Xv successfully loaded. > audio_alsa_out : supported modes are 8bit mono stereo (4-channel not enab= led > in > xine config) (5-channel not enabled in xine config) (5.1-channel not enab= led > in > xine config) (a/52 and DTS pass-through not enabled in xine config) > load_plugins: audio output plugin alsa09 successfully loaded. > xine: xine_init entered > xine: using MMXEXT optimized memcpy() > xine-scr_init: complete > load_plugins: Eingabe-Plugin gefunden : CDA > load_plugins: Eingabe-Plugin gefunden : DVD > load_plugins: Eingabe-Plugin gefunden : stdin_fifo > load_plugins: Eingabe-Plugin gefunden : MMS > load_plugins: Eingabe-Plugin gefunden : TCP > load_plugins: Eingabe-Plugin gefunden : file > load_plugins: Eingabe-Plugin gefunden : RTP > load_plugins: Eingabe-Plugin gefunden : VCD > load_plugins: Eingabe-Plugin gefunden : HTTP > load_plugins: Demultiplexer-Plugin gefunden : MPEG_TS > load_plugins: Demultiplexer-Plugin gefunden : QUICKTIME > load_plugins: Demultiplexer-Plugin gefunden : FILM (CPK) > load_plugins: Demultiplexer-Plugin gefunden : MPEG > load_plugins: Demultiplexer-Plugin gefunden : ASF > load_plugins: Demultiplexer-Plugin gefunden : AVI > load_plugins: Demultiplexer-Plugin gefunden : CDA > load_plugins: Demultiplexer-Plugin gefunden : MPEG_ELEM > load_plugins: Demultiplexer-Plugin gefunden : FLI > load_plugins: Demultiplexer-Plugin gefunden : MPEG_PES > load_plugins: Demultiplexer-Plugin gefunden : OGG > load_plugins: Demultiplexer-Plugin gefunden : RoQ > load_plugins: Demultiplexer-Plugin gefunden : WAV > load_plugins: Demultiplexer-Plugin gefunden : MPGAUDIO > load_plugins: Demultiplexer-Plugin gefunden : SMJPEG > load_plugins: Demultiplexer-Plugin gefunden : Id CIN > load_plugins: Demultiplexer-Plugin gefunden : MPEG_BLOCK > Video-Dekodierungs-Plugin gefunden : vfw (win32) video decoder > Audio-Dekodierungs-Plugin gefunden : vfw (win32) audio decoder > Audio-Dekodierungs-Plugin gefunden : a/52dec > Video-Dekodierungs-Plugin gefunden : Microsoft RLE > Video-Dekodierungs-Plugin gefunden : cinepak > Audio-Dekodierungs-Plugin gefunden : dts > Video-Dekodierungs-Plugin gefunden : FLI Video > Audio-Dekodierungs-Plugin gefunden : mad > Video-Dekodierungs-Plugin gefunden : divx4 video decoder > Video-Dekodierungs-Plugin gefunden : CYUV > Video-Dekodierungs-Plugin gefunden : Raw RGB > spu-Dekodierungs-Plugin gefunden : spucc > spu-Dekodierungs-Plugin gefunden : spudec > Audio-Dekodierungs-Plugin gefunden : faad > Video-Dekodierungs-Plugin gefunden : Raw YUV > Video-Dekodierungs-Plugin gefunden : mpeg2dec > Audio-Dekodierungs-Plugin gefunden : lpcm > Video-Dekodierungs-Plugin gefunden : svq1 > libavcodec: CPU flags: mmx mmxext sse > Video-Dekodierungs-Plugin gefunden : ffmpeg video decoder > spu-Dekodierungs-Plugin gefunden : sputext > Audio-Dekodierungs-Plugin gefunden : ADPCM > Video-Dekodierungs-Plugin gefunden : msvc > Video-Dekodierungs-Plugin gefunden : RoQ Video > Audio-Dekodierungs-Plugin gefunden : RoQ Audio > Audio-Dekodierungs-Plugin gefunden : vorbis > video_out: thread created > metronom: start_clock (at 0) > xine_play: xine open file:///usr/local/share/xine/skins/xine_logo.mpv, st= art > pos > =3D 0, start time =3D 0 (sec) > xine: using input plugin >file< for this MRL > (file:///usr/local/share/xine/skins > /xine_logo.mpv). > Benutze Plugin 'file' f=FCr MRL 'file:///usr/local/share/xine/skUsing MMX= EXT > for I > DCT transform > Using MMXEXT for motion compensation > done > select audio channeldone > Setting /home/benjes/tmplim/xine-ui/BRIDGET_JONES_DIARY1-1.vob > Strncpy 80533f8 bffff4d6 > stream : PLAYBACK > access : RW_INTERLEAVED > format : S16_LE > subformat : STD > channels : 2 > rate : 48000 > exact rate : 48000 (768000/16) > msbits : 16 > buffer_size : 4800 > period_size : 480 > period_time : 10000 > tick_time : 10000 > tstamp_mode : NONE > period_step : 1 > sleep_min : 0 > avail_min : 480 > xfer_align : 1 > start_threshold : 480 > stop_threshold : 4800 > silence_threshold: 0 > silence_size : 0 > boundary : 1258291200 > start_mode: DATA > xrun_mode: STOP > tstamp_mode: NONE > period_step: 1 > sleep_min: 0 > avail_min: 480 > xfer_align: 1 > silence_threshold: 0 > silence_size: 0 > boundary: 1258291200 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > xine-devel mailing list > xin...@li... > https://lists.sourceforge.net/lists/listinfo/xine-devel |