You are not logged in.
Hi guys !
I've noticed that when playing videos (with every player , i've tried them all) there is a noticable cpu usage and with hd videos well the video is extremeley slow and unwatchable .
I have all the gstreamer plugins installed and i'm using gnome environment .
Does anyone know what might be the issue ?
my xorg.conf is :
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "glx"
Load "dri2"
Load "extmod"
Load "dbe"
Load "record"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Option "RenderAccel" "True"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV43 [GeForce Go 6600]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Thanks in advance!
Last edited by shak (2009-11-19 03:55:53)
Offline
The issue is that Linux and hardware decoding don't necessarily go hand-in-hand like it does on Windows. There are some options though. You can try mplayer with coreavc or one of the mplayer-mt builds. Just search for mplayer in the AUR and you'll see a few options.
Offline
Strange , with mplayer-coreavc i have no cpu usage at all . WIth smplayer which is a frotend of mplayer i have the cpu usage problem again .
It seems that i'l have to use mplayer . Is there any way to choose an option for subtitles encoding ? I've tried the -slang option with gr which stands for Greece but it doesn't work .
Also is there an easier way for mplayer to play my files , with default settings , so that i don't have to type a big command each time i want to play a video ?
Thanks a lot for your time !
Last edited by shak (2009-11-19 04:28:06)
Offline
Also is there an easier way for mplayer to play my files , with default settings , so that i don't have to type a big command each time i want to play a video ?
Yes. You can put all of your personal default settings in the file ~/.mplayer/config. If it doesn't already exist, just create it. On my VDPAU enabled system it looks like this:
[default]
vo=vdpau,xv,
deint=4
hqscaling=9
vc=ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,
channels=2
As far as subtitles go, I never use them so I have no idea.
Offline
Thanks again for your help skottish !
Offline
One tip for subs: ass=yes
ssa/ass subs are really nice.
/me awaits the obligatory unfunny comments about the option name.
When it comes to slang, that depends on that the dude encoding the movie actually put in a language code for the sub stream. Most don't.
Last edited by Mr.Elendig (2009-11-19 14:11:44)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
/me awaits the obligatory unfunny comments about the option name.
haha i wouldn't have noticed it if you haven't said that
Thanks a lot for your help , i like ass as well
Offline