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

Kartsa kari at kniivila.com
Mon Feb 19 11:36:56 CET 2007


Reinhard Nissl kirjoitti:
> Hi,
>
> Kartsa wrote:
>
>   
>> So I would like to raise this one up again. After applying the two
>> changes (dsyslog("TS continuity error (%d)", ccCounter) and { *FrameSize
>> = 0; dsyslog("cAudioRepacker: FrameSize == 0"); } in remux.c) I still
>> get these lines in log (and -l 3 in vdr startup)
>>
>> vdr: [3600] cAudioRepacker(0xC0): skipped 232 bytes to sync on next
>> audio frame
>> vdr: [3600] cAudioRepacker(0xC0): skipped 240 bytes to sync on next
>> audio frame
>> vdr: [3600] cAudioRepacker(0xC0): skipped 492 bytes while syncing on
>> next audio frame
>>
>> Why does these skipping of bytes appear?
>>     
>
> When do you get these lines?
>
> They are OK just after starting a recording or starting transfer mode.
>
> cAudioRepacker tries to suppress this message while initially syncing
> but as the sync pattern is allowed to appear as audio frame data, it is
> likely that cAudioRepacker get's in sync by mistake.
>
> After having synced, cAudioRepacker uses the indicated frame length as a
> guide when looking for the next audio packet. If the sync pattern isn't
> found at the guided position, it will seek for it and report the number
> of bytes skipped to find it.
>
> This procedure is executed all over the time and once cAudioRepacker has
> found a real sync pattern, the indicated frame length will guide
> cAudioRepacker precisely to the next audio frame.
>
> Bye.
>   

Ok, here is a snapshot of my log. There is no replay going during this 
time but a coupleof recordings are as can be seen. I've stripped channel 
events.

Feb 18 17:14:00 kari vdr: [2670] timer 3 (6 1714-1754 'Str<F6>ms<F6>') start
Feb 18 17:14:00 kari vdr: [2670] record 
/srv/vdr/Str<F6>ms<F6>/2007-02-18.17.14.50.99.rec
Feb 18 17:17:02 kari vdr: [3600] cAudioRepacker(0xC0): skipped 284 bytes 
while syncing on next audio frame
Feb 18 17:19:02 kari vdr: [3600] 1 cRepacker messages suppressed
Feb 18 17:19:02 kari vdr: [3600] cAudioRepacker(0xC0): skipped 232 bytes 
to sync on next audio frame
Feb 18 17:20:25 kari vdr: [3600] cAudioRepacker(0xC0): skipped 240 bytes 
to sync on next audio frame
Feb 18 17:21:28 kari vdr: [3600] cAudioRepacker(0xC0): skipped 492 bytes 
while syncing on next audio frame
Feb 18 17:22:56 kari vdr: [3600] 1 cRepacker messages suppressed
Feb 18 17:22:56 kari vdr: [3600] cAudioRepacker(0xC0): skipped 376 bytes 
to sync on next audio frame
Feb 18 17:23:37 kari vdr: [3600] 1 cRepacker messages suppressed
Feb 18 17:23:37 kari vdr: [3600] cAudioRepacker(0xC0): skipped 536 bytes 
to sync on next audio frame
Feb 18 17:26:36 kari vdr: [3600] 1 cRepacker messages suppressed
Feb 18 17:26:36 kari vdr: [3600] cAudioRepacker(0xC0): skipped 112 bytes 
to sync on next audio frame
Feb 18 17:27:21 kari vdr: [3600] cAudioRepacker(0xC0): skipped 304 bytes 
to sync on next audio frame
Feb 18 17:30:37 kari vdr: [3600] cAudioRepacker(0xC0): skipped 352 bytes 
to sync on next audio frame
Feb 18 17:34:41 kari vdr: [3600] cAudioRepacker(0xC0): skipped 304 bytes 
to sync on next audio frame
Feb 18 17:38:13 kari vdr: [3600] 2 cRepacker messages suppressed
Feb 18 17:38:13 kari vdr: [3600] cAudioRepacker(0xC0): skipped 112 bytes 
to sync on next audio frame
Feb 18 17:39:07 kari vdr: [3600] cAudioRepacker(0xC0): skipped 112 bytes 
to sync on next audio frame
Feb 18 17:40:00 kari vdr: [2670] timer 4 (4 1659-1740 'Teinityt<F6>n 
kasvatusopas') stop
Feb 18 17:40:20 kari vdr: [3600] cAudioRepacker(0xC0): skipped 204 bytes 
while syncing on next audio frame
Feb 18 17:41:00 kari vdr: [2899] EPGSearch: timer conflict check started
Feb 18 17:41:00 kari vdr: [2899] EPGSearch: timer conflict check finished
Feb 18 17:41:23 kari vdr: [2670] deleting timer 4 (4 1659-1740 
'Teinityt<F6>n kasvatusopas')
Feb 18 17:41:37 kari vdr: [3600] 1 cRepacker messages suppressed
Feb 18 17:41:37 kari vdr: [3600] cAudioRepacker(0xC0): skipped 176 bytes 
to sync on next audio frame
Feb 18 17:43:04 kari vdr: [3600] cAudioRepacker(0xC0): skipped 188 bytes 
while syncing on next audio frame
Feb 18 17:44:33 kari vdr: [3600] 1 cRepacker messages suppressed
Feb 18 17:44:33 kari vdr: [3600] cAudioRepacker(0xC0): skipped 300 bytes 
while syncing on next audio frame
Feb 18 17:45:37 kari vdr: [3600] 2 cRepacker messages suppressed
Feb 18 17:45:37 kari vdr: [3600] cAudioRepacker(0xC0): skipped 296 bytes 
to sync on next audio frame
Feb 18 17:47:55 kari vdr: [3600] cAudioRepacker(0xC0): skipped 664 bytes 
to sync on next audio frame
Feb 18 17:51:00 kari vdr: [3600] 1 cRepacker messages suppressed
Feb 18 17:51:00 kari vdr: [3600] cAudioRepacker(0xC0): skipped 528 bytes 
to sync on next audio frame
Feb 18 17:51:56 kari vdr: [3600] cAudioRepacker(0xC0): skipped 112 bytes 
to sync on next audio frame
Feb 18 17:53:03 kari vdr: [3600] cAudioRepacker(0xC0): skipped 608 bytes 
to sync on next audio frame
Feb 18 17:54:00 kari vdr: [2670] timer 3 (6 1714-1754 'Str<F6>ms<F6>') stop
Feb 18 17:55:23 kari vdr: [2670] deleting timer 3 (6 1714-1754 
'Str<F6>ms<F6>')

My log is actually full of these.

\\Kartsa



More information about the vdr mailing list