Results 1 to 10 of 21
Hi, Here's what I'm trying to do: I've got a ton of downloaded AVI's that are off-pitch, so I extracted the audio, fixed the pitch in Audacity using its batch ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-19-2010 #1
- Join Date
- Feb 2010
Mplayer Won't Install!
Here's what I'm trying to do: I've got a ton of downloaded AVI's that are off-pitch, so I extracted the audio, fixed the pitch in Audacity using its batch feature, and now just need to re-encode the files with the new audio. Since there's nearly 200 of them, doing this one-at-a-time using something like Vegas is simply not a viable option. Then I read somewhere that mencoder can remove/replace audio and re-encode via command-line, so I decided to go with that.
First I tried to do it from Windows. Unfortunately, the only Win32 (.exe) version I could find crashes on any XP machine (even a fresh install) when I try to encode any kind of file, so I decided to just do it from a linux machine instead.
Unfortunately, I can't get it to install! I did configure (output below) and that seemed to go just fine. But when I tried to make (from the main install directory; same place I did ./configure), all I get is the following error (NOTE: I had to replace the the at sign with "(AT)" because apparently this forum software thinks that this symbol automatically must belong to a URL and won't let me post otherwise):
[root(AT)localhost mplayer-r29280]# make help/help_create.sh help/help_mp-en.h UTF-8 make: help/help_create.sh: Command not found Huh?! I tried Googling this and found absolutely *nothing*! I'm running a fresh install of RedHat Enterprise 5 in VMware. What should I do?! I checked and the file help/help_create.sh IS there! I'm not a linux expert so I really don't know how to interpret this vague error, let alone how to fix it. Please help! Here's the full output from configure plus my subsequent make attempt: [root(AT)localhost mplayer-r29280]# ./configure Detected operating system: Linux Detected host architecture: i386 Checking for cc version ... 4.1.1 Checking for host cc ... cc Checking for cross compilation ... no Checking for CPU vendor ... AuthenticAMD (6:6:2) Checking for CPU type ... AMD Athlon(tm) Processor Checking for kernel support of mmx ... yes Checking for kernel support of mmxext ... yes Checking for kernel support of 3dnow ... yes Checking for kernel support of 3dnowext ... yes Checking for kernel support of sse ... yes Checking for kernel support of cmov ... yes Checking for mtrr support ... yes Checking for GCC & CPU optimization abilities ... athlon-xp Checking for byte order ... little-endian Checking for extern symbol prefix ... Checking for assembler support of -pipe option ... yes Checking for compiler support of named assembler arguments ... yes Checking for assembler (as 184.108.40.206.6) ... ok Checking for .align is a power of two ... no Checking for 10 assembler operands ... yes Checking for yasm ... no Checking for bswap ... yes Checking for Linux kernel version ... 2.6.18-8.el5xen, ok Checking for -lposix ... no Checking for -lm ... yes Checking for langinfo ... yes Checking for language ... messages: en - man pages: en - documentation: en Checking for enable sighandler ... yes Checking for runtime cpudetection ... no Checking for restrict keyword ... __restrict Checking for __builtin_expect ... yes Checking for kstat ... no Checking for posix4 ... no Checking for llrint ... yes Checking for lrint ... yes Checking for lrintf ... yes Checking for round ... yes Checking for roundf ... yes Checking for truncf ... yes Checking for mkstemp ... yes Checking for nanosleep ... yes Checking for socklib ... yes Checking for arpa/inet.h ... yes Checking for inet_pton() ... yes Checking for inet_aton() ... yes Checking for socklen_t ... yes Checking for closesocket() ... no Checking for network ... yes Checking for inet6 ... yes Checking for gethostbyname2 ... yes Checking for inttypes.h (required) ... yes Checking for int_fastXY_t in inttypes.h ... yes Checking for malloc.h ... yes Checking for memalign() ... yes Checking for posix_memalign() ... yes Checking for alloca.h ... yes Checking for fastmemcpy ... yes Checking for mman.h ... yes Checking for dynamic loader ... yes Checking for dynamic a/v plugins support ... no Checking for pthread ... yes (using -lpthread) Checking for w32threads ... no (using pthread instead) Checking for rpath ... no Checking for iconv ... yes Checking for soundcard.h ... yes (sys/soundcard.h) Checking for sys/dvdio.h ... no Checking for sys/cdio.h ... no Checking for linux/cdrom.h ... yes Checking for dvd.h ... no Checking for termcap ... yes (using -lncurses) Checking for termios ... yes (using sys/termios.h) Checking for shm ... yes Checking for strsep() ... yes Checking for vsscanf() ... yes Checking for swab() ... yes Checking for POSIX select() ... yes Checking for audio select() ... yes Checking for gettimeofday() ... yes Checking for glob() ... yes Checking for setenv() ... yes Checking for sys/sysinfo.h ... yes Checking for Apple IR ... no Checking for pkg-config ... yes Checking for Samba support (libsmbclient) ... yes Checking for tdfxfb ... no Checking for s3fb ... no Checking for wii ... no Checking for tdfxvid ... no Checking for xvr100 ... no Checking for tga ... yes Checking for md5sum support ... yes Checking for yuv4mpeg support ... yes Checking for bl ... no Checking for DirectFB ... no Checking for X11 headers presence ... yes Checking for X11 ... yes Checking for Xss screensaver extensions ... yes Checking for DPMS ... yes (using Xdpms 4) Checking for Xv ... yes Checking for XvMC ... no Checking for VDPAU ... no Checking for Xinerama ... yes Checking for Xxf86vm ... yes Checking for XF86keysym ... yes Checking for DGA ... yes (using DGA 2.0) Checking for 3dfx ... no Checking for OpenGL ... yes Checking for MatrixView ... no Checking for VIDIX ... yes Checking for VIDIX PCI device name database ... yes Checking for VIDIX dhahelper support ... no Checking for VIDIX svgalib_helper support ... no Checking for /dev/mga_vid ... no Checking for xmga ... no Checking for GGI ... no Checking for GGI extension: libggiwmh ... no Checking for AA ... no Checking for CACA ... no Checking for SVGAlib ... no Checking for FBDev ... yes Checking for DVB ... no Checking for DVB HEAD ... yes Checking for PNG support ... yes Checking for MNG support ... yes Checking for JPEG support ... yes Checking for PNM support ... yes Checking for GIF support ... no Checking for VESA support ... no Checking for SDL ... yes (using sdl-config) Checking for DXR2 ... no Checking for DXR3/H+ ... no Checking for IVTV TV-Out (pre linux-2.6.24) ... no Checking for V4L2 MPEG Decoder ... no Checking for OSS Audio ... yes Checking for aRts ... no Checking for EsounD ... yes Checking for esd_get_latency() ... yes Checking for NAS ... no Checking for pulse ... no Checking for JACK ... no Checking for OpenAL ... no Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h) Checking for Sun audio ... no Checking for VCD support ... yes Checking for dvdread ... yes (internal) Checking for internal libdvdcss ... yes Checking for cdparanoia ... no Checking for libcdio ... no Checking for bitmap font support ... yes Checking for freetype >= 2.0.9 ... yes Checking for fontconfig ... yes Checking for SSA/*** support ... yes Checking for fribidi with charsets ... no Checking for ENCA ... no Checking for zlib ... yes Checking for bzlib ... yes Checking for RTC ... yes Checking for liblzo2 support ... no Checking for mad support ... no Checking for Twolame ... no Checking for Toolame ... no Checking for OggVorbis support ... yes (internal Tremor) Checking for libspeex (version >= 1.1 required) ... no Checking for OggTheora support ... no Checking for internal mp3lib support ... yes Checking for liba52 support ... yes (internal) Checking for internal libmpeg2 support ... yes Checking for libdca support ... no Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no Checking for FAAC support ... no (in libavcodec: no) Checking for FAAD2 support ... yes (internal floating-point) Checking for LADSPA plugin support ... no Checking for libbs2b audio filter support ... no Checking for Win32 codecs ... yes (using /usr/local/lib/codecs) Checking for XAnim codecs ... yes (using /usr/local/lib/codecs) Checking for RealPlayer codecs ... yes (using /usr/local/lib/codecs) Checking for QuickTime codecs ... yes Checking for Nemesi Streaming Media libraries ... no Checking for LIVE555 Streaming Media libraries ... no Checking for FFmpeg libavutil ... yes (static) Checking for FFmpeg libavcodec ... yes (static) Checking for FFmpeg libavformat ... yes (static) Checking for FFmpeg libpostproc ... yes (static) Checking for FFmpeg libswscale ... yes (static) Checking for libamr narrowband ... no Checking for libamr wideband ... no Checking for libdv-0.9.5+ ... no Checking for Xvid ... no Checking for Xvid two pass plugin ... no Checking for x264 ... no (in libavcodec: no) Checking for libdirac ... no Checking for libschroedinger ... no Checking for libnut ... no Checking for zr ... no Checking for libmp3lame ... no (in libavcodec: no) Checking for mencoder ... yes Checking for UnRAR executable ... yes Checking for TV interface ... yes Checking for DirectShow TV interface ... no Checking for Video 4 Linux TV interface ... yes Checking for Video 4 Linux 2 TV interface ... yes Checking for TV teletext interface ... yes Checking for Radio interface ... no Checking for Capture for Radio interface ... no Checking for Video 4 Linux 2 Radio interface ... no Checking for Video 4 Linux Radio interface ... no Checking for Video 4 Linux 2 MPEG PVR interface ... yes Checking for ftp ... yes Checking for vstream client ... no Checking for OSD menu ... no Checking for Subtitles sorting ... yes Checking for XMMS inputplugin support ... no Checking for GUI ... no Checking for automatic gdb attach ... no Checking for compiler support for noexecstack ... yes Checking for joystick ... no Checking for lirc ... no Checking for lircc ... no Checking for DVD support (libdvdnav) ... yes (internal) Creating config.mak Creating config.h Config files successfully generated by ./configure ! Install prefix: /usr/local Data directory: /usr/local/share/mplayer Config direct.: /usr/local/etc/mplayer Byte order: little-endian Optimizing for: athlon-xp Languages: Messages/GUI: en Manual pages: en Enabled optional drivers: Input: dvdnav(internal) ftp pvr tv-teletext tv-v4l2 tv-v4l tv libdvdcss(internal) dvdread(internal) vcd dvb smb network Codecs: libavcodec(internal) qtx real xanim win32 faad2(internal) libmpeg2(internal) liba52(internal) mp3lib(internal) tremor(internal) Audio output: alsa esd oss sdl mpegpes(dvb) Video output: sdl pnm jpeg png mpegpes(dvb) fbdev xvidix cvidix opengl dga xv x11 xover yuv4mpeg md5sum tga Disabled optional drivers: Input: vstream radio tv-dshow live555 nemesi cddb cdda Codecs: libschroedinger libdirac x264 xvid libdv libamr_wb libamr_nb faac musepack libdca libtheora speex toolame twolame libmad liblzo gif Audio output: sun openal jack pulse nas arts v4l2 ivtv dxr2 Video output: zr zr2 v4l2 ivtv dxr3 dxr2 vesa gif89a svga caca aa ggi xmga mga winvidix matrixview 3dfx vdpau xvmc dfbmga directfb bl xvr100 tdfx_vid wii s3fb tdfxfb 'config.h' and 'config.mak' contain your configuration options. Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer compile *** DO NOT REPORT BUGS if you tweak these files *** 'make' will now compile MPlayer and 'make install' will install it. Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr) Check configure.log if you wonder why an autodetection failed (make sure development headers/packages are installed). NOTE: The --enable-* parameters unconditionally force options on, completely skipping autodetection. This behavior is unlike what you may be used to from autoconf-based configure scripts that can decide to override you. This greater level of control comes at a price. You may have to provide the correct compiler and linker flags yourself. If you used one of these options (except --enable-gui and similar ones that turn on internal features) and experience a compilation or linking failure, make sure you have passed the necessary compiler/linker flags to configure. If you suspect a bug, please read DOCS/HTML/en/bugreports.html. [root(AT)localhost mplayer-r29280]# make help/help_create.sh help/help_mp-en.h UTF-8 make: help/help_create.sh: Command not found awk -f vidix/pci_db2c.awk vidix/pci.db 1 [root(AT)localhost mplayer-r29280]# make install help/help_create.sh help/help_mp-en.h UTF-8 make: help/help_create.sh: Command not found
What should I do?! I'm completely stuck!! Help!!!!
Last edited by MikeTbob; 02-19-2010 at 12:14 PM. Reason: Code Tags
- 02-19-2010 #2
Hello and Welcome.
Why don't you install Mplayer from your system repos or download a version that's already precompiled for you?
- 02-19-2010 #3
- Join Date
- Feb 2010
As for your second question, as I stated in my post, that was the first thing I tried. It was a Windows binary directly from the developer's website. Unfortunately, it crashed on every XP system I tried it on. That's why I decided to just compile it fresh in Linux instead.
I have installed other programs in Linux before (including a few of my own) and never encountered this vague error. There has to be somebody out there who would know how to shed some light on this for me.
- 02-19-2010 #4
System repos=your distribution's online repository of software.
Package management system - Wikipedia, the free encyclopedia
RPM Package Manager - Wikipedia, the free encyclopedia
There are various package management tools, both graphical and from the command line, provided by different distros. In RHEL5, the command line manager is yum.
Assuming your distro provides the package, you can just do
su -c 'yum install mplayer'
However, I think RHEL does not have mplayer available. It's not really a multimedia oriented distro. But other people have put together unofficial repositories of software for RHEL, and it is available through them.
Here is a guide to enabling the DAG repository, which has the software you're looking for.
- 02-20-2010 #5
- Join Date
- Feb 2010
That was helpful, but I got the following errors when I tried to install mplayer with yum:
Error: Missing Dependency: libungif.so.4 is needed by package mplayer
Error: Missing Dependency: libartsc.so.0 is needed by package mplayer
Error: Missing Dependency: libgif.so.4 is needed by package mplayer
Error: Missing Dependency: libfribidi.so.0 is needed by package mplayer
Error: Missing Dependency: libartsc.so.0 is needed by package openal
I tried installing those with yum but it said they're not found. What should I do?
- 02-20-2010 #6
- Join Date
- Feb 2010
This is crazy!! I installed libungif and it still shows up as a missing dependency! I couldn't install libartsc because it had missing dependencies, and its dependencies wouldn't install because they had missing dependencies. I'd have to spend weeks on Google trying to find all these missing RPM's!
WTF am I supposed to do?! This is so FRUSTRATING!!
- 02-20-2010 #7
I would strongly suggest getting rid of RHEL and go with something like Fedora or LinuxMint.
Main Page - Linux Mint
- 02-20-2010 #8
- Join Date
- Feb 2010
- 02-20-2010 #9
- Join Date
- Nov 2007
RHEL = RedHat *ENTERPRISE* Linux
This is not Windows - an ENTERPRISE Linux distro is built for server usage. It will not come with nice desktop applications like audio/video players. You don't take a server OS (like say, AIX) and decide "I'd like to put this on my desktop and play movies with it."
Unless you have the time/inclination to understand Linux and how you'll have to change RHEL to do what you're trying to do, you will have less headache with a desktop distribution.
WTF am I supposed to do?! This is so FRUSTRATING!!
- 02-20-2010 #10
- Join Date
- Feb 2010
If you had bothered to read my post, you'd know that I'm NOT using this to "play movies with it." I don't even have any interest in mplayer. I'm only installing it so I can use MENCODER! You know, that program that lets you re-encode video files. I have hundreds of video files I need to re-encode over an extended period of time, and am planning to create a server batch (and possibly a cronjob for regular conversion of new files) to facilitate this.
So doing this in a SERVER environment seemed (and still does seem) the most logical approach. It's also worth noting that I originally did try this on Windows (also stated in my original post, hence why it seems obvious that you didn't read it), but quickly learned that it's just too unstable to handle this operation.
So again, if you're just going to judge me without even reading my post, then please don't hijack my own thread in order to do it. I was under the impression that this forum is newbie-friendly, despite the hostility in your post.
I'm posting here so that I can learn how to change RHEL to make this work, just as you suggested. I'm not posting this just so you can belittle me for not being as knowledgeable about RHEL as you. If you have something constructive to suggest, I'd be happy to hear it, but please read (and pay attention to) my post first before commenting on how stupid I seem to you.
To everyone else, can somebody please help me with this?? Reed9, if you're still there, your suggestion seems the most promising, but I couldn't get it to work because of missing dependencies and I don't know how to get past that.