Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
1080p xvid video on p4 3ghz 1gig ram, xine dropped frames
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Sun Aug 27, 2006 6:37 pm    Post subject: 1080p xvid video on p4 3ghz 1gig ram, xine dropped frames Reply with quote

hi
i have a p4 3ghz and 2x 512mb running in dual channel mode, i will play a 1080p mpeg4 movie .. xine have a lot of dropped frames
i do not understand why
is my pc to slow?
my video card is a ge force 6600 gt .. wen i use xy in the xine video option, the same, not better .. i see in gkrellm 70...99% cpu use
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Sun Aug 27, 2006 6:43 pm    Post subject: Reply with quote

pieter_parker,

Tell us about your hardware, partiticularly your disk drives, post the output of lspci. If you have any IDE drives run
Code:
hdparm /dev/hdX
for each and post that too please.

I know this probelm appears in xine but the output of mplayer (without any options) run in a terminal window will also be useful.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Sun Aug 27, 2006 10:12 pm    Post subject: Reply with quote

lspci say this here:
Code:

00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600/GeForce 6600 GT] (rev a2)
02:05.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH Fritz!PCI v2.0 ISDN (rev 01)
02:06.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
02:07.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)


and hdparm /dev/hda say
Code:

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 16383/255/63, sectors = 120103200, start = 0

its a ibm 60gig harddisk, with 7200upm
i think not that they is to slow

i do not understand what is wrong at my sys
with xine .. i see 70..99% cpu use in gkrellm and the video often runs slow and xine say droppedframes, and than sound and video are not sync
with kplayer .. 40..60% cpu use, the video runs slowsly but i have not 100% use, and than the sound is not sync to the video than
with kmplayer .. i have the same 40..60% cpu use, the video runs on scenes with many action slowly, the sound allways runs normal .. and than runs sound and video sync again
kmplayer is at the moment the best choice for me
but is my system to slow to play 1080p xvid videos?



i have use mplayer from the console now, with the videofilename, it seems to run perfectly now!!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Sun Aug 27, 2006 10:23 pm    Post subject: Reply with quote

pieter_parker,

That all looks good so far. What does
Code:
mpayer
say if you run it in a terminal, which no options.
Also
Code:
mplayer -vo help

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Sun Aug 27, 2006 10:29 pm    Post subject: Reply with quote

Code:

mplayer
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU:               Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 2, Stepping: 9)
MMX supported but disabled
MMX2 supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Kompiliert für x86 CPU mit folgenden Erweiterungen: SSE SSE2


93 Audio- & 211 Videocodecs
Verwendung:   mplayer [Optionen] [URL|Verzeichnis/]Dateiname

Basisoptionen: (siehe Manpage für eine vollständige Liste aller Optionen!)
 -vo <drv>        Wähle Videoausgabetreiber ('-vo help' für eine Liste)
 -ao <drv>        Wähle Audioausgabetreiber ('-ao help' für eine Liste)
 vcd://<tracknr>  Spiele einen (S)VCD-Titel (Super Video CD) ab
                  ( direkter Gerätezugriff, kein mount! )
 dvd://<titelnr>  Spiele DVD-Titel direkt vom Gerät anstelle einer Datei
 -alang/-slang    Wähle DVD Audio/Untertitel Sprache (2-Zeichen-Ländercode)
 -ss <Position>   Spiele ab Position (Sekunden oder hh:mm:ss)
 -nosound         Ohne Ton abspielen
 -fs              Im Vollbildmodus abspielen (oder -vm, -zoom, siehe Manpage)
 -x <x> -y <y>    Setze Bildschirmauflösung (für Benutzung mit -vm oder -zoom)
 -sub <Datei>     Benutze Untertitel-Datei (siehe auch -subfps, -subdelay)
 -playlist <Datei> Benutze Playlist aus Datei
 -vid x -aid y    Wähle Video- (x) und Audiostream (y) zum Abspielen
 -fps x -srate y  Ãndere Videoframerate (x fps) und Audiosamplingrate (y Hz)
 -pp <Qualität>   Aktiviere Postprocessing-Filter (siehe Manpage für Details)
 -framedrop       Verwerfe einzelne Frames (bei langsamen Rechnern)

Grundlegende Tasten: (vollständige Liste in der Manpage, siehe auch input.conf)
 <- oder ->       Springe 10 Sekunden vor/zurück
 hoch/runter      Springe  1 Minute vor/zurück
 Bild hoch/runter Springe 10 Minuten vor/zurück
 < oder >         Gehe in der Playlist vor/zurück
 p oder LEER      Pause (drücke eine beliebige Taste zum Fortsetzen)
 q oder ESC       Abspielen stoppen und Programm beenden
 + oder -         Audioverzögerung um +/- 0.1 Sekunde anpassen
 o                OSD-Modus:  Aus / Suchleiste / Suchleiste + Zeitangabe
 * oder /         PCM-Lautstärke erhöhen oder erniedrigen
 z oder x         Untertitelverzögerung um +/- 0.1 Sekunde anpassen
 r oder t         Verschiebe die Untertitel-Position, siehe auch '-vf expand'

 * * * SIEHE MANPAGE FÃR DETAILS, WEITERE OPTIONEN UND TASTEN * * *



Code:

mplayer -vo help
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU:               Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 2, Stepping: 9)
MMX supported but disabled
MMX2 supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Kompiliert für x86 CPU mit folgenden Erweiterungen: SSE SSE2


Verfügbare Videoausgabetreiber:
        xv      X11/Xv
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        gl      X11 (OpenGL)
        gl2     X11 (OpenGL) - multiple textures version
        sdl     SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
        xvidix  X11 (VIDIX)
        cvidix  console VIDIX
        null    Null video output
        xvmc    XVideo Motion Compensation
        mpegpes Mpeg-PES to DVB card
        yuv4mpeg        yuv4mpeg output for mjpegtools
        png     PNG file
        jpeg    JPEG file
        gif89a  animated GIF output
        pnm     PPM/PGM/PGMYUV file
        md5sum  md5sum of each frame

93 Audio- & 211 Videocodecs


i have testet in xine other video .. xv, no change, all the time a lot of cpu use
i will use mplayer from the console now, i think its the best
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Sun Aug 27, 2006 10:42 pm    Post subject: Reply with quote

pieter_parker,

Two things come out of that
Code:
MMX supported but disabled
MMX2 supported but disabled
you are missing USE="mmx mmxext" which will help all your multimedia programs run with a reduced CPU load and you are missing the xvmc video output driver, which is needed to get the best out of your card. Thats USE="xvmc" fix your Use flags then
Code:
emerge world -uDNa
so they take effect. Before you say 'y' to run the emerge, check the flags for mplayer. I recall it has an nvidia USE flag. Make sure its set.

I assume you are using the nVidia binary graphics drivers ?

You have mplayer set up to use the RTC for timing too - that saves it using busy wait loops. However, its possible for that to work for root but not for users. I cannot see from your post if you did the tests as root or an ordinary user.

Xine also takes advantage of all these speedups but doesn't tell you when they are missing.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Mon Aug 28, 2006 6:00 am    Post subject: Reply with quote

yes, i use the nvidia driver and the nvidia useflag is set
i allways run programm as a user, only as root if there no way to run as user
i have set the useflags mmx mmxext and than emerge -uaDvN world
it runs better in with xine, the cpu use is lower ..
Back to top
View user's profile Send private message
strc
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 77

PostPosted: Mon Sep 04, 2006 5:01 pm    Post subject: Reply with quote

Depending on the bitrate of the video, your system could easily be too slow for 1080p XviD, especially during action sequences (which involve a higher short term bitrate and thus use more cpu). For videos with the h264 codec, smooth 1080p is almost always impossible with my 2.8ghz P4... with most XviD clips, my system can only barely play it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum