|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Question about mplayer and video playback
Hello to all. I'm new to your community and found your forum very helpful while I was configurating the OS.
First things first. I managed to install OpenBSD 4.7 to my laptop and the whole setup of my system was very easy with the man pages (got openbox working, network is up, etc.). For one week now I even do all stuff from the terminal, which I begin to find more easy than navigating through file managers. No more clicks and windows for me. Now to the point: I installed mplayer and I have some questions. I can't find any info about the .conf file. The only thing I found was on man pages and it was the only thing I didn't find helpful. Am I supposed to create it from scratch? Also I noticed that every video I play, somehow "stucks" every 5-10 seconds for a moment (although I think that this will be solved with the configuration of the .conf file). Why is this happenning? My video card is intel x3100 and I'm on OpenBSD 4.7 x64 (due to dual core). edit: I think I have to raise shmem segments or something like that... where's that now? (and I thought the video player would be the easiest part... lol) Last edited by Daffy; 15th June 2010 at 12:30 PM. |
|
||||
mplayer is a third party program. You'll find documentation and additional information at the mplayer website: http://www.mplayerhq.hu
If you have specific questions about the OpenBSD implementation of mplayer, such as how sndio(4) can be used with it, we might be able to help. As for "hesitation" every few seconds -- it may be the video or audio output choice you are using. I have also seen stuttering on an Intel Atom, single core, when using Hyperthread and the GENERIC.MP kernel. Using GENERIC (bsd.sp) instead cleared that up for me. |
|
||||
Most instances of sttuering I've seen with mplayer are due to the vo selected, or using it over a slow connection. Slow CPUs also occur.
the conf file is pretty much as stated in the "CONFIGURATION FILES" section of the manual. It's basically a set of option=value pairs with # comments, where the 'option' part is the same as -option, or sth like that.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
Thank you both for your posts. They helped me to search.
The last few days I keep reading more about OpenBSD and I'm getting into it. I solved some problems but others occured. Now for instance, I'm trying to configure sysctl and I keep getting the following error: Code:
# sysctl -w machdep.userldt=1 sysctl: second level name userldt in machdep.userldt is invalid p.s. if I must open a new topic, please send me a pm to modify this message and open a new topic. |
|
|||
Quote:
However, the following is straight-forward: Quote:
|
|
|||
Actually ocicat, the -w flag wasn't always implicit as it is now.. traditionally the argument was needed to indicate "write".
It's still supported by the program, but it's a no-op now.. as mentioned in the source, it's retained for compatibility. I confirmed that it works here on OpenBSD 4.7/i386, the problem is possibly related to the user using OpenBSD/amd64, where machdep.userldt is indeed invalid and unnecessary. |
|
|||
Here is my mplayer configuration file, it's something I've been tweaking forever.. but.. it mostly works for the things I watch.
You might want to customize it to fit your requirements, most options have command-line equivalents. Code:
# Write your default config options here! vo=xv double=yes framedrop=yes hardframedrop=no # Post processing? can be buggy, but, can improve things in some cases. #vf=pp #autoq=80 # Use the native sndio API. ao=sndio # Volume normalization. af=volnorm # Auto-synchronization, fiddle with this if you have issues, 20 is a good value. autosync=0 # Disable OSD/subtitles. noautosub=yes osdlevel=0 # Use an 8M cache, small but enough. cache=8192 # If you use it, uncomment this line. #stop-xscreensaver=yes # Change if your primary device is different. dvd-device=/dev/rcd0c cdda:device=/dev/rcd0c cdrom-device=/dev/rcd0c # Reduced program verbosity.. but it breaks mplayerplug-in. msglevel:all=0 |
|
|||
Quote:
Quote:
|
|
||||
Quote:
|
Tags |
amd64, mplayer, openbsd 4.7, video |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Advice on DVD playback sought | Vahagn | FreeBSD General | 10 | 14th November 2008 08:09 PM |
mplayer do not show subtitle | mfaridi | OpenBSD Packages and Ports | 3 | 12th November 2008 05:41 AM |
mplayer-1.0rc2p2-sdl.tgz and mplayer-1.0rc2p2.tgz | bsdnewbie999 | OpenBSD General | 1 | 21st June 2008 06:34 AM |
mplayer volume cannot increase. | bsdnewbie999 | OpenBSD General | 3 | 19th June 2008 03:16 PM |
MPlayer skins for solaris | whispersGhost | Solaris | 7 | 12th June 2008 11:06 PM |