Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 20-12-2007, 05:09 PM   #1 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Question Error Compiling Mplayer


I am trying to compile a custom version of mplayer which is given by VIA named Vemp.VIA enhanced MPlayer(VeMP), which uses hardware-specific acceleration in decoding for better MPEG2/4 performance.
http://sourceforge.net/projects/vemp

So as claims its better for my hardware chipset K8m800, so i am trying it
but compiling isn't easy task, hence i get error i can't understand

Code:
gaurish@MOODY-MACHINE:~/Desktop/VeMP-v1.5$ sudo ./VeMP-quickinstall.sh 

*****************  Installation Shell ********************
This will lead you to download the MPlayer package and patch the VeMP patch automatically.









































****************************************************************
* Please make sure the network connects to the internet first. *
****************************************************************

[1] Install the VeMP-v1.5 packages
[2] Exit
Note: Please ensure the Unichrome Pro VGA driver has been installed. (V40056_0311 or later)
      If not, you will encounter a compiling error problem during installation of VeMP.
      If a proxy server needed, please run the following command first.
        #export http_proxy=a.b.c.d (#a.b.c.d is the IP address of the proxy server.)
1
Checking the Win32 codec.....
The /usr/lib/win32 exists already!!
Compiling the VeMP now
**********************************************
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.1.3, ok
Checking for CPU vendor ... AuthenticAMD (15:12:0)
Checking for CPU type ...  AMD Athlon(tm) 64 Processor 3000+
Checking for GCC & CPU optimization abilities ... Your cc does not even support "i386" for '-march' and '-mtune'.
error
Checking for kernel support of mmx ... failed
It seems that your kernel does not correctly support mmx.
To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of mmx2 ... failed
It seems that your kernel does not correctly support mmx2.
To use mmx2 extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of 3dnow ... failed
It seems that your kernel does not correctly support 3dnow.
To use 3dnow extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of 3dnowex ... failed
It seems that your kernel does not correctly support 3dnowex.
To use 3dnowex extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of sse ... failed
It seems that your kernel does not correctly support sse.
To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of sse2 ... failed
It seems that your kernel does not correctly support sse2.
To use sse2 extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for mtrr support ... yes
Checking for assembler (as ) ... ok
Checking for Linux kernel version ... 2.6.22-14-generic, ok
Checking for mplayer binary name ... mplayer
Checking for awk ... mawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... no
Checking for setlocale() ... no
Checking for iconv ... no
Checking for langinfo ... no
Checking for language ... using en (man pages: en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... none
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... no
Checking for nanosleep ... no
Checking for socklib ... no
Checking for inet_pton() ... no (=> i'll try inet_aton next)
Checking for inet_aton() ... no (=> network support disabled)
Checking for inttypes.h (required) ... no
Checking for bitypes.h (inttypes.h predecessor) ... 
Error: Cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/en/faq.html).

Check "configure.log" if you do not understand why it failed.
*** Error: Fail to compile.
Please ensure the UniChrome Pro VGA driver has been installed.
Or, visit the http://sourceforge.net/projects/vemp for more help.
gaurish@MOODY-MACHINE:~/Desktop/VeMP-v1.5$
where am i missing, for record i am using the binary driver from via, which enable rendering

Code:
gaurish@MOODY-MACHINE:~$ glxinfo | grep rendering
libGL warning: 3D driver claims to not support visual 0x22
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x26
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x28
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2a
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2c
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2e
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x30
libGL warning: 3D driver claims to not support visual 0x31
direct rendering: Yes

Code:
gaurish@MOODY-MACHINE:~$ glxgears 
libGL warning: 3D driver claims to not support visual 0x22
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x26
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x28
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2a
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2c
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2e
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x30
libGL warning: 3D driver claims to not support visual 0x31
2921 frames in 5.0 seconds = 584.115 FPS
3074 frames in 5.0 seconds = 614.655 FPS
3074 frames in 5.0 seconds = 614.703 FPS
8499 frames in 5.0 seconds = 1699.795 FPS
32420 frames in 5.0 seconds = 6483.904 FPS
32340 frames in 5.0 seconds = 6467.845 FPS
15242 frames in 5.0 seconds = 3048.340 FPS
25751 frames in 5.0 seconds = 5148.552 FPS
3035 frames in 5.0 seconds = 606.896 FPS
3059 frames in 5.0 seconds = 611.652 FPS

gaurish@MOODY-MACHINE:~$
gary4gar is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 20-12-2007, 09:32 PM   #2 (permalink)
Resistance is Futile.
 
coolpcguy's Avatar
 
Join Date: Oct 2007
Location: Borg Cube
Posts: 534
Default Re: Error Compiling Mplayer

^^ Kernel sources/ header files installed? If so make cannot get the location to those files
__________________
Super User ♦ Moderator | chip/tech2 forum Mod | About me

Gadgets: HP Envy 14 | Google Cr-48 | D-Link DGL 4500 | Denon AH-C360 | Fiio E5 | Galaxy SII GT-I9100 | Dell U2312HM
coolpcguy is offline  
Old 20-12-2007, 10:04 PM   #3 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Error Compiling Mplayer

gcc -which version do u have?are u having gcc-3.x?sometime u may need to force-symlink /usr/bin/gcc to use a gcc-3.x version.

you can for temparory,try to compile with gcc-3.3x as:
sudo apt-get update && sudo apt-get install gcc-3.x
then "ln -sf /usr/bin/gcc /usr/bin/gcc-3.x" and try.
also check for configure.log somewhere in the current directory or /var/log dir.

make sure libc6-dev is installed,also install libc6-i686 for intel systems.
also i hope @gary u had installed "build-essential" also.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 21-12-2007, 06:20 PM   #4 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Default Re: Error Compiling Mplayer

okay installed it but still the video's does not play
Code:
gaurish@MOODY-MACHINE:~$ mplayer -vo vmix11 '/home/gaurish/Azureus Downloads/Om Shanti Om 2007-Eu DvD RiP-Music.Videos.Xvid.Bluffmaster/Main.Agar.kahoon-By.Bluffmaster.avi'
MPlayer 1.0pre5-4.1.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices 999.9 MHz (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/gaurish/.mplayer/config
Reading /home/gaurish/.mplayer/codecs.conf: Can't open '/home/gaurish/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/gaurish/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
Can't open input config file /home/gaurish/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config

Playing /home/gaurish/Azureus Downloads/Om Shanti Om 2007-Eu DvD RiP-Music.Videos.Xvid.Bluffmaster/Main.Agar.kahoon-By.Bluffmaster.avi.
AVI file format detected.
VIDEO: [XVID] 640x288 12bpp 23.976 fps 374.0 kbps (45.6 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
mpg123: Can't rewind stream by 499 bits!
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)
==========================================================================
use driver:null instead.

HardWare Accelerate Supported: MPEG4 No, MPEG2 No
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
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...
mpg123: Can't rewind stream by 66 bits!
mpg123: Can't rewind stream by 15 bits!
mpg123: Can't rewind stream by 80 bits!
mpg123: Can't rewind stream by 9 bits!
mpg123: Can't rewind stream by 51 bits!
mpg123: Can't rewind stream by 89 bits!
VDec: vo config request - 640 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.22:1 - prescaling to correct movie aspect.
VO: [null] 640x288 => 640x288 Planar YV12
mpg123: Can't rewind stream by 127 bits! 1/ 1 0% 0% 0.0% 0 0 0%
mpg123: Can't rewind stream by 51 bits!3 4/ 4 0% 0% 0.0% 0 0 0%
mpg123: Can't rewind stream by 27 bits!7 5/ 5 0% 0% 0.0% 0 0 0%
mpg123: Can't rewind stream by 42 bits!5 7/ 7 0% 0% 0.0% 0 0 0%
mpg123: Can't rewind stream by 71 bits!
mpg123: Can't rewind stream by 29 bits!9 8/ 8 0% 0% 0.0% 0 0 0%
mpg123: Can't rewind stream by 46 bits!8 15/ 15 15% 0% 3.3% 0 0 0%
mpg123: Can't rewind stream by 34 bits!
mpg123: Can't rewind stream by 1 bits!63 16/ 16 14% 0% 3.1% 0 0 0%
mpg123: Can't rewind stream by 43 bits!7 17/ 17 13% 0% 3.0% 0 0 0%
mpg123: Can't rewind stream by 121 bits! 18/ 18 13% 0% 2.9% 0 0 0%
mpg123: Can't rewind stream by 9 bits!79 20/ 20 12% 0% 2.6% 0 0 0%
mpg123: Can't rewind stream by 195 bits! 21/ 21 11% 0% 2.5% 0 0 0%
mpg123: Can't rewind stream by 18 bits!8 22/ 22 11% 0% 2.5% 0 0 0%
mpg123: Can't rewind stream by 90 bits!


MPlayer interrupted by signal 2 in module: sleep_usleep
gary4gar is offline  
Old 21-12-2007, 08:31 PM   #5 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Error Compiling Mplayer

seeing om shanthi om dvd rip ?

OK.if u have installed mplayer without GUI,then u have to edit,/etc/mplayer/mplayer.conf or /etc/mplayer.conf some where in /etc/ dir to enable "xv" playback and DRI enabled.if u have compiled mplayer with GUI option,then open a terminal and run "gmplayer",now right click preferences>video and select xv(X Video) driver and enable other options which via driver supports.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 22-12-2007, 10:55 AM   #6 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Default Re: Error Compiling Mplayer

Quote:
Originally Posted by praka123
seeing om shanthi om dvd rip ?
nopes, its the video song, seen the movie FDFS in theater already.
Quote:
OK.if u have installed mplayer without GUI,then u have to edit,/etc/mplayer/mplayer.conf or /etc/mplayer.conf some where in /etc/ dir to enable "xv" playback and DRI enabled.if u have compiled mplayer with GUI option,then open a terminal and run "gmplayer",now right click preferences>video and select xv(X Video) driver and enable other options which via driver supports
.
it is complied with CLI support
Code:
#
# MPlayer configuration file
#
# Configuration files are read system-wide from /usr/local/etc/mplayer.conf
# and per user from ~/.mplayer/config, where per-user settings override
# system-wide settings, all of which are overrriden by the command line.
#
# The configuration file settings are the same as the command line
# options without the preceding '-'.
#
# See the CONFIGURATION FILES section in the man page
# for a detailed description of the syntax.


##################
# video settings #
##################

# Specify default video driver (see -vo help for a list).
vo=xv

# Use SDL video with the aalib subdriver by default.
#vo = sdl:aalib

# FBdev driver:
#
# mode to use (read from fb.modes)
#fbmode = 640x480-120
#
# location of the fb.modes file
#fbmodeconfig = /etc/fb.modes

# Specify your monitor timings for the vesa and fbdev video output drivers.
# See /etc/X11/XF86Config for timings. Be careful; if you specify settings
# that exceed the capabilities of your monitor, you may damage it.
#
# horizontal frequency range (k stands for 1000)
#monitor-hfreq = 31.5k-50k,70k
#
# vertical frequency range
#monitor-vfreq = 50-90
#
# dotclock (or pixelclock) range (m stands for 1000000)
#monitor-dotclock = 30M-300M

# Start in fullscreen mode by default.
#fs=yes

# Change to a different videomode when going fullscreen.
#vm=yes

# Override the autodetected color depth, may need 'vm=yes' as well.
#bpp=0

# Enable software scaling (powerful CPU needed) for video output
# drivers that do not support hardware scaling.
#zoom=yes

# standard monitor size, with square pixels
#monitoraspect=4:3

# Use this for a widescreen monitor, non-square pixels.
#monitoraspect=16:9

# Keep the player window on top of all other windows.
#ontop=yes


##################
# audio settings #
##################

# Specify default audio driver (see -ao help for a list).
ao=alsa,

# Use SDL audio driver with the esd subdriver by default.
#ao = sdl:esd

# Specify the mixer device.
#mixer = /dev/mixer

# Resample the sound to 44100Hz with the lavcresample audio filter.
#af=lavcresample=44100

# Specify default audio codec (see -ac help for a list).
ac=mad,


##################
# other settings #
##################

# Drop frames to preserve audio/video sync.
#framedrop = yes

# Specify your preferred skin here (skins are searched for in
# /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>).
#skin = Abyss

# Resample the font alphamap.
# 0     plain white fonts
# 0.75  very narrow black outline (default)
# 1     narrow black outline
# 10    bold black outline
#ffactor = 0.75

# cache settings
#
# Use 8MB input cache by default.
#cache = 8192
#
# Prefill 20% of the cache before starting playback.
#cache-min = 20.0
#
# Prefill 50% of the cache before restarting playback after the cache emptied.
#cache-seek-min = 50

# DVD: Display English subtitles if available.
#slang = en

# DVD: Play English audio tracks if available.
#alang = en


# You can also include other configuration files.
#include = /path/to/the/file/you/want/to/include

#Screensaver support (for non gmplayer)
stop-xscreensaver = "yes"
gary4gar is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Error! Dark Star Open Source 9 09-12-2007 03:20 PM
Mplayer gives repeated error ilugd Open Source 19 19-05-2007 12:57 PM
glibc 1.2 error while compiling in kubuntu 6.06 infra_red_dude Open Source 4 15-10-2006 02:41 AM
Mplayer questions drgrudge Open Source 6 21-09-2005 02:21 PM
mplayer faq niranjan_mcarenyold Open Source 5 12-06-2005 03:59 PM

 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 05:30 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2