Project

General

Profile

Bug #4046

HEVC 1080 live tv choppy, 4k - ok

Added by Yuri K about 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
Parsers
Target version:
-
Start date:
2016-10-26
Due date:
% Done:

100%

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

Description

I have kodi as client and 4k live channels works fine.
But HD HEVC channels (1920x1080) plays choppy. First 1-2 seconds plays video with sound, when picture and sound stops and plays static pictures every 5-10 secs without sound.
Recordings 4k and HEVC HD plays fine.
vls from satip server plays this channels fine.
I include log switching to hevc hd channel - "LUXURY HD"


Files

tvheadend.log.bz2 (509 KB) tvheadend.log.bz2 Yuri K, 2016-10-26 22:25
simple1080i.ts (19.5 MB) simple1080i.ts Yuri K, 2016-10-31 13:43
simple1080p.ts (20 MB) simple1080p.ts Yuri K, 2016-10-31 13:43

History

#1

Updated by C vH about 8 years ago

Have you checked your client is able to play it ? it is possible that the channel use 10bit instead of the common 8bit !

#2

Updated by Yuri K about 8 years ago

Recording this channels the client plays fine.

#3

Updated by Yuri K about 8 years ago

Ok, somehow framerate not computed. I don't know how it computed in hevc, but after this workaround my hevc 1080 channels started working.

--- parser_hevc.c.orig 2016-10-20 20:26:40.000000000 0300
++ parser_hevc.c 2016-10-30 20:53:33.995364374 0300
@ -1695,6 +1695,7 @
} else if (vps->time_scale) {
d = 180000 * (uint64_t)vps->num_units_in_tick / (uint64_t)vps->time_scale;
}
d = 1800;
.
if (width && height && d)
parser_set_stream_vparam(st, width, height, d);

#4

Updated by Yuri K about 8 years ago

sorry...

--- parser_hevc.c.orig  2016-10-20 20:26:40.000000000 +0300
+++ parser_hevc.c       2016-10-30 20:53:33.995364374 +0300
@@ -1695,6 +1695,7 @@
   } else if (vps->time_scale) {
     d = 180000 * (uint64_t)vps->num_units_in_tick / (uint64_t)vps->time_scale;
   }
+    d = 1800;

   if (width && height && d)
     parser_set_stream_vparam(st, width, height, d);

#5

Updated by Jaroslav Kysela about 8 years ago

Could you save the descrambled but unmodified TS stream (pass-thru profile) ? Cca 20 seconds and attach it to this bug.

#6

Updated by Yuri K about 8 years ago

Two samples saved by wget from satip server.

#7

Updated by saen acro about 8 years ago

From Examples there is a problem with operator transcoder attributes

/first stream i see with vertical crop for interlace,
1920x540 normaly is 1450x1080 also missing aspect ratio attribute/

#8

Updated by Yuri K about 8 years ago

it's known issue and stupid provider
https://trac.ffmpeg.org/ticket/4141

#9

Updated by Jaroslav Kysela about 8 years ago

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

Applied in changeset commit:tvheadend|18b3457479a2d9c0fd719a82a68a971969b1b783.

Also available in: Atom PDF