LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-02-2007, 11:38 PM   #1
tryLinux&see
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
Mplayer Video doesn't work


I'm running my new lfs in a command prompt.
I added MPlayer on it and the audio files are functioning fine.
But when i try to play a video these codes show up then the monitor goes black.

Code:
root:/z# mplayer hope.mpg
MPlayer 1.0pre7try2-4.0.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, Stepping: 2)
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


85 audio & 196 video codecs
Playing hope.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG1  352x240  (aspect 12)  29.970 fps  1600.0 kbps (200.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vesa] 352x240 => 352x264 Mpeg PES
i used lfs 6.2 and blfs 6.2.0
 
Old 03-03-2007, 06:18 AM   #2
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
did you install any cli video playback libs?
if not, you'll only solve this problem by installing one, or by installing the xserver and a window manager / desktop environment.

video playback is normally a gui operation, not a comand line operation, support for it is not normally included in either lfs or blfs.
 
Old 03-04-2007, 12:28 AM   #3
tryLinux&see
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Original Poster
Rep: Reputation: 0
"The MPlayer package contains an audio/video player controlled via the command line or a graphical interface"

http://www.linuxfromscratch.org/blfs...a/mplayer.html

in my understanding, mplayer can still play video even without an x window system installed...
or did i misunderstood the audio/video of the above statement?

there were no error message when i call the mplayer to play a video.
it's just that the monitor goes black after showing the string of texts in my first post..
 
Old 03-04-2007, 05:24 AM   #4
cvt
Member
 
Registered: Jul 2004
Location: UK
Distribution: Slackware
Posts: 37

Rep: Reputation: 17
mplayer

Have you tried different video drivers in mplayer?
You probably have, but just for incase try ....

Code:
mplayer -vo help
you should get something like this....
Code:
cvt[~]$ mplayer -vo help
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 2000+ (Family: 6, Model: 8, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Available video output drivers:
        xv      X11/Xv
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        gl      X11 (OpenGL)
        gl2     X11 (OpenGL) - multiple textures version
        dga     DGA ( Direct Graphic Access V2.0 )
        sdl     SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
        fbdev   Framebuffer Device
        fbdev2  Framebuffer Device
        svga    SVGAlib
        aa      AAlib
        caca    libcaca
        xvidix  X11 (VIDIX)
        cvidix  console VIDIX
        null    Null video output
        mpegpes Mpeg-PES to DVB card
        yuv4mpeg        yuv4mpeg output for mjpegtools
        png     PNG file
        jpeg    JPEG file
        gif89a  animated GIF output
        tga     Targa output
        pnm     PPM/PGM/PGMYUV file
        md5sum  md5sum of each frame
Not sure which one will work, but could be worth a try. :-)
 
Old 03-04-2007, 07:11 AM   #5
tryLinux&see
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Original Poster
Rep: Reputation: 0
thanks

i'll be back to update you guys..
 
Old 03-04-2007, 07:52 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Use the -vo fbdev or -vo fbdev2 option. These presupposes that you have framebuffer support and that you boot up with the right vga= value as a boot option. I use vga=791.
 
  


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
Playing video in MPlayer embedded video player and Mozilla fc6_user Linux - Desktop 22 04-02-2007 12:59 PM
Drivers for gma950 video? (Integrated i945) + slow video in mplayer ivanatora Linux - Hardware 1 01-14-2007 01:19 PM
s-video and dvi out won't work on video card klinux89 Linux - Hardware 1 10-02-2006 10:47 PM
xvid video won't work with xine or mplayer Thr3em0m Linux - Software 1 09-14-2006 07:05 AM
Mplayer: Could not initialize video filters (-vf) or video output (-vo) miceagol Linux - Software 2 06-04-2006 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:17 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
Open Source Consulting | Domain Registration