Re: [vdr] Possibly corrupt stream for VDR frontends in 1.7.4?

2009-04-10 Thread Artem Makhutov
Hello,

alexw schrieb:
> Hi,
> 
> Could you please check the TS continuity with dvbsnoop when using 
> streamdev or xineliboutput over the network? If not please make a 
> network recording (~ 5 minutes) for both case.
> 
> 1) Streamdev
> wget -q -O - http://:3000/TS/ > streamdev.ts
> 
> 2) Xineliboutput (xineliboutput will use the current channel)
> wget -q -O - http://:37890/ > xineliboutput.ts
> 
> If you want to use dvbsnoop pipe the output instead of redirecting to 
> file with:
> 
>  | dvbsnoop -nph -s ts -tssubdecode -if -
> 
> After it is a matter of analysing.

I have uploaded a corrupt stream: 
http://www.makhutov.org/downloads/vdr/streamdev3.ts

(wget -q -O - http://192.168.10.2:3000/TS/S19.2E-1-1007-4901.ts > 
streamdev3.ts)

What helps is increasing the buffers in .xine/config, but this does not 
solve the issues:
engine.buffers.audio_num_buffers:5000
engine.buffers.video_num_buffers:1

Thanks, Artem

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


Re: [vdr] ERROR (thread.c,225): Keine Berechtigung

2009-04-10 Thread Rolf Ahrenberg
On Wed, 8 Apr 2009, Gerald Dachs wrote:

> On every start of the vdr I get this error message:
>  Apr 2 00:33:36 vdr vdr: [2462] ERROR (thread.c,225): Keine Berechtigung
> It comes from cThread::SetPriority and seems to be harmless, but annoying.
> Is the attached patch the right cure?

I've solved this by tweaking the capabilities.

google: vdr-1.6.0-cap_sys_nice.patch

BR,
--
rofa

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


Re: [vdr] ERROR (thread.c,225): Keine Berechtigung

2009-04-10 Thread Gerald Dachs
Am Fri, 10 Apr 2009 12:28:35 +0200
schrieb Udo Richter :

> On 08.04.2009 15:41, Gerald Dachs wrote:
> > On every start of the vdr I get this error message:
> >Apr 2 00:33:36 vdr vdr: [2462] ERROR (thread.c,225): Keine
> > Berechtigung It comes from cThread::SetPriority and seems to be
> > harmless, but annoying. Is the attached patch the right cure?
> >
> >void cThread::SetPriority(int Priority)
> >{
> > -  if (setpriority(PRIO_PROCESS, 0, Priority)<  0)
> > +  if (setpriority(PRIO_PROCESS, getuid(), Priority)<  0)
> > LOG_ERROR;
> >}
> 
> This is definitely wrong. setpriority expects a process ID together
> with PRIO_PROCESS, not an user ID.

Oh yes, you are right, I didn't read the man page careful enough,
sorry. getuid() makes only sense with PRIO_USER.

Gerald

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


Re: [vdr] ERROR (thread.c,225): Keine Berechtigung

2009-04-10 Thread Udo Richter
On 08.04.2009 15:41, Gerald Dachs wrote:
> On every start of the vdr I get this error message:
>Apr 2 00:33:36 vdr vdr: [2462] ERROR (thread.c,225): Keine Berechtigung
> It comes from cThread::SetPriority and seems to be harmless, but annoying.
> Is the attached patch the right cure?
>
>void cThread::SetPriority(int Priority)
>{
> -  if (setpriority(PRIO_PROCESS, 0, Priority)<  0)
> +  if (setpriority(PRIO_PROCESS, getuid(), Priority)<  0)
> LOG_ERROR;
>}

This is definitely wrong. setpriority expects a process ID together with 
PRIO_PROCESS, not an user ID. You could try to use getpid() instead. 
However, passing 0 as second parameter is officially allowed and is 
interpreted as the current process too.

The cause is more likely that the process is not allowed to set the 
requested priority. To investigate this, you can dump the old and new 
priority value to the log files. Looks something like this: (untested)

dsyslog("%s thread setpriority %i to %i", Thread->description, 
getpriority(PRIO_PROCESS, 0), Priority);


Cheers,

Udo

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


Re: [vdr] only get DVB-related messages from linux-media

2009-04-10 Thread Klaus Schmidinger
On 09.04.2009 10:27, Paul Menzel wrote:
> ...
> I conclude your current situation is, that right now you do not get any
> dvd-related messages, since you are not subscribed.
> 
> I propose, that you subscribe, and do one of the following.
> 
> ...
> • Or set up a filter in your mail program to delete all messages from
> this list except they have [DVB] or so in the subject line and make sure
> the subject of your messages contains this word.

Thanks, I'll do that.
I'll filter on "^Subject:.*dvb" (case insensitive).

Klaus

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