Bug 197835 - DVB-S discontinuity, PES packet size mismatch, stream corruption
Summary: DVB-S discontinuity, PES packet size mismatch, stream corruption
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-10 10:06 UTC by a1bert
Modified: 2017-11-10 10:06 UTC (History)
0 users

See Also:
Kernel Version: >=4.9
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description a1bert 2017-11-10 10:06:14 UTC
affected kernels: >=4.9

affected architecture: ALL? (confirmed: arm(rpi3), x86)

symptoms: 

after upgrade from pre 4.9x kernels to 4.9 and above (4.13.12 affected too) I am experiencing corruption (green artifacts) of DVB-S FullHD streams captured by USB of PCIe DVB-S cards (confirmed on DVBSky S950,  DVBSky s960 DVB-S2):


[ffmpeg/demuxer] mpegts: PES packet size mismatch
AV: 00:07:22 A-V:  0.000 Cache: 10s+1MB
[ffmpeg/demuxer] mpegts: PES packet size mismatch
AV: 00:07:22 A-V:  0.000 Cache: 10s+1MB
[ffmpeg/demuxer] mpegts: PES packet size mismatch
AV: 00:07:22 A-V:  0.000 Cache:  9s+1MB
[ffmpeg/demuxer] mpegts: PES packet size mismatch
[ffmpeg/demuxer] mpegts: PES packet size mismatch
AV: 00:07:22 A-V:  0.000 Cache: 10s+1MB
[ffmpeg/demuxer] mpegts: PES packet size mismatch
AV: 00:07:22 A-V:  0.000 Cache: 10s+1MB
[ffmpeg/demuxer] mpegts: PES packet size mismatch
AV: 00:07:22 A-V:  0.000 Cache: 10s+1MB
[ffmpeg/demuxer] mpegts: PES packet size mismatch
AV: 00:07:22 A-V:  0.000 Cache: 10s+1MB
[ffmpeg/demuxer] mpegts: PES packet size mismatch
AV: 00:07:23 A-V:  0.000 Cache:  9s+1MB
[ffmpeg/demuxer] mpegts: PES packet size mismatch

after stopping stream capture/replay for serveral seconds it recovers (but if the the interruption is short ie 1 sec it does not recover)

SD (low bitrate?) streams not affected (or I did not wait enough?)

Not sure if it's DVB stack problem since it looks like it's  I/O ((disc) dependent: the problem manifests after tens of minutes when just displaying DVB stream (cca 90mins) but with heavy disc I/O in serveral minutes (< 10mins)

LibreElec folks affected by the same issue: 

https://forum.libreelec.tv/thread/4235-dvb-issue-since-le-switched-to-kernel-4-9-x/?pageNo=1

Note You need to log in before you can comment on or make changes to this bug.