Slackware :: Avoiding System Suspension During Mplayer Playback?
Apr 24, 2010
I'd like to know if there's a way to disable system suspension during mplayer playback, I'm using kde 4.4.2 by AlienBob on my slackware64-current, and powerdevil as the power manager. In powerdevil I've setup the performance profile to suspend the system after 30 minutes with no user interaction, and the presentation profile is setup not to use suspension at all, but I always forget to switch the profile before playing some long video on mplayer and the system goes down after 30 minutes of playback.
Does someone knows a way, a hidden mplayer setting (powerdevil setting would be ok too) that lets me disable suspension only when mplayer is working and nobody is using the system for more than 30 minutes??
Slackware is very stable and very geek-friendly. I happen to love it... Unfortunately, I've found it unsuitable for day-to-day stuff in recent years, because it doesn't have a whole lot of software in its repos - and installing stuff from source can quickly lead you into dependency.
But pkgsrc has a vast amount of software in it, and can run on Linux. So it could be a solution, right?
The problem with pkgsrc is that the dependency resolution doesn't recognize stuff installed through standard Slackware packages. If you try to compile Gnash with it for instance, it will drag in Firefox and waste a few hours compiling that, even if you already installed Firefox through pkgtools. So with a default setup, pkgsrc is suitable for building on a very minimal Slackware system, but not for extending a preexisting Slackware desktop with Xfce and Firefox and whatever.
Is there any way of changing this, so that pkgsrc registers preinstalled binaries as providing whatever dependency? Or is that not possible? If not, is there any other system that could provide dependency resolution for compiling stuff?
I spend hours following a dozen different how tos to get wma, asf, and a techsmtih videos to play. I still can't play asf, or techsmith. The asf plays the video, but there is no audio. The Techsmith flashes the video every so often but the sound works fine. mplayer -vc help says the techsmith codec is working, but it is not.
Available video codecs: vc: vfm: status: info: [lib/dll] ffmvi1 ffmpeg working FFmpeg Motion Pixels [motionpixels] ffmdec ffmpeg working FFmpeg Sony PlayStation MDEC (Motion DECoder) [mdec] ffsiff ffmpeg working FFmpeg Beam Software SIFF [vb] ffmimic ffmpeg working FFmpeg Mimic video [mimic]
I can't seem to watch 576p or 720p files without either VLC tearing and blocking or MPlayer freezing for a few frames, or stuttering. I can't figure out why.
I have a Intel Q6600 and a GTX480 with the latest drivers on OpenSUSE 11.4. Qt 4.7.1
On VLC 1.1.8/1.2.0 I've tried X11 video out, XVideo video out and GLX video out. I've also tried enabling hardware decoding under Advanced > Inputs/Codecs > FFmpeg to no avail.
On MPlayer 0.6.9, I set my cores to 4, and and tried XVideo output and VDPAU output.
after update to slackware current 4 days ago i cant get sound working in wine in starcraf 2 i mean i got sound in instalation but not in game and i get error when i wanna configure sound in winecfg
err:alsa:ALSA_CheckSetVolume Could not find '{PCM,Line} Playback Volume' element err:alsa:ALSA_CheckSetVolume Could not find '{PCM,Line} Playback Volume' element err:alsa:wine_snd_pcm_recover underrun occurred err:alsa:wine_snd_pcm_recover underrun occurred
in game i dont got that error but sound dont work btw my sound card is asus xonar essence stx
I upgraded from 10.11 to 11.4 and as far as I can see most things work as they did before. However, I have my machine to "go to sleep" (is that suspension or hibernation?) after 2 hours and when I, now after the upgrade, press the "wake up button" the machine fires up but the screen remains down. Ie, the screen is actually not receiving any signals from the computer? Any setting I can change? It worked fine with 10.11!
I am running Debian 8 with the Xfce Desktop Environment.
I was unhappy with the lock screen on Xfce so I removed xscreensaver and wrote a short custom locking script, which basically involves using i3lock along with some additional commands to make things pretty. I was able to change the default locking behaviour by modifying /usr/bin/xflock4 to run my_lock.sh.
Unfortunately, no lock screen appears whenever I suspend ie after waking the computer from suspension I don't need to type a password in. I would like to force Xfce to lock the screen with my_lock.sh before actually suspending, but I don't know how to do this.
I know that Xfce runs Code: Select allxfce4-session-logout -s when suspending, but xfce4-session-logout is a binary file which I cannot edit.
I have a weird HD video in wmv and mkf files playback problem. Every HD video i attempt to play using vlc with vaapi hardware acceleration looks like this: My hardware configuration is i3 cpu, and i am using it's integrated HD2000 video card, which has DVI, HDMI and VGA outputs, which all i am using (not at the same time). However, the problem is present in every combination (DVI only. DVI+HDMI. DVI+VGA. DVI+HDMI+VGA).
As for software, I am using stock 32bit Slackware 13.37, with stock 2.37.6 kernel. And for HD video playback I have installed VLC-1.1.10. libva-0.32.0 and MPlayer-20110624 all these packages came from Alien pastures, so they are quality packages And my vlc settings are also stock :/
Sounds like a trivial thing, but how do you do it? How do you play a plain red book audio CD? I have tried xmms, audacious and mplayer. The only success I have had (if you can call it that) is with the latter, mplayer. Using the command:
Code: mplayer -cdrom-device /dev/sr0 cdda://3 -cache 6000 I get the warnings:
Code: Cache not filling, consider increasing -cache and/or -cache-min! Cache not filling, consider increasing -cache and/or -cache-min!
The program plays the audio, but there is a huge latency prior to starting the playback, making it very cumbersome to change tracks and having to wait. I have tried with various cache values as well as using the "-cache-min" argument, to no avail. What values are certain to work?
As for xmms and audacious I get the errors: Audacious: When trying "audacious /dev/sr0"
Code: unix-io: read failed: Input/output error. MADPlug-Message: Rejecting file:///dev/sr0; cannot read from file. unix-io: read failed: Input/output error. unix-io: read failed: Input/output error. XMMS: When trying "xmms /dev/sr0": No error
It simply does nothing except starting up and not playing. My system is a 32-bit Slackware 13.1.0 on a fast x86. I have tried with different audio CDs.
Linux 2.6.21.5, GNU (Slackware 12.0) MPlayer 1.0rc2-4.1.2
Although mplayer is not a part of the Slack distros, I think the issue is more in connection with the system setup and thefore I place this post in this forum. What is it with mplay- er? I've installed and reinstalled slackware 12.0 many times. And each time I have built mplayer from the sources and it has run fine. In the one before the last slack 12 installation, with subsequent building and installation of MPlayer, some- thing went wrong. And the same can be said of the present installation. Every source mplayer reproduces, it does it fine, with the exception of CD-ROM. No matter the CD-ROM I insert (I have them of the highest quality, bought out of the shelf) or the CD-ROM unit I use. The result is always the same: the sound is faulty, as if the machine had not enough speed. And I repeat. MPlayer played CD-ROMs fine in the past and under the same conditions. Or almost the same conditions, because something must obviously have changed.
Some additional data:
(a) Window$MediaPlayer plays them fine on the same machine.
(b) I invoke it from the physical console.
(c) KsCD under xfce plays them fine.
(d) I am able to load an o.s. from both CD-ROM units on the machine. All the more so, should audio be "correcty" read off the CD.
(e) Now I remember the last time I compiled mplayer with GUI support.
I have downloaded mplayer svn slackbuild script for slackware 12.2 and converted into tgz package and installed it on my slackware 12.2 system. I was using it with slackware 12.2 early and it worked fine. i formated my hard disk to give slackware 13 a try. and later when i installed slackware 12.2 and installed mplayer it is not opening i mean not initializing when i click mplayer icon from the multemedia menu or if i click a videofile and tell it to open with mplayer both ways its not working i tried reinstalling mplayer but still not working.
I have installed the Jack audio connection kit from [URL] The two listed dependencies, libsndfile and libsamplerate are installed and everything seemed to go well, except it's not listed in the KDE menus. But that's Ok. I can start it from /usr/bin/jackd But no I can't because I get these error messages:
oot@ed:/# jackd -R -d alsa jackd 0.116.2 Copyright 2001-2005 Paul Davis and others. jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK compiled with System V SHM support. loading driver ..creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit control device hw:0 ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode cannot load driver module alsa
first of all: I am not sure, if this is the right forum, as I don't know, if it is Slackware-relatedm, or if it is a general thing affecting other distros with KDE, as well. If the latter is the case, please let me know, where to post this (Linux Software or Linux Desktop forum?). BTW, I am on Slackware64-13.1 (stable). Currently, I am trying to copy all my music CDs on a harddisk. I thought, this would be a very simple thing to do, but whatever I do I run into another issue.
I am trying to get DVD's to play in 13.1. I have downloaded Eric's latest VLC, installed libdvdcss, libdvdread, all the gst-plugins I could get and I with VLC the playback is unwatchable, with color mismatch, audio tearing.. all kinds of nasties. The same DVD will play in my win7 laptop as well as my blu ray player. Other players give either audio and no video or tell me that the DVD is encrypted and they can't go further.
First I've compiled and installed lame and xvid with --prefix=/usr.
Then I've compiled and install mplayer with --prefix=/usr.
Checking for libmp3lame ... yes (in FFmpeg: yes)
Checking for Xvid ... yes
mencoder -ovc help shows xvid (it works) but no mp3lame at all. And mplayer uses ffmpeg [ffmp3float], which extremely distors tracks. I'm sure it's not alsa, because music played online sounds normal.
I have noticed that recently, cannot tell after which update, my mplayer does not scale to full screen. It just shows the movie in the center of the screen with black frame around it.I do not know how tightly it may be related, but xine-check says my X server does not support YV12 overlays (twice, BTW, so there must be a bug in its message file) and has no XVideo support.Is it normal in current for now? The card is X1200 (R690)
I have installed slackware 13.1 on my friends laptop. Its an msi laptop . dual core 2ghz, 1gb ram nividia 9000 series.etc. everything is fine but after installing mplayer codecs from slackbuild and also xvidcore, i am not able to play avi files in mplayer. It is giving me a fatal error saying. error initializing -vo device. i tried to change the video driver. it was by default xv then i tried X11(xvid) then open gl and open gl with max textures . when i made it to open gl with max textures the video out came but it is lagging with the audio.
I recently setup my X to work well with the newer version of the ATI driver for my Radeon 3650, however no matter what I do, I can't get mplayer to scale to fullscreen. Something that xine has no trouble with. I have tried the x11, sdl, xover, gl, and gl2 outputs which all make no difference. Am I missing an output, or is something not working as it should? In particular, why is xine fine, while mplayer stumbles? As an unrelated question, it is possible to set mplayer to skip to a next file in a directory? From what I could tell, it does not seem to have this functionality built in.
I am having trouble getting sound to work through hdmi, I changed the device in the kde settings for multimedia and it now works in Amarok but Mplayer and VLC are refusing.
This is the error i am getting with mplayer:
I have disabled my sound card in the bios to save confusion (on my part) Upgraded my kernel to 2.6.37. My gfx card is a NV gt 430 xt
Is there a way to run a short mplayer ascii video clip after the boot messages?I've got some video of a shark that I can play with the mplayer ascii feature (mplayer -vo aa -monitorpixelaspect 0.5 file.avi)
The intent is to use Mplayer without X or any other window manager/GUI to watch movies on TV. A simple 'mplayer movie.avi' command works fine, except that it locks out the keyboard and mouse. We're using the latest mplayer and slack 13.0 with the 2.6.29.6 kernel. Using mplayer under X presents no problems, but the use of anything but the console is NOT possible now. The whole problem is figuring out what to do to regain control of the keyboard.
I'm currently viewing all my video and DVD stuff on two different desktops (CentOS and Kubuntu), each with a combination of MPlayer and VLC. Now I'm considering doing everything only with an "MPlayer-on-steroids" build for Slackware 13.37. Basically, I like the one-app-per-task approach. But first things first.
1) I'm basically using this script here as a starting point for my build: [URL] What libs (from slackbuilds.org) would be reasonable to include before the build to support playback of the most common - and the odd exotic - video formats? The thing with MPlayer is that ./configure --help spits out a gazillion of options
2) Until now I've only used the no-GUI version of MPlayer, since the default interface seems to me almost unusable. Now I understand there are several new frontends available for MPlayer. Is there one that works OK for DVD playback, e. g. enables you to select chapters, languages and subtitles without having to jump through burning loops?
I'm trying to install mplayer(=DVD-player) on my system. In fact it means compiling from source code. But I don't know how to compile from source code (Don't know the exact commands).