Author |
Message |
Too Many Secrets
|
Posted: Mon May 28, 2007 5:32 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
I upgraded via the big mplayer thread back when I was running R5D1 and everything was working great! Then I upgraded to R5E50 and mplayer seemed to regress back to before I upgraded mplayer in D1. However I didn't worry too much with F1 around the bend.
Now I've been running R5F1 via upgrade for a few weeks, but I've seemed to borq mplayer real good. I've run through the upgrade a couple times and it finishes with "Error 1", but no other information. I run mplayer from the command line and I get a 'cant find mga_vid' in /dev/<something> and then bombs. I try opening .avi or .mpg but nothing.
When I run mplayer -version I get the following.
Code: MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 75, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Unknown option on the command line: -version Error parsing option on the command line: -version
Any suggestions are appreciated.
|
|
Top |
|
 |
tjc
|
Posted: Mon May 28, 2007 8:58 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
MPlayer 1.0rc1-4.1.2 is the native version with KnoppMyth R5F1. That's what shows up on my systems and seems to work for the various sample videos I've got. Double check to make sure you're running the one you think you are.
Code: root@black2:~# mplayer -version MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team CPU: AMD Athlon(tm) 64 Processor 3200+ (Family: 15, Model: 47, Stepping: 0) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Unknown option on the command line: -version Error parsing option on the command line: -version root@black2:~# type -a mplayer mplayer is /usr/bin/mplayer mplayer is /usr/X11R6/bin/mplayer root@black2:~# ls -i /usr/bin/mplayer /usr/X11R6/bin/mplayer 281601 /usr/X11R6/bin/mplayer 281601 /usr/bin/mplayer
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Mon May 28, 2007 9:18 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
Thanks. This is what I get
Code: # type -a mplayer mplayer is /usr/bin/mplayer mplayer is /usr/bin/X11/mplayer
ls -i /usr/bin/mplayer Code: 53441 /usr/bin/mplayer
ls -i /usr/bin/X11/mplayer Code: 53441 /usr/bin/X11/mplayer
What does it mean? Did I mess something up?
|
|
Top |
|
 |
tjc
|
Posted: Tue May 29, 2007 6:20 am |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
That's normal. Sorry, I must have hit submit to soon. I meant to explain that if they have the same inode number they're the same file under different aliases. It looks like you only have one version installed and in your path.
If I understood your original message correctly and you really did do an mplayer update, it was unnecessary and may have done more harm than good. You may want to use the auto-upgrade to the same version trick to undo it.
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Tue May 29, 2007 6:28 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
Still not working after upgrade. No change. Now I'm working on getting my sound/alsa back after the upgrade... What should I try next?
|
|
Top |
|
 |
tjc
|
Posted: Tue May 29, 2007 9:34 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Going back to your original message it sounds like the mplayer config got borked. For example, given your hardware I don't know why it'd be trying to use mga video... What does your /home/mythtv/.mplayer/config file look like? Also your /etc/mplayer/mplayer.conf and finally the entries from your settings table:
Code: root@black2:~/scripts/backup# mysql -u root mythconverg -e "select * from settings where data like '%mplayer%'" +-----------------------+----------------------------------------------------------------------+----------+ | value | data | hostname | +-----------------------+----------------------------------------------------------------------+----------+ | TitlePlayCommand | mplayer -dvd-device %d -fs -zoom -vo xv -dvd %t -aid %a -channels %c | black2 | | VideoDefaultPlayer | /usr/bin/mplayer -fs -zoom -quiet -vo xv %s | black2 | | GalleryMoviePlayerCmd | mplayer -fs %s | black2 | +-----------------------+----------------------------------------------------------------------+----------+
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Tue May 29, 2007 9:55 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
Code: root@mythtv:/# cat /home/mythtv/.mplayer/config # Write your default config options here!
monitoraspect=1.77083333333333
Code: root@mythtv:/# cat /etc/mplayer/mplayer.conf # # 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
################## # 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
# get a default OSD font from fontconfig
fontconfig = yes font = "Sans" subfont-text-scale = 3
# You can also include other configuration files. #include = /path/to/the/file/you/want/to/include
Code: root@mythtv:/# mysql -u root mythconverg -e "select * from settings where data like '%mplayer%'" +-----------------------+-----------------------------------------------------------------------+-----------+ | value | data | hostname | +-----------------------+-----------------------------------------------------------------------+-----------+ | TitlePlayCommand | mplayer dvd://%t -dvd-device %d -fs -zoom -vo xv -aid %a -channels %c | mythtv | | GalleryMoviePlayerCmd | mplayer -fs %s | mythtv | | DVDPlayerCommand | mplayer dvd:// -dvd-device %d -fs -zoom -vo xv | mythfe1 | | VCDPlayerCommand | mplayer vcd:// -cdrom-device %d -fs -zoom -vo xv | mythfe1 | | TitlePlayCommand | mplayer dvd://%t -dvd-device %d -fs -zoom -vo xv -aid %a -channels %c | mythfe1 | | GalleryMoviePlayerCmd | mplayer -fs %s | mythfe1 | | VideoDefaultPlayer | mplayer -fs -zoom -quiet -vo xv %s | mythfe1 | | VCDPlayerCommand | mplayer vcd:// -cdrom-device %d -fs -zoom -vo xv | littledog | | TitlePlayCommand | mplayer dvd://%t -dvd-device %d -fs -zoom -vo xv -aid %a -channels %c | littledog | | GalleryMoviePlayerCmd | mplayer -fs %s | littledog | | VideoDefaultPlayer | mplayer -fs -zoom -quiet -vo xv %s | littledog | +-----------------------+------
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Fri Jun 01, 2007 7:39 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
OK, I've done a complete fresh install of R5F1 and still have the same mplayer problem. It hangs when I try and open an avi. I have done nothing but install. I'm still getting the above error (cant find mga_vid) and a few others now.
What would be my first step. Installing the other codecs?
|
|
Top |
|
 |
neutron68
|
Posted: Fri Jun 01, 2007 9:16 pm |
|
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location:
Minneapolis, MN
|
The codecs might do the trick.
I wrote a script to download, compile and install the mplayer codecs for me. I use this after every upgrade. I have to edit it every few months to update the filenames, but generally it saves me a lot of typing and remembering.
Code: cd /usr/src/
wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2 wget http://downloads.xvid.org/downloads/xvidcore-1.1.2.tar.bz2
tar -jxvf essential-20061022.tar.bz2 tar -jxvf xvidcore-1.1.2.tar.bz2
mkdir /usr/lib/codecs cp -r -d -p /usr/src/essential-20061022/* /usr/lib/codecs
cd /usr/src/xvidcore-1.1.2/build/generic ./configure make make install
_________________ KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Fri Jun 01, 2007 9:47 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
Thanks for the script help. I was able to DL and install very easily.
Sadly, still no go. I tried running from an xterm and this is what I get.
Code: $ mplayer /video/Movies/RED_OCTOBER.avi MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 75, Step ping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick mplayer: could not open config files /home/scot/.lircrc and /etc/lircrc mplayer: No such file or directory Failed to read LIRC config file ~/.lircrc.
Playing /video/Movies/RED_OCTOBER.avi. AVI file format detected. VIDEO: [XVID] 720x544 24bpp 23.976 fps 1799.8 kbps (219.7 kbyte/s) Clip info: Software: transcode-0.6.14 open: No such file or directory [MGA] Couldn't open: /dev/mga_vid open: No such file or directory [MGA] Couldn't open: /dev/mga_vid [VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5. X connection to localhost:10.0 broken (explicit kill or server shutdown).
Now for cut&paste, this is taken from a putty instance, but from the xterm is the same with a bit more at the end.
Between this and the alsa problems I'm having, I might end up rolling back to E50... But I really don't want to do that.
|
|
Top |
|
 |
bruce_s01
|
Posted: Sat Jun 02, 2007 3:40 am |
|
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location:
UK
|
MGA, I think, usually refers to Matrox cards, what video card are you using, as I can't see one mentioned.
Bruce S.
_________________ Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P 16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD, SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080 Hauppauage Nova-T 500, Nova-T LinHes R8.6.1
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Sat Jun 02, 2007 7:58 am |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
using the onboard nvidia via MB. Out DVI to HDTV.
|
|
Top |
|
 |
frisco
|
Posted: Sun Jun 03, 2007 10:39 am |
|
Joined: Tue Sep 26, 2006 11:03 am
Posts: 30
|
I had some similar problems and I told it to use the internal player and all was good.l Maybe something to check on.
|
|
Top |
|
 |
neutron68
|
Posted: Sun Jun 03, 2007 11:13 am |
|
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location:
Minneapolis, MN
|
I've got a very similar Asus motherboard with the same nvidia chipset on it.
Maybe the nvidia drivers are part of this?
I've updated to the most recent nvidia drivers. I used the procedure detailed in the WIKI:
http://knoppmythwiki.org/index.php?page ... diaDrivers
_________________ KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner
|
|
Top |
|
 |
bruce_s01
|
Posted: Sun Jun 03, 2007 12:05 pm |
|
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location:
UK
|
What appears to be happening, that it's looking for a Matrox card for some reason. Try having a look in /home/mythtv/.mplayer/config.
Bruce S.
_________________ Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P 16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD, SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080 Hauppauage Nova-T 500, Nova-T LinHes R8.6.1
|
|
Top |
|
 |