LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-31-2003, 03:58 PM   #1
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
mplayer question (blue screen)


Having a problem playing .mpg clips on my browser (mozilla) I downloaded and did the ./configure, make copied the mplayerplug-in.so to my plugin directory and when I click on a link it either gives me a blue screen and sound or crashes mozilla.
I have been able to download the clip (right click, download target) and play it using the command mplayer -vo x11 filename.MPG (tried mplayer filename.MPG but that just gives me a blue screen) so I think it's a graphics card issue.
Is there a way to pass the -vo x11 to the player plugin?
I have been messing with ~/.mplayer/config but haven't figured out what it wants.

Anyone have any ideas?
Thanks For the help.
-Blinker

Before anyone asks here is output from vxinfo:
X-Video Extension version 2.2
screen #0
Adaptor #0: "Intel(R) 830M/845G/852GM/855GM/865G Video Overlay"
number of ports: 1
port base: 56
operations supported: PutImage
supported visuals:
depth 24, visualID 0x22
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
number of attributes: 3
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
"XV_BRIGHTNESS" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 64)
maximum XvImage size: 1440 x 1080
Number of image formats: 4
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
 
Old 10-31-2003, 04:07 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
If passing '-vo x11' is all you need, does mplayer show up as a 'helper app'? Edit>Prefs|Helper Apps|file type like 'mpeg'|Edit, and then 'open it with'? (I hate gui configs - I've seen the xml file that this gui represents, but can't remember where it is offhand.) I figure you can add command line options to the app, there, though I could be wrong. I just added xpdf to handle pdf's and so on and didn't need to pass any options, so I'm not sure.
 
Old 10-31-2003, 04:33 PM   #3
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Original Poster
Rep: Reputation: 63
It doesn't show up as a helper app. It does show up as a Plug-in though.
I went into the gui and added a new type for mpg with the -vo x11 and it still crashes. (tried with quotes too)
Edit:
something else that might help:
Output from running with the file I saved:
Playing HAHAHAHA.MPG
MPEG-PS file format detected.
VIDEO: MPEG1 640x480 (aspect 1) 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 32000 Hz, 2 ch, 16 bit (0x10), ratio: 8000->128000 (64.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 640 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop 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.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 32000Hz/2ch/16bit -> 32000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 32000 hz, little endian signed int
AF_pre: 32000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 32000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 32000Hz/2ch/16bit -> 32000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Planar YV12
Broken pipe 4.9 A-V: 2.760 ct: 0.484 122/122 12% 489% 0.6% 33 0 0%

So it looks like my Video out isn't supported by this codec (probably the reason why it works when using x11 (software mode) So how do I set mplayer to use x11 all the time?

Last edited by Blinker_Fluid; 10-31-2003 at 04:42 PM.
 
Old 11-04-2003, 04:55 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Sorry - my internet connection went out until late last night. I really don't know the right way to do it. I have zero plugins in my browser - other than the one default. I have mplayer as a helper app through mime types. But I did some googling and it looks like an easy fix - I'd have probably thought of it except that I was initially focusing on the plugin and the browser. But I think mplayer is still the basic issue, here. So I think putting

vo=[xv,x11....etc]

in ~/.mplayer/config should do it. Check out

http://mplayerplug-in.sourceforge.net/howto.html

for more details.
 
Old 11-04-2003, 05:25 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
in /etc/mplayerplug-in.conf:

# Normal mplayer style config options
#vo=x11
fs=no
zoom=yes
cache=0

edit as appropriate
 
Old 11-04-2003, 05:38 PM   #6
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
should he just take out the

"#" in the #vo=x11 line??
 
Old 11-04-2003, 05:41 PM   #7
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Original Poster
Rep: Reputation: 63
I've created the /etc/mplayerplug-in.conf and linked various missing files that produced an error message when the plugin crashed.

Here is the error I am getting now (shows up in the terminal I launched mozilla from):
--> playable 1
: No such file or directory
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.

And after that mozilla locks up. I end up going to a terminal and doing a kill -9 <mozilla_PID>.


I am able to play the video copying the location and from the command line issuing the command:
mplayer http://elev.ru.orebro.se/ru0369/HAHAHAHA.MPG
 
Old 11-04-2003, 06:02 PM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Re: MPG: Ouch. *holds up card* 0.1

Pardon my possibly colossal ignorance, but what the advantage of the plugin? Like I say, I just have my regular mplayer as a helper app and it loaded right up when I clicked on the link. Having it integrated would be a plus, sure, but not worth much effort to me.

That sort of chaos looks like permissions issues to me, but you've got acid_kewpie and mossy on the case now, so I'll leave it to them.
 
Old 11-05-2003, 10:33 AM   #9
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Original Poster
Rep: Reputation: 63
Hmmm found something interesting I took digiots advice and deleted the plugin and created a helper app. Now when I click on the file it downloads and mozilla locks. I went out to my terminal that I started mozilla on and it said
[1]+ Stopped mozilla
so I typed 'fg mozilla' and the video plays and mozilla works again.
Does anyone have an idea why when the movie is supposed to play it stops mozilla?

Just to confirm my settings under edit --> preferences --> helper apps I have
MIME/type MPEG
Description MPEG
extentions mpg,mpeg
Open with: /usr/bin/mplayer

Thanks For the help

Last edited by Blinker_Fluid; 11-05-2003 at 10:36 AM.
 
Old 11-05-2003, 01:11 PM   #10
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
That's odd. I think it may be with how you're calling mplayer. You probably need to make your helper app be 'rxvt -e mplayer' or have it like I do with 'gmplayer'. If nothing else, I guess you could stick '&' at the end.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 shows blue screen on playing divx files anoopsinha Linux - General 8 05-11-2008 06:41 PM
Mplayer Plugin Blue Screen sharkee Mandriva 3 03-16-2005 11:11 AM
Mplayer full screen blue bar KePSuX Linux - Software 0 11-19-2004 05:02 PM
MPlayer "little" problem :) (blue screen) RedAhead Linux - Software 3 10-01-2004 10:39 AM
Blue screen of mplayer hornokplease Linux - Software 3 09-13-2003 07:58 AM

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

All times are GMT -5. The time now is 12:54 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration