[MPlayer-users] Unpredictable high CPU load while streaming invalid URLs

Anirban Dutta Choudhury anirban.duttachoudhury at gmail.com
Wed Sep 29 17:25:51 CEST 2010


Hi Reimar,

Yep, that worked. "-loop 0" option with an invalid/unreachable url was
pushing the mplayer to grab more processing time and memory.

I used "-loop 0" option as a workaround for the automatic reconnection
for an unreachable url. I need to have the automatic reconnection
feature. This is done by periodically starting the mplayer from the
frontend when it's dead. but the mplayer does not automatically die
when an invalid url is played. Am I missing any command line option?

Anirban

On Tue, Sep 7, 2010 at 4:31 PM, Anirban Dutta Choudhury
<anirban.duttachoudhury at gmail.com> wrote:
> Yeah, it's an old version, but I guess I am doing something wrong with
> the command line options. Any idea other than updating to the latest
> software?
>
> Anirban
>
> On Tue, Sep 7, 2010 at 11:03 AM, Anirban Dutta Choudhury
> <anirban.duttachoudhury at gmail.com> wrote:
>> Hi all,
>>
>> I am running 8 instances of mplayers with 8 different network cameras.
>> Now, if one or more cameras gets disconnected, the mplayers used to
>> stay low in CPU load and memory usage. That's exactly what I want. the
>> idea is, on ethernet reconnection, the mplayer should play the
>> streaming video again.
>>
>> But, sometimes, the mplayers with invalid urls slowly grow in memory
>> consumption and CPU load. It's very much unpredictable and I do not
>> know how to reproduce it. Sometimes, it does not happen even if I run
>> the system dor 3-4 days continuously. Sometimes this high bus load
>> comes in 10-15 minutes.
>>
>> I am using following command line options:
>> -slave -quiet -nosound -nomouseinput -noconsolecontrols -nojoystick
>> -loop 0 -cache 8192 skiploopfilter=nonref -benchmark -wid <X11-ID>
>> <rtsp-url>
>>
>> mplayer version: 1.0rc2-4.3.2
>>
>> Regards,
>> Anirban
>>
>> --
>> Anirban
>>


More information about the MPlayer-users mailing list