LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2009, 11:28 AM   #1
kadhan
Member
 
Registered: Dec 2004
Posts: 40

Rep: Reputation: 15
mplayer program


I am using RHEL 4 Linux....

I cannot play videos using mplayer.
Audio has no problem.
The log is given below..

#####################################################

[root@localhost Desktop]# mplayer video.mp4
MPlayer 1.0rc2-3.4.5 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron(tm) 2400+ (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

Playing video.mp4.
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
Quicktime/MOV file format detected.
[mov] Audio stream found, -aid 0
[mov] Video stream found, -vid 1
VIDEO: [avc1] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
Can't open /dev/fb0: No such file or directory
[fbdev2] Can't open /dev/fb0: No such file or directory
vo_cvidix: No vidix driver name provided, probing available ones (-v option fordetails)!
[unichrome] Found chip: VT8378 [S3 UniChrome] Integrated Video
[VO_SUB_VIDIX] Description: VIA CLE266 Unichrome driver.
[VO_SUB_VIDIX] Author: Timothy Lee <timothy@siriushk.com>.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 125.3 kbit/8.88% (ratio: 15662->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [cvidix] 320x240 => 320x240 Planar YV12
vo_cvidix: warn: screenwidth and height not set assuming 640x480
A: 26.8 V: 26.8 A-V: 0.001 ct: 0.023 805/805 4% 2% 1.5% 1 0
===== PAUSE =====



#################################################################33


What is vo_cvidix???
What i will do for viewing a video????

Please help.... !!!!!!!!!!!!
 
Old 04-14-2009, 03:21 PM   #2
jasohl
Member
 
Registered: Oct 2006
Location: Seattle, Washington
Distribution: Gentoo, LinuxMint, Arch Linux
Posts: 99

Rep: Reputation: 18
MPlayer documentation:
VIDIX
"There is a console VIDIX driver: -vo cvidix. This requires a working and initialized framebuffer for most cards..."

You can see here that MPlayer can't access the framebuffer.
Quote:
Can't open /dev/fb0: No such file or directory
[fbdev2] Can't open /dev/fb0: No such file or directory
Are you trying to play the video in a console, rather than in X?
 
Old 04-14-2009, 03:21 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,534

Rep: Reputation: 6749Reputation: 6749Reputation: 6749Reputation: 6749Reputation: 6749Reputation: 6749Reputation: 6749Reputation: 6749Reputation: 6749Reputation: 6749Reputation: 6749
Quote:
Originally Posted by kadhan View Post
I am using RHEL 4 Linux....

I cannot play videos using mplayer.
Audio has no problem.

What is vo_cvidix???
What i will do for viewing a video????

Please help.... !!!!!!!!!!!!
Install the missing video codecs. Visit the mplayer website, which has links to the codecs, as well as installation instructions.
 
Old 04-14-2009, 03:56 PM   #4
kadhan
Member
 
Registered: Dec 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jasohl View Post
MPlayer documentation:
VIDIX
"There is a console VIDIX driver: -vo cvidix. This requires a working and initialized framebuffer for most cards..."

You can see here that MPlayer can't access the framebuffer.


Are you trying to play the video in a console, rather than in X?
Thanks for your quick response....
I am trying to play the video in console..
When I am using suse linux i usually play the video in console...but in RHEL i cannot do this.....
 
Old 04-14-2009, 03:57 PM   #5
kadhan
Member
 
Registered: Dec 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TB0ne View Post
Install the missing video codecs. Visit the mplayer website, which has links to the codecs, as well as installation instructions.
Missing codec means ?? I think i installed all codecs....
 
Old 04-14-2009, 04:40 PM   #6
jasohl
Member
 
Registered: Oct 2006
Location: Seattle, Washington
Distribution: Gentoo, LinuxMint, Arch Linux
Posts: 99

Rep: Reputation: 18
This is not a Codec issue. vo_cvidix is not a codec, it's an output driver.
It needs the framebuffer to display the video in a console. You need to have a frame buffer running. Usually the fb is compiled into the kernel and you just need to add an argument to your bootloader config, Lilo or Grub.

You can read more about Framebuffers at Wikipedia: Linux framebuffer

And TLDP: Framebuffer HOWTO
(Kinda old though.)
 
Old 04-14-2009, 11:14 PM   #7
kadhan
Member
 
Registered: Dec 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jasohl View Post
This is not a Codec issue. vo_cvidix is not a codec, it's an output driver.
It needs the framebuffer to display the video in a console. You need to have a frame buffer running. Usually the fb is compiled into the kernel and you just need to add an argument to your bootloader config, Lilo or Grub.

You can read more about Framebuffers at Wikipedia: Linux framebuffer

And TLDP: Framebuffer HOWTO
(Kinda old though.)

Hi Jasohi,

Thanks for ur valuable reply.....
But i dont know how to add frame buffer in kernel.
Can u explain???
 
Old 04-15-2009, 01:37 AM   #8
Mridulj
Member
 
Registered: Jan 2008
Posts: 49

Rep: Reputation: 15
I am to using RHEL 4 . so can i know are u able to play
mp3 files using mplayer .if yes from where can I download
it ?
 
Old 04-15-2009, 02:37 AM   #9
kadhan
Member
 
Registered: Dec 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Mridulj View Post
I am to using RHEL 4 . so can i know are u able to play
mp3 files using mplayer .if yes from where can I download
it ?
U can download the source of mplayer from http://www.mplayerhq.hu
 
Old 04-15-2009, 01:22 PM   #10
jasohl
Member
 
Registered: Oct 2006
Location: Seattle, Washington
Distribution: Gentoo, LinuxMint, Arch Linux
Posts: 99

Rep: Reputation: 18
I'm not familiar with RHEL so things might be a little different...
but you should be able to find out if FB is enabled by looking at the /boot/config file

Look for lines like this. (y = built-in, m = module, n = not supported by current kernel)
Code:
CONFIG_FB=y
CONFIG_FB_VESA=y
(There might be more)
I'm not sure which bootloader RHEL uses, but you have to edit the kernel line, adding something like this

Code:
kernel /boot/vmlinuz root=/dev/hda1 vga=791
Maybe someone with more RH experience can provide the specifics.
 
Old 04-15-2009, 02:39 PM   #11
Mridulj
Member
 
Registered: Jan 2008
Posts: 49

Rep: Reputation: 15
thanks a lot jasohl,

but may I know what changes will take place
if I implement those changes .

I will check the bootloader for RHEL4.
 
Old 04-21-2009, 12:18 PM   #12
kadhan
Member
 
Registered: Dec 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jasohl View Post
I'm not familiar with RHEL so things might be a little different...
but you should be able to find out if FB is enabled by looking at the /boot/config file

Look for lines like this. (y = built-in, m = module, n = not supported by current kernel)
Code:
CONFIG_FB=y
CONFIG_FB_VESA=y
(There might be more)
I'm not sure which bootloader RHEL uses, but you have to edit the kernel line, adding something like this

Code:
kernel /boot/vmlinuz root=/dev/hda1 vga=791
Maybe someone with more RH experience can provide the specifics.


my /boot/config-2.6.9-34.EL file looks like this.

Code:
#
# Multimedia devices
#
CONFIG_VIDEO_DEV=m

#
# Video For Linux
#

#
# Video Adapters
#
# CONFIG_VIDEO_BT848 is not set
# CONFIG_VIDEO_PMS is not set
# CONFIG_VIDEO_BWQCAM is not set
# CONFIG_VIDEO_CQCAM is not set
# CONFIG_VIDEO_W9966 is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_MEYE is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_CX88 is not set
CONFIG_VIDEO_OVCAMCHIP=m
#
#
#
#
#
# Graphics support
#
CONFIG_FB=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_CIRRUS=m
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
CONFIG_FB_VGA16=m
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
CONFIG_FB_RIVA=m
# CONFIG_FB_RIVA_I2C is not set
# CONFIG_FB_RIVA_DEBUG is not set
CONFIG_FB_I810=m
CONFIG_FB_I810_GTF=y
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
CONFIG_FB_KYRO=m
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set



#
#
#
#

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_MDA_CONSOLE=m
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

#
#
#


and my /boot/grub/menu.lst file is given below

Code:
kernel /boot/vmlinuz-2.6.9-34.EL ro root=LABEL=/ rhgb quiet
I change the above file as

Code:
kernel /boot/vmlinuz-2.6.9-34.EL ro root=LABEL=/ rhgb vga=791 quiet

Now mplayer shows video as blurred ( not clear) and two small video frames are shown.And now mplayer uses fbdev as the output driver.The log file is given below

Code:
root@localhost Desktop]# mplayer video.mp4
MPlayer 1.0rc2-3.4.5 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron(tm)   2400+ (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

Playing video.mp4.
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
Quicktime/MOV file format detected.
[mov] Audio stream found, -aid 0
[mov] Video stream found, -vid 1
VIDEO:  [avc1]  320x240  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 125.3 kbit/8.88% (ratio: 15662->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0x86f2588]SwScaler: using unscaled yuv420p -> bgr565 special converter
VO: [fbdev] 320x240 => 320x240 BGR 16-bit









A:   1.2 V:   1.2 A-V:  0.001 ct:  0.023  38/ 38  3%  3%  1.6% 0 0
Exiting... (Quit)
[root@localhost Desktop]#


Plz help me for correcting this problem???
 
  


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
Using mplayer in a program Accinson Programming 1 03-31-2009 12:08 PM
Mplayer build: configure finds ALSA, but mplayer doesn't galle Linux - Software 5 10-13-2007 07:14 PM
In Kubuntu I have compiled MPlayer and it works fine, MPlayer Plug-in is not working kickass331 Linux - Newbie 10 08-11-2006 10:12 PM
need program to output vidcaps (can mplayer do it?) bamsesbilledbog Linux - Software 2 03-11-2006 11:23 AM
how to recompile a installed program(mplayer) erik Linux - Software 3 01-12-2005 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:24 AM.

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