[vdr] replay audio record, fastrewind, play: firmware hangs

Wolfgang Rohdewald wolfgang at rohdewald.de
Thu Jun 16 00:49:18 CEST 2005


On Mittwoch 15 Juni 2005 17:15, Dr. Werner Fink wrote:
> IMHO the firmware status is not that what the driver belive it is.
> Maybe a VIDEO_CLEAR_BUFFER and/or AUDIO_CLEAR_BUFFER send to
> the firmware with COMTYPE_REC_PLAY+__Play was not stopped afterwards
> because there is no thread/process which can be woken up for this
> or the playing state is gone in the driver without sending
> COMTYPE_REC_PLAY+__Stop?  If this really happen the firmware will
> ask the driver for getting data to be played and this will slow
> down the BMP upload and all OSD commands.

more debug output: If I repeatedly fastrewind/play, __Stop is never
called in between. Do you mean it should?

OTOH could the reason for the problems be that audio AND video is replayed
for a recording that has no video? What does AUDIO_SET_AV_SYNC do then?

Jun 16 00:08:14 mm vdr[24123]: replay /var/lib/video/ARD-Nachtkonzert/2005-04-15.02.04.50.50.rec
Jun 16 00:08:14 mm vdr[24123]: playing '/var/lib/video/ARD-Nachtkonzert/2005-04-15.02.04.50.50.rec/001.vdr'
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28425
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_CHANNEL_SELECT
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28422
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_SET_MUTE
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28442
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28428
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_CLEAR_BUFFER
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28450
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28442
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28421
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_SELECT_SOURCE
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28423
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_SET_AV_SYNC
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28418
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_PLAY
Jun 16 00:08:14 mm kernel: dvb-ttpci: av7110_av_start_play(): av7110_av_start_play:COMTYPE_REC_PLAY __Stop
Jun 16 00:08:14 mm kernel: dvb-ttpci: av7110_av_start_play(): av7110_av_start_play:RP_AUDIO:COMTYPE_REC_PLAY __Play
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_audio_ioctl(): dvb_audio_ioctl returns 2
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28441
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28438
Jun 16 00:08:14 mm kernel: dvb-ttpci: av7110_av_start_play(): av7110_av_start_play:COMTYPE_REC_PLAY __Stop
Jun 16 00:08:14 mm kernel: dvb-ttpci: av7110_av_start_play(): av7110_av_start_play:RP_AV:COMTYPE_REC_PLAY __Play
Jun 16 00:08:14 mm kernel: dvb-ttpci: dvb_video_ioctl(): dvb_video_ioctl returns 3
Jun 16 00:08:14 mm vdr[24294]: dvbplayer thread started (pid=24294, tid=294927)
Jun 16 00:08:14 mm vdr[24294]: resuming replay at index 27784 (0:18:31.10)
Jun 16 00:08:14 mm vdr[24295]: non blocking file reader thread started (pid=24295, tid=311312)
Jun 16 00:08:15 mm vdr[24294]: SetBrokenLink: no video packet in frame
Jun 16 00:08:15 mm vdr[24294]: setting audio track to 33
Jun 16 00:10:00 mm vdr[24163]: TS buffer on device 2 thread ended (pid=24163, tid=196621)
Jun 16 00:10:00 mm vdr[24162]: buffer stats: 86292 (4%) used
Jun 16 00:10:00 mm vdr[24162]: receiver on device 2 thread ended (pid=24162, tid=180236)
Jun 16 00:10:00 mm vdr[24160]: file writer thread ended (pid=24160, tid=147466)
Jun 16 00:10:00 mm vdr[24123]: buffer stats: 91744 (1%) used
Jun 16 00:10:00 mm vdr[24123]: timer 5 (3 2208-0010 'stern TV') stop
GJun 16 00:10:44 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28450
Jun 16 00:10:44 mm kernel: dvb-ttpci: dvb_video_ioctl(): dvb_video_ioctl:VIDEO_CLEAR_BUFFER:COMTYPE_REC_PLAY,__Play,2,AV_PES
Jun 16 00:10:44 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28428
Jun 16 00:10:44 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_CLEAR_BUFFER
Jun 16 00:10:44 mm kernel: dvb-ttpci: dvb_audio_ioctl(): dvb_audio_ioctl:AUDIO_CLEAR_BUFFER:COMTYPE_REC_PLAY,__Play,2,AV_PES
Jun 16 00:10:44 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28423
Jun 16 00:10:44 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_SET_AV_SYNC
Jun 16 00:10:44 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28422
Jun 16 00:10:44 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_SET_MUTE
Jun 16 00:10:44 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28448
Jun 16 00:10:44 mm vdr[24294]: SetBrokenLink: no video packet in frame
Jun 16 00:10:46 mm vdr[24294]: switching to pre 1.3.19 Dolby Digital compatibility mode,SubStreamType:0
Jun 16 00:10:46 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28425
Jun 16 00:10:46 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_CHANNEL_SELECT
Jun 16 00:10:46 mm vdr[24294]: setting audio track to 33
Jun 16 00:10:46 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28450
Jun 16 00:10:46 mm kernel: dvb-ttpci: dvb_video_ioctl(): dvb_video_ioctl:VIDEO_CLEAR_BUFFER:COMTYPE_REC_PLAY,__Play,2,AV_PES
Jun 16 00:10:46 mm kernel: dvb-ttpci: dvb_video_ioctl(): dvb_video_ioctl:VIDEO_CLEAR_BUFFER:COMTYPE_REC_PLAY,__Slow,2,0
Jun 16 00:10:46 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28428
Jun 16 00:10:46 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_CLEAR_BUFFER
Jun 16 00:10:46 mm kernel: dvb-ttpci: dvb_audio_ioctl(): dvb_audio_ioctl:AUDIO_CLEAR_BUFFER:COMTYPE_REC_PLAY,__Play,2,AV_PES
Jun 16 00:10:46 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28423
Jun 16 00:10:46 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_SET_AV_SYNC
Jun 16 00:10:46 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28440
Jun 16 00:10:46 mm vdr[24294]: SetBrokenLink: no video packet in frame
Jun 16 00:13:57 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28450
Jun 16 00:13:57 mm kernel: dvb-ttpci: dvb_video_ioctl(): dvb_video_ioctl:VIDEO_CLEAR_BUFFER:COMTYPE_REC_PLAY,__Play,2,AV_PES
Jun 16 00:13:57 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28428
Jun 16 00:13:57 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_CLEAR_BUFFER
Jun 16 00:13:57 mm kernel: dvb-ttpci: dvb_audio_ioctl(): dvb_audio_ioctl:AUDIO_CLEAR_BUFFER:COMTYPE_REC_PLAY,__Play,2,AV_PES
Jun 16 00:13:57 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28423
Jun 16 00:13:57 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_SET_AV_SYNC
Jun 16 00:13:57 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28422
Jun 16 00:13:57 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_SET_MUTE
Jun 16 00:13:57 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28448
Jun 16 00:13:57 mm vdr[24294]: SetBrokenLink: no video packet in frame
Jun 16 00:14:09 mm kernel: dvb-ttpci: warning: timeout waiting in LoadBitmap: 0, 1
Jun 16 00:14:09 mm kernel: dvb-ttpci: OSDSetBlock(): returns -110
Jun 16 00:14:09 mm kernel: dvb-ttpci: av7110_osd_cmd(): av7110_osd_cmd(13) returns with -110
Jun 16 00:14:18 mm vdr[24294]: ERROR: incomplete PES packet write!
Jun 16 00:14:19 mm kernel: dvb-ttpci: warning: timeout waiting in LoadBitmap: 0, 1
Jun 16 00:14:19 mm kernel: dvb-ttpci: OSDSetBlock(): returns -110
Jun 16 00:14:19 mm kernel: dvb-ttpci: av7110_osd_cmd(): av7110_osd_cmd(13) returns with -110
Jun 16 00:14:29 mm kernel: dvb-ttpci: warning: timeout waiting in LoadBitmap: 0, 1
Jun 16 00:14:29 mm kernel: dvb-ttpci: OSDSetBlock(): returns -110
Jun 16 00:14:29 mm kernel: dvb-ttpci: av7110_osd_cmd(): av7110_osd_cmd(13) returns with -110
Jun 16 00:14:39 mm kernel: dvb-ttpci: warning: timeout waiting in LoadBitmap: 0, 1
Jun 16 00:14:39 mm kernel: dvb-ttpci: OSDSetBlock(): returns -110
Jun 16 00:14:39 mm kernel: dvb-ttpci: av7110_osd_cmd(): av7110_osd_cmd(13) returns with -110
Jun 16 00:14:39 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28450
Jun 16 00:14:39 mm kernel: dvb-ttpci: dvb_video_ioctl(): dvb_video_ioctl:VIDEO_CLEAR_BUFFER:COMTYPE_REC_PLAY,__Play,2,AV_PES
Jun 16 00:14:39 mm kernel: dvb-ttpci: dvb_video_ioctl(): dvb_video_ioctl:VIDEO_CLEAR_BUFFER:COMTYPE_REC_PLAY,__Slow,2,0
Jun 16 00:14:39 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28428
Jun 16 00:14:39 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_CLEAR_BUFFER
Jun 16 00:14:39 mm kernel: dvb-ttpci: dvb_audio_ioctl(): dvb_audio_ioctl:AUDIO_CLEAR_BUFFER:COMTYPE_REC_PLAY,__Play,2,AV_PES
Jun 16 00:14:39 mm kernel: dvb-ttpci: dvb_audio_ioctl(): av7110:cbcd8000, cmd=28423
Jun 16 00:14:39 mm kernel: dvb-ttpci: dvb_audio_ioctl(): AUDIO_SET_AV_SYNC
Jun 16 00:14:39 mm kernel: dvb-ttpci: dvb_video_ioctl(): av7110:cbcd8000, cmd=28440
Jun 16 00:14:39 mm vdr[24294]: SetBrokenLink: no video packet in frame
Jun 16 00:14:49 mm kernel: dvb-ttpci: warning: timeout waiting in LoadBitmap: 0, 1
Jun 16 00:14:49 mm kernel: dvb-ttpci: OSDSetBlock(): returns -110
Jun 16 00:14:49 mm kernel: dvb-ttpci: av7110_osd_cmd(): av7110_osd_cmd(13) returns with -110

-- 
Wolfgang



More information about the vdr mailing list