Click to See Complete Forum and Search --> : Xine not fluid....§???


dochyde
03-09-2002, 08:43 AM
Hi all...
your thread on Xine was great!
I installed the package from www.freshrpms.com (http://www.freshrpms.com) it worked like a fly!
My pb now is that the movie is pretty slow;
here is my sys: 1.2GHz Athlon 512MB RAM 32MB GeForce running on a RH 7.1 with WMaker 1280x1024.
If ya need any more info I'll stay around.
Here is thexmetronom: video stream end
metronom: waiting for audio to end...
metronom: audio stream end
audio_out: stopping thread...
audio_out: thread stopped, closing driver
xine_exit: shutdown video
xine_exit: bye!
ine: using demuxer plugin >AVI< for this MRL.
demux_avi: video format = div3, audio format = 0x55
demux_avi: audio type MPEG layer 2/3 (wFormatTag 0x55)
metronom: video stream start...
metronom: waiting for audio to start...
metronom: audio stream start...
metronom: audio stream start...done

Thanx ;)
demux_avi: video codec >Microsoft MPEG-4 format v3<
video_decoder: using decoder >ffmpeg video decoder<
video_out: thread created
audio_loop: using decoder >mad<
video_out_xshm: frame source 640 x 272 => screen output 640 x 291, software scal
ing
yuv2rgb: using non-scaled optimized scale_line
libmad: audio sample rate 44100 mode 00000008
audio_oss_out: ao_open rate=44100, mode=8
audio_oss_out: audio rate : 44100 requested, 44100 provided by device/sec
audio_oss_out : 2 channels output
audio_out: output sample rate 44100
audio_out: thread created
metronom: video pts discontinuity, pts is 3753, last_pts is 0, wrap_offset = 337
53
metronom: audio pts discontinuity/start, pts is 11546, last_pts is 0, wrap_offse
t = 27860
audio_out: inserting 7933 0-frames to fill a gap of 16216 pts
video_out_xshm: gui size 640 x 291, frame size 640 x 291
metronom: forcing video_wrap (33753) and audio wrap (27860) to 33753
audio_out: adjusting master clock 329866 -> 335491
video_out : throwing away image with pts 330280 because it's too old (diff : 588
0 > 1876).
video_out : throwing away image with pts 334034 because it's too old (diff : 212
6 > 1876).
video_out_xshm: video window size changed from 640 x 291 to 1280 x 1024
video_out_xshm: output_scale 1,000000
video_out_xshm: frame source 640 x 272 => screen output 1280 x 582, software sca
ling
yuv2rgb: using 2*zoom optimized scale_line
video_out_xshm: gui size 1280 x 1024, frame size 640 x 291
video_out_xshm: gui size 1280 x 1024, frame size 1280 x 582
200 frames delivered, 0 frames skipped, 2 frames discarded
200 frames delivered, 0 frames skipped, 0 frames discarded
xine-panel: EXIT
xine_stop
xine_stop: stopping demuxer
xine_stop: done
xine_exit: shutdown audio
video_out : throwing away image with pts 1677878 because it's too old (diff : 26
98384 > 1876).
video_out : throwing away image with pts 1681631 because it's too old (diff : 26
94631 > 1876).
video_out : throwing away image with pts 1685385 because it's too old (diff : 26
90877 > 1876).
video_out : throwing away image with pts 1689139 because it's too old (diff : 26
87123 > 1876).
video_out : throwing away image with pts 1692893 because it's too old (diff : 26
83369 > 1876).
output for xine:

This is xine (X11 gui) - a free video player v0.9.6
(c) 2000, 2001 by G. Bartsch and the xine project team.
[doc@omega doc]$ Généré avec le bibliothèque xine 0.9.6 [Wed 05 Dec 2001 15:51:5
0]-[gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)]-[Linux 2.4.7-10 i686]
.
Version de la bibliothèque de xine trouvée: 0.9.6 (0.9.6).
Display is not using Xinerama.
video_out_xshm: video mode depth is 16 (16 bpp), TrueColor, not swapped,
red: 0000f800, green: 000007e0, blue: 0000001f
yuv2rgb: using MMXEXT for colorspace transform
load_plugins: video output plugin XShm successfully loaded.
audio_oss_out: Opening audio device...
audio_oss_out: using SNDCTL_DSP_GETODELAY
audio_oss_out : supported modes are mono stereo
load_plugins: audio output plugin oss successfully loaded.
xine_init entered
xine: using MMXEXT optimized memcpy()
input_d4d: unable to open raw dvd drive (/dev/rdvd): Aucun fichier ou répertoire
de ce type
load_plugins: input plugin found : d4d
load_plugins: input plugin found : DVD
load_plugins: input plugin found : NAV
load_plugins: input plugin found : file
load_plugins: input plugin found : HTTP
load_plugins: input plugin found : TCP
load_plugins: input plugin found : RTP
load_plugins: input plugin found : stdin_fifo
load_plugins: input plugin found : VCD
load_plugins: demux plugin found : ASF
load_plugins: demux plugin found : AVI
load_plugins: demux plugin found : MPEG
load_plugins: demux plugin found : MPGAUDIO
load_plugins: demux plugin found : MPEG_BLOCK
load_plugins: demux plugin found : MPEG_ELEM
load_plugins: demux plugin found : MPEG_PES
load_plugins: demux plugin found : MPEG_TS
load_plugins: demux plugin found : OGG
load_plugins: demux plugin found : QUICKTIME
audio decoder plugin found : a/52dec
audio decoder plugin found : dts
video decoder plugin found : ffmpeg video decoder
audio decoder plugin found : lpcm
audio decoder plugin found : mad
video decoder plugin found : mpeg2dec
spu decoder plugin found : spudec
video decoder plugin found : videofill
audio decoder plugin found : vorbis
video decoder plugin found : vfw (win32) video decoder
audio decoder plugin found : vfw (win32) audio decoder
xine_init returning
xine-panel: PLAY
xine_play: xine open /mnt/son/Le.Seigneur.Des.Anneaux.Cd2.FR.DVDRip.DiVX.avi, st
art pos = 0, start time = 0 (sec)
xine: using input plugin >file< for this MRL.
demux_avi: 122813 frames

mdwatts
03-09-2002, 12:25 PM
No idea what could be causing the problem.

Have you tried some of the suggestions in the Xine documentation ( xine.sourceforge.net ) such as hdparm?

dochyde
03-09-2002, 03:23 PM
Here is what I tried (Big Thanks to those GREAT NHF)

[root@omega /root]# hdparm -c /dev/hdc

/dev/hdc:
I/O support = 1 (32-bit)
[root@omega /root]# hdparm -t /dev/hdc

/dev/hdc:
Timing buffered disk reads: 64 MB in 6.60 seconds = 9.70 MB/sec

[root@omega /root]# hdparm -c 1 -d 1 /dev/hdc

/dev/hdc:
setting 32-bit I/O support flag to 1
setting using_dma to 1 (on)
I/O support = 1 (32-bit)
using_dma = 1 (on)
[root@omega /root]# hdparm -t /dev/hdc

/dev/hdc:
Timing buffered disk reads: 64 MB in 6.64 seconds = 9.64 MB/sec

Thant did not change much!
My OS is running on a 4GB SCSI IBM 40mb/s and hdc is my FAT32 HDD UDMA 33 with my AVI filez on a partition.
Maybe should I try it on a ext2 fs? Does it make any difference in performance?

MudCrawLeR
03-09-2002, 04:00 PM
Are you using xvideo. IT makes a ****load of difference. Try "xine -V Xv" and see what happens

dochyde
03-09-2002, 04:17 PM
Great I guess we've found what the pb is! Good start.
Should I install the NVIDIA rpm drivers for X straight from their web site?
What do I have to do next?

[root@omega rpms]# xine -V Xv
video_driver_id = 'Xv'
This is xine (X11 gui) - a free video player v0.9.6
(c) 2000, 2001 by G. Bartsch and the xine project team.
Généré avec le bibliothèque xine 0.9.6 [Wed 05 Dec 2001 15:51:50]-[gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)]-[Linux 2.4.7-10 i686].
Version de la bibliothèque de xine trouvée: 0.9.6 (0.9.6).
Display is not using Xinerama.
video_out_xv: Xv extension is present but I couldn't find a usable yuv12 port.
Looks like your graphics hardware driver doesn't support Xv?!
load_plugins: video output plugin /usr/lib/xine/plugins/xineplug_vo_out_xv.so: init_video_out_plugin failed.
main: le pilote vidéo <Xv> a échoué


Thnk you very much for your patience.

mdwatts
03-09-2002, 05:19 PM
Yes install the appropriate nvidia kernel and glx drivers from the nvidia site.

Just follow the excellent instuctions they provide.

dochyde
03-09-2002, 08:22 PM
WattsMD & MudCrawler you guyz are great!

Here is what I did for anyone this could help:

so I have a NViDiA GeForce 2MX 32MB
--> I installed the xine rpm + the appropiate libs from the www.freshrpms.com (http://www.freshrpms.com) site.

The so my video player was now up and running. Who said it's hard on Linux?!

The pb was that I was getting really bad frame rates. Apparently Xv could initialize. You can find the output up there.

SOLUTiON:
--> Download the RPMs directly from the NViDiA site www.nvidia.com (http://www.nvidia.com)
2 filez: GLX / kernel

Just before firing up your X go see your best pal "vi" for some editing of your XF86Config file.
To find out which file your X is using just check your log file. Me it was "XF86Config-4"...guess it's because I am running version 4 of XFree.
So edit this file:
-->>>> MODULE SECTION
make sure you have:
==> Load "glx"

You should also remove the following lines:

==> Load "dri"
==> Load "GLcore"

-->>>> DEViCE SECTION
replace the line:
==> Driver "nv"

with
==> Driver "nvidia"

That's all I did!!!
Fired it up and tried Xine of course and it was perfect. Rulez!
I thank you guys again and hope this can help otherz.

Hope I can help around...

mdwatts
03-10-2002, 10:09 AM
Glad we could help.

That's exactly what I do for my tnt2 card at work. Dang easy.