Project

General

Profile

Actions

Bug #4932

open

tbl-pass: pass-sdt: -: invalid checksum / tbl-pass: pass-eit: -: invalid checksum

Added by Ricardo Rocha about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Category:
Streaming
Target version:
-
Start date:
2018-02-11
Due date:
% Done:

0%

Estimated time:
Found in version:
HTS Tvheadend 4.3-1049~g088be1a
Affected Versions:

Description

Don't know exactly what the problem could be... but better to describe and experts will tell.

Since advanced encode options of nvenc are yet to be implemented on tvheadend i been using or spawn profile in tvheadend or transcoding 100% outside tvheadend.

So if i run ffmpeg outside tvheadend and with more than 7-10 streams playing simultaneous pulling from tvheadend after a few seconds i start getting this messages on tvheadend:

2018-02-10 23:15:18.108 tbl-pass: pass-eit: -: invalid checksum (len 3825, errors 2)
2018-02-10 23:15:25.608 tbl-pass: pass-sdt: -: invalid checksum (len 933, errors 1)
2018-02-10 23:15:38.743 tbl-pass: pass-eit: -: invalid checksum (len 2135, errors 3)
2018-02-10 23:15:41.856 tbl-pass: pass-sdt: -: invalid checksum (len 771, errors 1)
2018-02-10 23:15:20.506 tbl-pass: pass-eit: -: invalid checksum (len 572, errors 5)
2018-02-10 23:15:26.788 tbl-pass: pass-eit: -: invalid checksum (len 1236, errors 2)
2018-02-10 23:15:37.628 tbl-pass: pass-eit: -: invalid checksum (len 2230, errors 3)
2018-02-10 23:16:06.976 tbl-pass: pass-eit: -: invalid checksum (len 543, errors 2)

note that i don't have any problem on source (satipaxe with 0 cc errors).

as soon as this messages begin on tvheadend the ffmpeg output become a mess full of macroblocks and freezing.

This is all being done in same machine and cpu doesn't even pass the 30%.

I tried exactly the same amount of streams with spawn profile and no problems with output... however tvheadend with this amount of streams begin to be unresponsive.

So in my last try i tried the same amount of streams but split between outside command line and spawn... same problem... this is the output of spawn:

2018-02-10 23:35:33.598 spawn: frame= 2014 fps= 23 q=37.0 size= 20791kB time=00:01:28.65 bitrate=1921.2kbits/s dup=0 drop=2008 speed=1.03x
2018-02-10 23:35:33.078 spawn: frame= 2002 fps= 23 q=37.0 size= 20680kB time=00:01:28.22 bitrate=1920.2kbits/s dup=0 drop=1996 speed=1.03x
2018-02-10 23:35:32.627 tbl-pass: pass-eit: -: invalid checksum (len 1004, errors 5)
2018-02-10 23:35:34.102 spawn: frame= 2026 fps= 23 q=37.0 size= 20901kB time=00:01:29.08 bitrate=1922.1kbits/s dup=0 drop=2020 speed=1.03x
2018-02-10 23:35:34.567 spawn: [mp2 0x37652c0] Header missing
2018-02-10 23:35:34.605 spawn: frame= 2038 fps= 23 q=37.0 size= 21019kB time=00:01:29.59 bitrate=1921.9kbits/s dup=0 drop=2032 speed=1.03x
2018-02-10 23:35:34.647 spawn: [mpegts
0x3757f80] PES packet size mismatch
2018-02-10 23:35:34.648 spawn: [mp2 0x37652c0] Header missing
2018-02-10 23:35:34.648 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:34.566 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:34.567 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:34.566 spawn: [mp2
0x37652c0] Header missing
2018-02-10 23:35:34.649 spawn: [mp2 0x37652c0] Header missing
2018-02-10 23:35:34.863 spawn: Last message repeated 1 times
2018-02-10 23:35:34.863 spawn: [mpegts
0x3757f80] PES packet size mismatch
2018-02-10 23:35:34.867 spawn: [mp2 0x37652c0] Header missing
2018-02-10 23:35:34.867 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:35.146 spawn: frame= 2050 fps= 23 q=37.0 size= 21121kB time=00:01:30.23 bitrate=1917.6kbits/s dup=0 drop=2040 speed=1.03x
2018-02-10 23:35:34.649 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:34.733 spawn: Past duration 0.999992 too large
2018-02-10 23:35:35.567 spawn: [mp2
0x37652c0] Header missing
2018-02-10 23:35:35.567 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:35.564 spawn: [mpegts 0x3757f80] PES packet size mismatch
2018-02-10 23:35:36.128 spawn: frame= 2073 fps= 23 q=36.0 size= 21296kB time=00:01:31.11 bitrate=1914.8kbits/s dup=0 drop=2063 speed=1.03x
2018-02-10 23:35:36.444 spawn: [mpegts
0x3757f80] PES packet size mismatch
2018-02-10 23:35:36.445 spawn: [mp2 0x37652c0] Header missing
2018-02-10 23:35:36.445 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:36.669 spawn: frame= 2085 fps= 23 q=37.0 size= 21453kB time=00:01:31.67 bitrate=1917.1kbits/s dup=0 drop=2075 speed=1.03x
2018-02-10 23:35:35.609 spawn: frame= 2061 fps= 23 q=37.0 size= 21191kB time=00:01:30.61 bitrate=1915.7kbits/s dup=0 drop=2051 speed=1.03x
2018-02-10 23:35:36.756 spawn: [mpegts
0x3757f80] PES packet size mismatch
2018-02-10 23:35:36.798 spawn: [mp2 0x37652c0] Header missing
2018-02-10 23:35:36.798 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:36.880 spawn: [mp2
0x37652c0] Header missing
2018-02-10 23:35:36.880 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:37.060 spawn: Past duration 0.749992 too large
2018-02-10 23:35:37.095 spawn: Past duration 0.999992 too large
2018-02-10 23:35:37.175 spawn: Last message repeated 1 times
2018-02-10 23:35:36.798 spawn: Last message repeated 1 times
2018-02-10 23:35:37.175 spawn: [mpegts 0x3757f80] PES packet size mismatch
2018-02-10 23:35:37.178 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:37.425 spawn: Past duration 0.999992 too large
2018-02-10 23:35:37.486 tbl-pass: pass-eit: -: invalid checksum (len 561, errors 1)
2018-02-10 23:35:37.513 spawn: Last message repeated 1 times
2018-02-10 23:35:37.513 spawn: [mpegts
0x3757f80] PES packet size mismatch
2018-02-10 23:35:37.175 spawn: frame= 2097 fps= 23 q=37.0 size= 21642kB time=00:01:32.40 bitrate=1918.6kbits/s dup=0 drop=2087 speed=1.03x
2018-02-10 23:35:37.178 spawn: [mp2 0x37652c0] Header missing
2018-02-10 23:35:37.689 spawn: [mp2
0x37652c0] Header missing
2018-02-10 23:35:37.689 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:37.694 spawn: [mp2 @ 0x37652c0] Header missing
2018-02-10 23:35:37.694 spawn: Error while decoding stream #0:1: Invalid data found when processing input
2018-02-10 23:35:38.213 spawn: frame= 2121 fps= 23 q=37.
2018-02-10 23:35:37.689 spawn: frame= 2109 fps= 23 q=37.0 size= 21762kB time=00:01:32.79 bitrate=1921.2kbits/s dup=0 drop=2097 speed=1.03x

this is exactly the same errors i also see in ffmpeg running outside.

A small apart: when i use tvheadend stream as source of ffmpeg between the play command and to start seing image it takes around 5-8secs. This is probably related with this messages:

[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] SPS unavailable in decode_picture_timing
[h264
0x4068a40] non-existing PPS 0 referenced
[h264 0x4068a40] decode_slice_header error
[h264
0x4068a40] no frame!
[h264 0x4068a40] reference picture missing during reorder
[h264
0x4068a40] Missing reference picture, default is 2147483647
[h264 0x4068a40] mmco: unref short failure
Last message repeated 1 times
[h264
0x4068a40] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 0x4068a40] reference picture missing during reorder
[h264
0x4068a40] Missing reference picture, default is 65447
[h264 0x4068a40] mmco: unref short failure
Last message repeated 3 times
[h264
0x4068a40] Increasing reorder buffer to 2

any workaround possible?

thanks


Files

spawn_profile_15_streams.PNG (63.9 KB) spawn_profile_15_streams.PNG Ricardo Rocha, 2018-02-12 18:09
spawn_profile_15_streams_2.PNG (81.3 KB) spawn_profile_15_streams_2.PNG Ricardo Rocha, 2018-02-12 18:09
Actions

Also available in: Atom PDF