LinuxQuestions.org
Visit Jeremy's Blog.
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 10-31-2005, 11:04 PM   #1
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
MPlayer Plugin Starts Playing too Early


I'm running Mandriva 2005 LE and have installed the mplayer-mozilla plugin so I could watch embedded videos like those shown on www.ebaumsworld.com . Anyway, I've never had a problem with streaming audio, but 9 times out of 10 it only loads up to around 15% before it starts playing a video and the movie will stop playing prematurely, then I have to click play once it stops and by then it has loaded the entire movie and will play perfect. Does anybody know where I can change the settings so that mplayer will wait until the file is completely loaded before it starts playing?
 
Old 10-31-2005, 11:21 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Here is the page to configure the mplayer-mozilla plugin:
http://mplayerplug-in.sourceforge.net/config.php

Perhaps you could try making the line
cache-percent=100
 
Old 10-31-2005, 11:43 PM   #3
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Original Poster
Rep: Reputation: 56
Awesome I got it, thank you. I just didn't know where the .conf file was located and that document helped me out, thanks.
 
Old 11-01-2005, 12:41 AM   #4
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Original Poster
Rep: Reputation: 56
Well I thought that had it but I managed to fix the problem by changing the value of these lines back to 0. Now it waits a second before it starts playing and downloads the entire file before it starts. Problem solved finally.

Code:
# Download file before playing (default=0)
#download=0
 
Old 11-01-2005, 01:07 AM   #5
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Original Poster
Rep: Reputation: 56
OMG, it's still not working right. Here, I'll post the exact contents of my mplayerplug-in.conf file. I even edited the contents of the config file in $HOME/.mplayer to match those settings that I wanted. Tell me what I need to change. I bumped the cache size up to 2048 and it never goes that high even on movies bigger than that, and I set it to download the file before playing it I think and it still doesn't work right. Tell me what I need to change. Here are the contents.
Code:
# Enable debugging if set to 1 (default=0)
debug=1

# File to write debug info to
logfile=$HOME/tmp/mplayerplug-in.log

# Video output
vo=xv,x11

# Audio output
ao=esd,alsa,oss,arts,null

# Passes display to show output to, useful for multiple monitor setups
#display=[display name]

# Tells mplayer to allow default video post processing or not (default=0)
#novop=1

# Pass special video post processing
#vopopt=[mplayer vop options]

# Option for rtsp streams, set to 1 when behind proxy (default=0)
#rtsp-use-tcp=1

# OSD Level (default=0)
osdlevel=3

# When set to 1 uses the aspect of movie no matter what (default=1)
#prefer-aspect=0

# If set to 1, forces mplayer to be in it's own window (default=0)
#noembed=0

# Where to store the downloaded movies
dload-dir=$HOME/tmp

# Download file before playing (default=0)
#download=0

# Set to 1 if you want to keep downloaded media (default=0)
#keep-download=0

# Cache Size in kB. This is the buffer size before the video plays (default=512)
#cachesize=2048

# Percent of file to load into cache (default=25)
#cache-percent=100

# Read mime types to handle from $HOME/{.mplayer,.mozilla},/etc/mplayerplug-in.types
#use-mimetypes=1

# Set QT Speeed, use "low" for dialup, "med" for DSL, "high" for more
#qt-speed=med

# Enable/Disable RealPlayer mime-types (default=0)
#enable-real=1

# Enable/Disable WindowsMedia mime-types (default=1)
#enable-wm=0

# Enable/Disable QuickTime mime-types (default=1)
#enable-qt=0

# Enable/Disable Mpeg mime-types (default=1)
#enable-mpeg=0

# Enable/Disable Ogg mime-types (default=1)
#enable-ogg=1

# Enable/Disable Smil (default=1)
#enable-smil=1

# For Live.com video behind a proxy
# rtsp-use-tcp=0

# Black background
#black-background=0

# Disable media cache
#nomediacache=0

# Skip displaying some frames
#framedrop=0

# Gradually adjusts the A/V sync based on audio delay measurements
#autosync=0

# Maximum A-V sync correction per frame
#mc=0

# User-Agent
#user-agent=NSPlayer

Last edited by dudeman41465; 11-01-2005 at 01:12 AM.
 
Old 11-01-2005, 04:54 AM   #6
PDock
Member
 
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189

Rep: Reputation: 37
Quote:
I bumped the cache size up to 2048 and ......
Code:
# Cache Size in kB. This is the buffer size before the video plays (default=512)
#cachesize=2048
Perhaps uncommenting the line(s)?
Code:
# Cache Size in kB. This is the buffer size before the video plays (default=512)
cachesize=2048

# Percent of file to load into cache (default=25)
cache-percent=100
 
Old 12-17-2005, 04:48 PM   #7
jbuckley2004
Member
 
Registered: Aug 2004
Distribution: Fedora (KDE spin)
Posts: 224

Rep: Reputation: 70
I know this is a little old, but I was having the same (annoying) problem. The above advice (I changed cache-percent=100, cachesize=1024) worked for me (using LE2005 and Firefox 1.5), but not until I rebooted. 'Touch'ing the mplayerplug-in.so file as suggested in the mplayerplug-in.sourceforge.net configuration write-up did nothing.

I'm glad it works the way I expected it too now. But for the life of me, I cannot understand why the defaults were chosen the way they were, under any circumstances. I mean, I understand the concept of previewing a long vid. as an option, but as the default? Seems silly.
 
  


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
how to apt-get mplayer-plugin (mozilla plugin)? hkl8324 Debian 2 06-29-2005 09:28 AM
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 12:58 AM
Now playing plugin for xmms? zenith_zth Linux - Software 4 11-01-2004 05:21 PM
XMMS not playing even if plugin is installed juan18 Linux - Software 17 06-16-2004 06:55 AM
Mplayer Mozilla Plugin not playing movies linoob Linux - Software 3 05-15-2003 09:37 PM

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

All times are GMT -5. The time now is 07:01 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
Open Source Consulting | Domain Registration