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.... !!!!!!!!!!!! |
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:
|
Quote:
|
Quote:
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..... |
Quote:
|
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.) |
Quote:
Hi Jasohi, Thanks for ur valuable reply..... But i dont know how to add frame buffer in kernel. Can u explain??? |
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 ? |
Quote:
|
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 Code:
kernel /boot/vmlinuz root=/dev/hda1 vga=791 |
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. |
Quote:
my /boot/config-2.6.9-34.EL file looks like this. Code:
# and my /boot/grub/menu.lst file is given below Code:
kernel /boot/vmlinuz-2.6.9-34.EL ro root=LABEL=/ rhgb quiet 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 Plz help me for correcting this problem??? |
All times are GMT -5. The time now is 04:09 PM. |