[vdr] FF card AV sync problems, possible fix to VDR (fwd)

Reinhard Nissl rnissl at gmx.de
Thu Feb 1 22:07:59 CET 2007


Hi,

Kartsa wrote:

> This is what was in the log if this is at all relevant.
> 
> Feb  1 21:20:48 vdr: [2635] replay
> /srv/vdr/Idols_Extra/2007-02-01.20.59.50.99.rec
> Feb  1 21:20:59 vdr: [3955] 3 cRepacker messages suppressed
> Feb  1 21:20:59 vdr: [3955] cAudioRepacker(0xC0): skipped 134 bytes to
> sync on next audio frame
> Feb  1 21:22:09 vdr: [3955] 2 cRepacker messages suppressed
> Feb  1 21:22:09 vdr: [3955] cAudioRepacker(0xC0): skipped 68 bytes while
> syncing on next audio frame
> Feb  1 21:25:37 vdr: [3955] 1 cRepacker messages suppressed
> Feb  1 21:25:37 vdr: [3955] cAudioRepacker(0xC0): skipped 84 bytes to
> sync on next audio frame
> Feb  1 21:26:14 vdr: [3955] cAudioRepacker(0xC0): skipped 68 bytes to
> sync on next audio frame
> Feb  1 21:26:45 vdr: [3955] cAudioRepacker(0xC0): skipped 476 bytes
> while syncing on next audio frame
> Feb  1 21:32:45 vdr: [3955] 1 cRepacker messages suppressed
> Feb  1 21:32:45 vdr: [3955] cAudioRepacker(0xC0): skipped 502 bytes
> while syncing on next audio frame
> Feb  1 21:34:52 vdr: [3955] 1 cRepacker messages suppressed
> Feb  1 21:34:52 vdr: [3955] cAudioRepacker(0xC0): skipped 232 bytes
> while syncing on next audio frame
> Feb  1 21:36:55 vdr: [3955] 3 cRepacker messages suppressed
> Feb  1 21:36:55 vdr: [3955] cAudioRepacker(0xC0): skipped 54 bytes to
> sync on next audio frame
> Feb  1 21:38:06 vdr: [3955] 2 cRepacker messages suppressed
> Feb  1 21:38:06 vdr: [3955] cAudioRepacker(0xC0): skipped 468 bytes
> while syncing on next audio frame
> Feb  1 21:40:00 vdr: [2635] timer 22 (5 2059-2140 'Idols Extra') stop
> 
> As you can see the recording was on the way as I was watching it.

If you can reproduce this behaviour, would you please activate the
following line in remux.c:

       dsyslog("TS continuity error (%d)", ccCounter);

The cRepacker messages might be a result of lost TS packets, which
should be reported by the above line.

Another issue might be, that the audio frames do not contain any length
information. Please modify the line

        *FrameSize = 0;

in cAudioRepacker::IsValidAudioHeader to

	{ *FrameSize = 0; dsyslog("cAudioRepacker: FrameSize == 0"); }

for getting this situation reported.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de



More information about the vdr mailing list