Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.....
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
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
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.
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
#
#
#
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]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.