fuser and lsof Re: [olug] MPLAYER Blue screen.
Brian Wiese
bwiese at cotse.com
Sun Oct 2 03:35:06 UTC 2005
May also want to try: fuser - identify processes using files or sockets
e.g.
bw at freedom:~ $ fuser /dev/stdin
/dev/stdin: 17190 17254
bw at freedom:~ $ ps 17190
PID TTY STAT TIME COMMAND
17190 pts/6 Ss 0:00 bash
Adam Lassek wrote:
>Install the lsof utility (if you don't have it already) and run:
>
>lsof | grep /dev/rtc
>
>this will tell you what process is using that device.
>
>On 10/1/05, Don E. Kauffman <dekauff at cox.net> wrote:
>
>
>>Well this is interesting. Video out from MPLAYER is now working again.
>>I'm not sure what did it. I do have one request though... How does one
>>find out what process is using a device? For example, the message output
>>below says that /dev/rtc is not available and to make sure that user has
>>read permission. I did and user does. How does one proceed from there to
>>find out what processes may be holding the device?
>>
>>Thanks,
>>
>>Don
>>--
>>"Global warming is just a theory: this is Intelligent Defrosting!"
>>
>>-- seen in The Register
>>
>>On Fri, 2005-09-30 at 10:35 -0500, Don E. Kauffman wrote:
>>
>>
>>>I'm trying to understand why mplayer is giving me a blue screen lately
>>>when it was working before. Below are the messages I get when I run from
>>>the command line. I 'm sorry i don't have messages to compare it with
>>>when It was working. I get audio but no images.
>>>
>>>I enjoy playing video clips that friends send me so I'd like to get this
>>>working if I could. I'd like some help debugging this.
>>>
>>>TIA
>>>
>>>Don K.
>>>
>>>dekauff at kauff-peach:/windows/D/Movies> mplayer ikea2_1.mpeg
>>>MPlayer 1.0pre7-RPM-3.4.2 (C) 2000-2005 MPlayer Team
>>>CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6,
>>>Stepping: 1)
>>>Detected cache-line size is 64 bytes
>>>CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
>>>Compiled with runtime CPU detection - WARNING - this is not optimal!
>>>To get best performance, recompile MPlayer with
>>>--disable-runtime-cpudetection.
>>>
>>>
>>>73 audio & 180 video codecs
>>>Playing ikea2_1.mpeg.
>>>Cache fill: 0.00% (0 bytes) MPEG-PS file format detected.
>>>VIDEO: MPEG1 320x240 (aspect 8) 25.000 fps 460.8 kbps (57.6
>>>kbyte/s)
>>>==========================================================================
>>>Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
>>>AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
>>>Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
>>>==========================================================================
>>>vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local
>>>display)
>>>==========================================================================
>>>Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
>>>VDec: vo config request - 320 x 240 (preferred csp: Mpeg PES)
>>>Could not find matching colorspace - retrying with -vf scale...
>>>Opening video filter: [scale]
>>>The selected video_out device is incompatible with this codec.
>>>VDecoder init failed :(
>>>Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder
>>>libmpeg2-v0.4.0b
>>>Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
>>>==========================================================================
>>>Checking audio filter chain for 44100Hz/2ch/s16le ->
>>>44100Hz/2ch/s16le...
>>>AF_pre: 44100Hz/2ch/s16le
>>>AO: [oss] 44100Hz 2ch s16le (2 bps)
>>>Building audio filter chain for 44100Hz/2ch/s16le ->
>>>44100Hz/2ch/s16le...
>>>Starting playback...
>>>VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
>>>VDec: using Planar YV12 as output csp (no 0)
>>>Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
>>>VO: [xv] 320x240 => 320x240 Planar YV12
>>>
>>>
>>>_______________________________________________
>>>OLUG mailing list
>>>OLUG at olug.org
>>>http://lists.olug.org/mailman/listinfo/olug
>>>
>>>
>>_______________________________________________
>>OLUG mailing list
>>OLUG at olug.org
>>http://lists.olug.org/mailman/listinfo/olug
>>
>>
>>
>_______________________________________________
>OLUG mailing list
>OLUG at olug.org
>http://lists.olug.org/mailman/listinfo/olug
>
>
>
--
bwiese[at]cotse.com | brianwiese.net | 402.297.9392
"What we do in life echoes in eternity" - Gladiator
More information about the OLUG
mailing list