Project

General

Profile

Bug #5053

Audio delayed - The timediff for AAC-LATM is big

Added by Luka Karinja over 6 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Category:
Streaming
Target version:
-
Start date:
2018-04-01
Due date:
% Done:

100%

Estimated time:
Found in version:
git master
Affected Versions:

Description

Hello. lately i've been experiencing audio delay from my national provider.
log says: tsfix: The timediff for AAC-LATM is big (206880), using current dts
the audio is 2100ms delayed, streams were working perfectly until a week ago.
It happens on all 720p streams from my provider.
I have attached a 1min mux


Files

test.ts (45.4 MB) test.ts Luka Karinja, 2018-04-01 11:55
tvheadend.log (3.16 MB) tvheadend.log Luka Karinja, 2018-04-02 18:19

History

#1

Updated by Luka Karinja over 6 years ago

picture is delay, had a typo in my bug review

#2

Updated by Jaroslav Kysela over 6 years ago

--trace parser,tsfix,globalheaders : https://tvheadend.org/projects/tvheadend/wiki/Traces

The attached .TS stream is ok - no timediff error in log.

#3

Updated by Luka Karinja over 6 years ago

attached trace logger: parser,tsfix,globalheaders
my system is Arch linux

#4

Updated by Jaroslav Kysela over 6 years ago

There's really such big clock drift between video and audio:

2018-04-02 18:16:29.746 [  TRACE]:parser: deliver (pkt stream 1 H264 type I pcr 7836834029 dts 7837112858 pts 7837116458 dur 1800 len 30575 err 0 meta 44)
2018-04-02 18:16:29.746 [  TRACE]:tsfix: reference clock set to 7836834029 (dts 7837112858 pcr 7836834029 backlog 0)
2018-04-02 18:16:29.746 [  TRACE]:tsfix: deliver odts 7837112858 opts 7837116458 ref 7836834029 epoch 0 (pkt stream 1 H264 type I pcr 1 dts 278829 pts 282429 dur 1800 len 30575 err 0 meta 44)
2018-04-02 18:16:29.746 [  TRACE]:globalheaders: hold receive (pkt stream 1 H264 type I pcr 1 dts 278829 pts 282429 dur 1800 len 30575 err 0 meta 44)
2018-04-02 18:16:29.746 [  TRACE]:parser: deliver (pkt stream 3 TELETEXT pcr 7836834029 dts 7836834029 pts 7836834029 dur 0 len 1243 err 0)
2018-04-02 18:16:29.746 [  TRACE]:tsfix: deliver odts 7836834029 opts 7836834029 ref 7836834029 epoch 0 (pkt stream 3 TELETEXT pcr 0 dts 0 pts 0 dur 0 len 1243 err 0)
2018-04-02 18:16:29.746 [  TRACE]:globalheaders: hold receive (pkt stream 3 TELETEXT pcr 0 dts 0 pts 0 dur 0 len 1243 err 0)
2018-04-02 18:16:29.746 [  TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 7836834029 dts 7837054349 pts 7837054349 dur 1920 len 329 err 0)
2018-04-02 18:16:29.746 [WARNING]:tsfix: The timediff for AAC-LATM is big (220320), using current dts
#5

Updated by Jaroslav Kysela over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|d9418857f3f38880d7461ddcd04bb72db803dc80.

#6

Updated by Luka Karinja over 6 years ago

thanks its fixed

Also available in: Atom PDF