LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-05-2004, 10:59 PM   #1
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Mplayer outputs to /dev/null.


Hi!
Mplayer is outputting to /dev/null. It fails to open the framebuffer and defaults to null. What can I do? Recompile?

Thanks!


Here's the output:


bruno@frank:/backup1$ mplayer B*
MPlayer 0.93-3.3.4 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


Playing Blade I.avi
AVI file format detected.
VIDEO: [DIV3] 640x272 24bpp 24.00 fps 622.4 kbps (76.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
fbdev: Can't open /dev/fb0: No such device
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 272 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 640x272 => 640x272 Planar YV12
A: 1.0 V: 1.0 A-V: -0.000 ct: -0.004 25/ 25 0% 0% 1.2% 0 0 0%
 
Old 11-05-2004, 11:10 PM   #2
sharadbirmiwal
LQ Newbie
 
Registered: Nov 2004
Location: india
Distribution: lfs and mandrake 10.0
Posts: 6

Rep: Reputation: 0
try
mplayer -vo help
do you have fbdev there?
 
Old 11-06-2004, 12:27 PM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Original Poster
Rep: Reputation: 46
Yes, I do. But isn't the output line "...Can't open /dev/fb0: No such device..." telling that it can't be used?

Its strange: recently I switched from vesa to nv driver. Tvtime won't use the vesa driver, and besides, the nv is the adequate to my nvidia card. Now tvtime works ok. Is there anything to do with it?

Last edited by bruno buys; 11-06-2004 at 12:32 PM.
 
Old 11-06-2004, 03:56 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
sounds liek to didn't compile it correctly, as it ould *never* default to fb if it origrinally had access to the xfree86 / xorg headers. what does "mplayer -vo help" say? if it doesn't include xv and x11, you need to recompile it correctly after installing the x developement headers
 
Old 11-07-2004, 02:25 PM   #5
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Original Poster
Rep: Reputation: 46
Acid,
bingo! Installed x headers and recompiled. Now it works.

I wonder why is mplayer broken under debian. Apt-get won't install it, at least with my sources.list. Such a nice program...
 
Old 11-07-2004, 02:49 PM   #6
beaucoup
Member
 
Registered: Jun 2003
Location: Florence, SC
Distribution: Gentoo i386
Posts: 180

Rep: Reputation: 30
MPlayer quite simply doesn't lend itself well to automated installation. Even when I'm at my laziest, I generally find it worthwhile to install that one from the source tarball. It has quite a few meaningful ./configure flags anyway.
 
Old 11-07-2004, 03:12 PM   #7
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Original Poster
Rep: Reputation: 46
Yes, indeed. Learning by experience....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What would happen if I where to cat /dev/mem > /dev/null Joey.Dale Linux - General 11 07-26-2009 01:46 PM
mv c:\WINDOWS /dev/null; mount /dev/hda treehead LinuxQuestions.org Member Intro 5 10-19-2004 09:53 AM
Mplayer and Xine create only green outputs on playing video files sn_piranha Linux - Software 5 10-10-2004 09:36 PM
MPlayer gives _strange_ video outputs linkmark Linux - Software 6 08-15-2004 03:57 PM
1>/dev/null 2>/dev/null chr15t0 Linux - General 2 07-19-2002 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration