Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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.
# 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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.