Re: [vdr] VDR 1.7.0 + xine plugin 0.8.2 - several iisues

2008-04-27 Thread Reinhard Nissl
Hi,

Igor Nikanov schrieb:

> But if I disconnect from the card the antenna I will have this problem
[snip]
> let's see in the xine output
[snip]
> video_out: throwing away image with pts 96108366 because it's too old (diff : 
> 434402).
> video_out: throwing away image with pts 96111366 because it's too old (diff : 
> 431402).
> video_out: throwing away image with pts 96114366 because it's too old (diff : 
> 428402).
> video_out: throwing away image with pts 96117366 because it's too old (diff : 
> 425402).
> video_out: throwing away image with pts 96120366 because it's too old (diff : 
> 422402).
> video_out: throwing away image with pts 96123366 because it's too old (diff : 
> 419402).
> video_out: throwing away image with pts 96126366 because it's too old (diff : 
> 416402).
> video_out: throwing away image with pts 96129366 because it's too old (diff : 
> 413402).
> video_out: throwing away image with pts 96132366 because it's too old (diff : 
> 410402).
> video_out: throwing away image with pts 96135366 because it's too old (diff : 
> 407402).
> video_out: throwing away image with pts 96138366 because it's too old (diff : 
> 404402).
> video_out: throwing away image with pts 96141366 because it's too old (diff : 
> 401531).
> video_out: throwing away image with pts 96144366 because it's too old (diff : 
> 398630).
> video_out: throwing away image with pts 96147366 because it's too old (diff : 
> 395630).

When you disconnect the antenna cable for a certain amount of 
time, there will be a gap in presentation time stamps (PTS). This 
will cause xine to jump over the gap with the result that the 
previously established buffer will run empty immediately. Any 
further received images will therefore arrive to late at xine and 
cause the above messages.

Maybe I can find a solution for vdr-xine to detect this issue and 
reestablish a suitable buffer in this case.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

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


Re: [vdr] VDR 1.7.0 + xine plugin 0.8.2 - several iisues

2008-04-27 Thread Reinhard Nissl
Hi,

Igor Nikanov schrieb:

> But if I disconnect from the card the antenna I will have this problem
[snip]
> Apr 27 13:37:32 localhost vdr: [5732] timer 1 (88 1318-1618 '@Das gemütliche 
> Schlafzimmer') set to event Sun 27.04.2008
> 14:0 Apr 27 13:37:32 localhost vdr: [5732] switching device 1 to channel 88
> Apr 27 13:37:32 localhost vdr: [5732] timer 1 (88 1318-1618 '@Das gemütliche 
> Schlafzimmer') start
> Apr 27 13:37:32 localhost vdr: [5732] Title: 'Das gemütliche Schlafzimmer' 
> Subtitle: '(null)'
> Apr 27 13:37:32 localhost vdr: [5732] record 
> /video/@Das_gemütliche_Schlafzimmer/2008-04-27.13.18.50.99.rec
> Apr 27 13:37:32 localhost vdr: [5732] recording 
> to'/video/@Das_gemütliche_Schlafzimmer/2008-04-27.13.18.50.99.rec/003.vdr' 
[snip]
> Apr 27 13:38:03 localhost vdr: [5746] ERROR: video data stream broken 
> Apr 27 13:38:03 localhost vdr:[5746] initiating emergency exit 
> Apr 27 13:38:03 localhost vdr: [5732] emergency exit requested - shuttingdown 
[snip]
> Apr 27 13:38:06 localhost vdr: [5732] exiting, exit code 1
> Apr 27 13:38:06 localhost vdr: [5732] emergency exit!

When there is a recording going on and no more data comes in (due 
to the disconnected antenna cable), then VDR assumes a buggy 
driver/card, requests an emergency exit which will then reload 
the driver.

In the case where this doesn't fix the problem (i. e. it won't 
help if you disconnected the antenna cable), VDR will continue to 
record but still sees no data. The result is, it will again 
request an emergency exit. This scenario will go on until either 
the timer(s) get(s) outdated or the signal comes back (by having 
someone connect the antenna cable again).

There has been a discussion regarding pro and cons of emergency 
exit and the result is that at least from VDR-1.5.18 on you can 
disable this "feature" in VDR's setup/miscellaneous menu.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

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


[vdr] VDR 1.7.0 + xine plugin 0.8.2 - several iisues

2008-04-27 Thread Igor Nikanov
Hi

I'm start to test my system - 
dvb-s2 card hvr4000 (with latest multiproto_plus + hvr4000 patch from
Gregoire Favre) + VDR 1.7.0 + xine-plugin 0.8.2 + xine-lib-1.2 from HG + 
xine-ui from CVS + ffmpeg from SVN
(I didn't test dvb-s2 yet, but it seems to me - the dvb-s works well)

But if I disconnect from the card the antenna I will have this problem


[EMAIL PROTECTED]:/usr/src/VDR$ ./vdr -c /etc/vdr -P "xine -r"
-
MakePrimaryDevice: 1
=
SetVideoFormat: 0
SetVolumeDevice: 255
SetAudioChannelDevice: 0
SetDigitalAudioDevice: 0
SetAudioChannelDevice: 0
SetVolumeDevice: 255
SetPlayMode: 1
frame: (0, 0)-(-1, -1), zoom: (1.00, 1.00)
vdr-xine: Client connecting ...
vdr-xine: Client connected!
frame: (0, 0)-(720, 576), zoom: (1.00, 1.00)
video: synced early
[VMA]buffered 8.2 frames (v:20.1, a:8.2)
buffered 9.5 frames (v:18.8, a:9.5)
SetPlayMode: 0
SetAudioChannelDevice: 0
SetDigitalAudioDevice: 0
SetAudioChannelDevice: 0
SetPlayMode: 1
[vVMA]buffered 8.5 frames (v:14.8, a:8.5)
buffered 6.6 frames (v:15.3, a:6.6) <
frame: (0, 0)-(720, 576), zoom: (1.00, 1.00)
SetPlayMode: 0
SetAudioChannelDevice: 0
SetDigitalAudioDevice: 0
SetAudioChannelDevice: 0
SetPlayMode: 1
frame: (0, 0)-(720, 576), zoom: (1.00, 1.00)
audio: synced early
[AMvV]buffered 12.2 frames (v:20.9, a:12.2)
SetPlayMode: 0
frame: (0, 0)-(720, 576), zoom: (1.00, 1.00)
SetAudioChannelDevice: 0
SetDigitalAudioDevice: 0
SetAudioChannelDevice: 0

=skipped


frame: (0, 0)-(720, 576), zoom: (1.00, 1.00)
SetPlayMode: 0
SetAudioChannelDevice: 0
SetDigitalAudioDevice: 0
SetAudioChannelDevice: 0
SetPlayMode: 1
SetPlayMode: 0
SetAudioChannelDevice: 0
SetDigitalAudioDevice: 0
SetAudioChannelDevice: 0
SetPlayMode: 1
SetPlayMode: 0
SetAudioChannelDevice: 0
SetDigitalAudioDevice: 0
SetAudioChannelDevice: 0
SetPlayMode: 1
SetPlayMode: 0
SetAudioChannelDevice: 0
SetDigitalAudioDevice: 0
SetAudioChannelDevice: 0
SetPlayMode: 1
frame: (0, 0)-(720, 576), zoom: (1.00, 1.00)
vdr-xine: Client disconnected!   
#!!1
SetPlayMode: 0
[EMAIL PROTECTED]:/usr/src/VDR$


let's see in the xine output


input_cache: read calls: 0, main input read calls: 0
input_cache: seek_calls: 0, main input seek calls: 0
input_vdr: shutting down rpc thread (timeout: 1 ms) ...
input_vdr: joining rpc thread ...
input_vdr: rpc thread joined.
xine: found input plugin  : file input plugin
load_plugins: probing demux 'anx'
load_plugins: probing demux 'image'
load_plugins: probing demux 'wve'
load_plugins: probing demux 'idcin'
load_plugins: probing demux 'ipmovie'
load_plugins: probing demux 'vqa'
load_plugins: probing demux 'wc3movie'
load_plugins: probing demux 'roq'
load_plugins: probing demux 'str'
load_plugins: probing demux 'film'
load_plugins: probing demux 'smjpeg'
load_plugins: probing demux 'fourxm'
load_plugins: probing demux 'vmd'
load_plugins: probing demux 'aiff'
load_plugins: probing demux 'flac'
load_plugins: probing demux 'realaudio'
load_plugins: probing demux 'snd'
load_plugins: probing demux 'tta'
load_plugins: probing demux 'voc'
load_plugins: probing demux 'vox'
load_plugins: probing demux 'mpeg-ts'
load_plugins: probing demux 'avi'
load_plugins: probing demux 'mpeg_block'
load_plugins: probing demux 'mpeg_pes'
load_plugins: probing demux 'quicktime'
load_plugins: probing demux 'fli'
load_plugins: probing demux 'yuv4mpeg2'
load_plugins: probing demux 'real'
load_plugins: probing demux 'pva'
load_plugins: probing demux 'slave'
load_plugins: probing demux 'nsv'
load_plugins: probing demux 'matroska'
ebml: invalid EBML ID size (0x0) at position 1
ebml: invalid master element
load_plugins: probing demux 'iff'
load_plugins: probing demux 'flashvideo'
load_plugins: probing demux 'playlist'
load_plugins: probing demux 'nsfdemux'
load_plugins: probing demux 'ogg'
load_plugins: probing demux 'asf'
load_plugins: probing demux 'mpeg'
load_plugins: probing demux 'dts'
demux_dts: unsupported DTS stream type, or not a DTS stream
load_plugins: probing demux 'ac3'
load_plugins: probing demux 'wav'
load_plugins: probing demux 'cdda'
load_plugins: probing demux 'rawdv'
load_plugins: probing demux 'mpc'
load_plugins: probing demux 'mp3'
load_plugins: probing demux 'shn'
load_plugins: probing demux 'elem'
xine: found demuxer plugin: Elementary MPEG stream demux plugin
load_plugins: plugin mpeg2 will be used for video streamtype 00.
av_offset=0 pts
spu_offset=0 pts
xine_play
play_internal ...done
video_out: throwing away image with pts 96108366 because it's too old (diff : 
434402).
video_out: throwing away image with pts 96111366 because it's too old (diff : 
431402).
video_out: throwing away image with pts 96114366 because it's too old (diff : 
428402).
video_out: throwing away image with pts 96117366 because it's too old (diff : 
425402).
video_out: throwing away image with pts 96120366 because it's too old (diff : 
422402).
video_out: throwing away image with pt