LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-09-2005, 04:17 PM   #1
AVD_ZM
Member
 
Registered: Oct 2004
Location: HELLAS aka Greece
Distribution: K/Ubuntu Knoppel
Posts: 114

Rep: Reputation: 15
mplayer error with FC3


Hey all,

As i read in docs, i have type:
./configure
if i want the GUI i type
./configure --enable-gui

then i get an error saying
Error: X11 support required for GUI compilation
so now what do i do?

I installed nvidia drivers n everything is working fine so far @least.

n when ./configure --enable-gui is succesfull
i type make, then make install.

is there anything else i missed?

thanx 4 ur time.
 
Old 02-09-2005, 04:19 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you probably do not have Xorg-x11-devel installed (it will need this to compile against Xorg).

NOTE: ./configure, make, make install is fine, but if you wan't to be able to remove it you either need to:

- keep the source directory around (after installing you can run "make clean" to remove the compiled objects and executables to cut down on the directory's size) so you can run "make uninstall" if you want to remove it

or

- make an rpm of your build and install the rpm (rpmbuild or checkinstall will do this for you)

also, you will need gtk-1.2.x, gtk-1.2.x-devel, glib-1.2.x, and glib-1.2.x-devel to compile mplayer with the gui enabled (you probably already have the base libaries, you might need the -devel packages though).

Last edited by __J; 02-09-2005 at 04:22 PM.
 
Old 02-09-2005, 04:42 PM   #3
AVD_ZM
Member
 
Registered: Oct 2004
Location: HELLAS aka Greece
Distribution: K/Ubuntu Knoppel
Posts: 114

Original Poster
Rep: Reputation: 15
Well the funny thing is i installed everything that comes with FC3 setup.
so...

or is it not included?
 
Old 02-09-2005, 05:05 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
if it's there, it will be under the command "gmplayer". if mplayer is there and gmplayer is not, then it was not compiled with gui support.
 
Old 02-09-2005, 05:11 PM   #5
AVD_ZM
Member
 
Registered: Oct 2004
Location: HELLAS aka Greece
Distribution: K/Ubuntu Knoppel
Posts: 114

Original Poster
Rep: Reputation: 15
without GUI i have installed it, but i think i would like the GUI.
I'm still trying 2 figure how to play vidoes without gui.
 
Old 02-10-2005, 11:23 AM   #6
AVD_ZM
Member
 
Registered: Oct 2004
Location: HELLAS aka Greece
Distribution: K/Ubuntu Knoppel
Posts: 114

Original Poster
Rep: Reputation: 15
so any ideas on how i can have gui ?
 
Old 02-10-2005, 03:47 PM   #7
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
on the gui, you'll have to post the specific errors your getting during configure. Also, do:

rpm -qa | grep Xorg

and see if you do have Xorg-x11-6.8.1-devel installed (you have to have this). if you have everything (xorg-devel, glib-1.2.x, glib-1.2.x-devel, gtk-1.2.x, gtk-1.2.x-devel, libpng, libpng-devel etc..) then you can pass ./configure --enable-gui and build it.

as far as playing a movie, man mplayer and the mplayer documentation on thier site is what you want. generally:

mplayer -vo xv -ao alsa <movie> would play a movie with the xv video driver and the alsa audio driver.

really though, if your having problems with mplayer, go with xine. with the mplayer codecs from their site extracted into /usr/lib/win32 (you will have to make this directory), it can play anything mplayer can play and is much more user friendly but not as powerful (IMO).
 
Old 02-10-2005, 05:53 PM   #8
AVD_ZM
Member
 
Registered: Oct 2004
Location: HELLAS aka Greece
Distribution: K/Ubuntu Knoppel
Posts: 114

Original Poster
Rep: Reputation: 15
well i just figured how to play vids with mplayer without gui.
How ever i'll c if i have those files u mentioned.

i do have a problem with dvd, it plays the vid fine i think i don't have AC3
plugin(codec). The sound is crackling.

This is the command

[avd@localhost ~]$ mplayer /media/cdrecorder/VIDEO_TS/VTS_02_1.VOB
MPlayer 1.0pre6-3.4.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
Cannot test OS support for SSE, disabling to be safe.

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.
Playing /media/cdrecorder/VIDEO_TS/VTS_02_1.VOB.
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 8500.0 kbps (1062.5 kbyte/s)
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'dts' in libavcodec...
ADecoder init failed
ADecoder init failed
Opening audio decoder: [hwac3] AC3/DTS pass-through SP/DIF
No accelerated IMDCT transform found
hwac3: switched to DTS, 768000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, 16 bit (0x400), ratio: 96000->192000 (768.0 kbit)
Selected audio codec: [hwdts] afm:hwac3 (DTS through SPDIF)
==========================================================================
SDL: Using driver: x11
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian AC3
AF_pre: 48000Hz 2ch AC3
[AO OSS] Can't set audio device /dev/dsp to AC3 output, trying S16...
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[format] Sample format big endian AC3 not yet supported
[libaf] Reinitialization did not work, audio filter 'format' returned error code -2
Couldn't find matching filter/ao format!
Starting playback...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 720x576 => 1024x576 Planar YV12
New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 0 0
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.

so based on that i think i don't have AC3,
any ideas?

N xine is given me problems, when i finish compiling the Lib
n trying 2 compile the ui it says that the lib is not installed.

thanx 4 ur time
 
  


Reply



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
mplayer in fc3 no sound lngmn7 Linux - Software 1 08-29-2005 06:02 AM
FC3 Mplayer error Drifter Linux - Software 1 04-22-2005 03:40 AM
problem:MPLAYER configure error in FC3! potaKaKa Linux - Software 2 04-04-2005 08:05 AM
mplayer in FC3? greythorne Fedora 3 01-30-2005 09:43 AM
How to install MPlayer in FC3? drewbysan Fedora 11 11-30-2004 07:08 AM

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

All times are GMT -5. The time now is 05:32 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