[vdr] xine dropped frames warning

2011-11-19 Thread Arturo Martinez
Hello,

I lauch xine with this line:

xine --no-gui --no-logo --no-splash -pq -A alsa -f -V xxmc --post vdr
--post vdr_video --post
tvtime:method=Greedy2Frame,enabled=1,pulldown=vektor,framerate_mode=full,judder_correction=0,use_progressive_frame_flag=0,chroma_filter=0,cheap_mode=0
--config=/home/config vdr://tmp/vdr-xine/stream#demux:mpeg_pes

This works well but ocassionally the system is busy and I get a warning
that too many frames have been dropped


In my /home/config file I have:

engine.performance.warn_discarded_threshold:99
engine.performance.warn_skipped_threshold:99


Is there some way I can make sure I get no such warnings?
The PC has only a remote control, no mouse so it is a real problem to
get these warnings

I wouldn´t mind to recompile the source code if somebody could point out
a patch to remove the xine´s code for the warning boxes



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] xine dropped frames warning

2011-11-20 Thread Arturo Martinez
I have added


gui.dropped_frames_warning:0

but still if the system gets stressed I get a warning box

Some xine dev knows by any chance how to remove xine´s ability to
display warning boxes or to make them of size 0x0 pixels ?

On Sat, Nov 19, 2011 at 7:04 AM, Arturo Martinez wrote:
> This works well but ocassionally the system is busy and I get a warning
> that too many frames have been dropped
>
>
> Is there some way I can make sure I get no such warnings?
> The PC has only a remote control, no mouse so it is a real problem to
> get these warnings
>
> I wouldn´t mind to recompile the source code if somebody could point out
> a patch to remove the xine´s code for the warning boxes

Those annoy a lot of people.  Just add this to your xine config:

gui.dropped_frames_warning:0

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xine dropped frames warning

2011-11-19 Thread VDR User
On Sat, Nov 19, 2011 at 7:04 AM, Arturo Martinez  wrote:
> This works well but ocassionally the system is busy and I get a warning
> that too many frames have been dropped
>
>
> Is there some way I can make sure I get no such warnings?
> The PC has only a remote control, no mouse so it is a real problem to
> get these warnings
>
> I wouldn´t mind to recompile the source code if somebody could point out
> a patch to remove the xine´s code for the warning boxes

Those annoy a lot of people.  Just add this to your xine config:

gui.dropped_frames_warning:0

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xine dropped frames warning

2011-11-20 Thread VDR User
On Sun, Nov 20, 2011 at 1:39 AM, Arturo Martinez  wrote:
> I have added
>
>
> gui.dropped_frames_warning:0
>
> but still if the system gets stressed I get a warning box
>
> Some xine dev knows by any chance how to remove xine´s ability to
> display warning boxes or to make them of size 0x0 pixels ?

I assume you did not unload xine before editing the config file.  The
file can not be edited while xine is running.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xine dropped frames warning

2011-11-21 Thread Arturo Martinez
You assumed incorrectly.

I killed xine and edited the file while xine was not running.

in fact the line gui.dropped_frames_warning:0
is now permanently in the config file but still I get the notifications
(or at least some of them)

Nobody reading these lines knows what part of xine´s source code do I
need to murder to get rid of the notifications once and for all ?


wrote:
> > I have added
> >
> >
> > gui.dropped_frames_warning:0
> >
> > but still if the system gets stressed I get a warning box
> >
> > Some xine dev knows by any chance how to remove xine?s ability to
> > display warning boxes or to make them of size 0x0 pixels ?
I assume you did not unload xine before editing the config file.  The
file can not be edited while xine is running.


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xine dropped frames warning

2011-11-21 Thread VDR User
On Mon, Nov 21, 2011 at 3:48 AM, Arturo Martinez  wrote:
> in fact the line gui.dropped_frames_warning:0
> is now permanently in the config file but still I get the notifications
> (or at least some of them)
>
> Nobody reading these lines knows what part of xine´s source code do I
> need to murder to get rid of the notifications once and for all ?

There's only one popup informing you of dropped frames. If you've
correctly disabled it then you won't get those popups. You
don't/shouldn't have to edit the source code! If you're complaining
about other popups then I don't know. Ever since adding
"gui.dropped_frames_warning:0", I have not gotten a dropped frame
popup.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xine dropped frames warning

2011-11-22 Thread Arturo Martinez

With
gui.dropped_frames_warning:0


in the config file

(which was added while xine was not running)

I still get a popup if I use the OSD for a minute or so


See screenshot:

http://dl.dropbox.com/u/9975371/IMG_2022_124523.jpg

So since the line does not truly disable warnings for me, my question
still remains valid.

Is there a different line I need to put in the config file or else how
can I mod the source code to make the warnings invisible?

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xine dropped frames warning

2011-11-22 Thread Torgeir Veimo
Are you certain it's the correct xine config file?

On 22 November 2011 21:53, Arturo Martinez  wrote:
>
> With
> gui.dropped_frames_warning:0
>
>
> in the config file
>
> (which was added while xine was not running)
>
> I still get a popup if I use the OSD for a minute or so
>
>
> See screenshot:
>
> http://dl.dropbox.com/u/9975371/IMG_2022_124523.jpg
>
> So since the line does not truly disable warnings for me, my question
> still remains valid.
>
> Is there a different line I need to put in the config file or else how
> can I mod the source code to make the warnings invisible?
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>



-- 
-Tor

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xine dropped frames warning

2011-11-22 Thread VDR User
On Tue, Nov 22, 2011 at 3:53 AM, Arturo Martinez  wrote:
>
> With
> gui.dropped_frames_warning:0
>
>
> in the config file
>
> (which was added while xine was not running)
>
> I still get a popup if I use the OSD for a minute or so
>
>
> See screenshot:
>
> http://dl.dropbox.com/u/9975371/IMG_2022_124523.jpg
>
> So since the line does not truly disable warnings for me, my question
> still remains valid.
>
> Is there a different line I need to put in the config file or else how
> can I mod the source code to make the warnings invisible?

The command works as expected so the only possible explanation is user
error.  So either xine was running when you edited the config file, or
you didn't edit the right one as Torgeir Veimo suggested.  You have to
edit the config file for whichever user has started xine.  If you
started xine as root then edit /root/.xine/config, if you started it
as user timmy then /home/timmy/.xine/config, etc..  There is one more
option also.. You can use the -c command line switch to force xine to
use a certain config file:

xine -c /path/to/good/xine.config

Then you can verify the config contains the correct setting with:

[[ $(grep "^gui.dropped_frames_warning:0" /path/to/good/xine.config)
]] && echo "config is good :)" || echo "config is bad :("

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xine dropped frames warning

2011-11-24 Thread Arturo Martinez
I am using the right config and the warnings still show.

Lets prove it...


ps -ef |grep xine

 xine --no-gui --no-logo --no-splash -pq -A alsa -f -V xxmc --post vdr
--post vdr_video --post
tvtime:method=LinearBlend,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1
--config=/home/tv/.xine/config vdr://tmp/vdr-xine/stream#demux:mpeg_pes

So that´s my xine running and shows it is using for config
/home/tv/.xine/config


Now I run the grep command on it:

grep "^gui.dropped_frames_warning:0" /home/tv/.xine/config && echo
"config is good :)" || echo "config is bad :("

And the result is:

gui.dropped_frames_warning:0
config is good :)


Yet if I open vdr´s OSD and fiddle with it for a minute or so I am
guaranteed to get the dropped frames warning.

cxfe does not have the warning problem but unfortunately it does not
support xxmc acceleration :(

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xine dropped frames warning

2011-11-24 Thread ian_and_joa...@talktalk.net
Hi,

I find this all puzzling too. I've been in similar situations and welcomed 
suggestions. Here is one of mine.

Try changing your xine command line by replacing the '=' following --config 
with a space.

Showing the commandline is not the same as the app parsing the parameter. Xine 
may be clever in this respect in which case this will make no difference.


Ian.

Sent from my HTC

- Reply message -
From: "Arturo Martinez" 
Date: Thu, Nov 24, 2011 08:29
Subject: [vdr] xine dropped frames warning
To: 

I am using the right config and the warnings still show.

Lets prove it...


ps -ef |grep xine

 xine --no-gui --no-logo --no-splash -pq -A alsa -f -V xxmc --post vdr
--post vdr_video --post
tvtime:method=LinearBlend,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1
--config=/home/tv/.xine/config vdr://tmp/vdr-xine/stream#demux:mpeg_pes

So that´s my xine running and shows it is using for config
/home/tv/.xine/config


Now I run the grep command on it:

grep "^gui.dropped_frames_warning:0" /home/tv/.xine/config && echo
"config is good :)" || echo "config is bad :("

And the result is:

gui.dropped_frames_warning:0
config is good :)


Yet if I open vdr´s OSD and fiddle with it for a minute or so I am
guaranteed to get the dropped frames warning.

cxfe does not have the warning problem but unfortunately it does not
support xxmc acceleration :(

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xine dropped frames warning

2011-11-24 Thread Arturo Martinez
I have replaced the ´=´ for a space as shown by

ps -ef |grep xine

xine --no-gui --no-logo --no-splash -pq -A alsa -f -V xxmc --post vdr
--post vdr_video --post
tvtime:method=LinearBlend,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1
--config /home/tv/.xine/config vdr://tmp/vdr-xine/stream#demux:mpeg_pes

but the annoying dropped frames warning remains

any other ideas?

On 24/11/11 10:16, ian_and_joa...@talktalk.net wrote:
> Hi,
> 
> I find this all puzzling too. I've been in similar situations and welcomed 
> suggestions. Here is one of mine.
> 
> Try changing your xine command line by replacing the '=' following --config 
> with a space.
> 
> Showing the commandline is not the same as the app parsing the parameter. 
> Xine may be clever in this respect in which case this will make no difference.
> 
> 
> Ian.
> 
> - Reply message -
> Date: Thu, Nov 24, 2011 08:29
> Subject: [vdr] xine dropped frames warning
> To: 
> 
> I am using the right config and the warnings still show.
> 
> Lets prove it...
> 
> 
> ps -ef |grep xine
> 
>  xine --no-gui --no-logo --no-splash -pq -A alsa -f -V xxmc --post vdr
> --post vdr_video --post
> tvtime:method=LinearBlend,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1
> --config=/home/tv/.xine/config vdr://tmp/vdr-xine/stream#demux:mpeg_pes
> 
> So that´s my xine running and shows it is using for config
> /home/tv/.xine/config
> 
> 
> Now I run the grep command on it:
> 
> grep "^gui.dropped_frames_warning:0" /home/tv/.xine/config && echo
> "config is good :)" || echo "config is bad :("
> 
> And the result is:
> 
> gui.dropped_frames_warning:0
> config is good :)
> 
> 
> Yet if I open vdr´s OSD and fiddle with it for a minute or so I am
> guaranteed to get the dropped frames warning.
> 
> cxfe does not have the warning problem but unfortunately it does not
> support xxmc acceleration :(
> 

* Unknown - detected
* English
* Spanish

* English
* Spanish

 
auto-copied
Unable to translate selected text.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xine dropped frames warning

2011-11-24 Thread Arturo Martinez
Finally, I´ve edited /xine-ui/src/xitk/errors.c

the last function:

I left it like this:

void too_slow_window(void) {
return;
}

Now no more dropped frames warning boxes :-)

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr