Project

General

Profile

Bug #1875

Using the new dvb core some channels will interfere with each other.

Added by danny skjodt almost 11 years ago. Updated almost 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
IPTV
Target version:
-
Start date:
2013-12-18
Due date:
% Done:

100%

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

Description

Like topic says, there is a few ive noticed won't mix together, from Sky CBS Reality and DMAX for example will do the same, and you can easily see that the channels are mixed together when you watch the stream.
At first I thought only http input were affected, but now I just noted udp is aswell.

2013-12-18 05:49:54.328 mpegts: udp://233.0.0.2:5501 - tuning on IPTV

2013-12-18 05:49:54.329 subscription: "HTTP" subscribing on "DR1 HD", weight: 100, adapter: "IPTV", network: "IPTV Network", mux: "udp://233.0.0.2:5501", provider: "DR", service: "DR1 HD"

2013-12-18 05:50:04.081 mpegts: udp://233.0.0.1:5501 - tuning on IPTV

2013-12-18 05:50:04.081 subscription: "HTTP" subscribing on "DR1", weight: 100, adapter: "IPTV", network: "IPTV Network", mux: "udp://233.0.0.1:5501", provider: "Telenor", service: "DR1"

2013-12-18 05:50:04.094 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error

2013-12-18 05:50:04.094 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error

2013-12-18 05:50:05.003 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error, 364 duplicate log lines suppressed

2013-12-18 05:50:05.003 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error, 364 duplicate log lines suppressed

2013-12-18 05:50:06.002 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error, 802 duplicate log lines suppressed

2013-12-18 05:50:06.002 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error, 802 duplicate log lines suppressed

2013-12-18 05:50:07.003 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error, 1443 duplicate log lines suppressed

2013-12-18 05:50:07.003 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error, 1443 duplicate log lines suppressed

2013-12-18 05:50:08.002 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error, 2109 duplicate log lines suppressed

2013-12-18 05:50:08.002 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error, 2109 duplicate log lines suppressed

2013-12-18 05:50:09.003 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error, 2700 duplicate log lines suppressed

2013-12-18 05:50:09.003 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error, 2700 duplicate log lines suppressed

2013-12-18 05:50:10.005 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error, 3220 duplicate log lines suppressed

2013-12-18 05:50:10.005 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error, 3220 duplicate log lines suppressed

2013-12-18 05:50:11.004 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error, 3743 duplicate log lines suppressed

2013-12-18 05:50:11.004 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error, 3743 duplicate log lines suppressed

2013-12-18 05:50:12.004 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error, 4234 duplicate log lines suppressed

2013-12-18 05:50:12.005 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error, 4234 duplicate log lines suppressed

2013-12-18 05:50:13.004 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error, 4841 duplicate log lines suppressed

2013-12-18 05:50:13.004 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error, 4841 duplicate log lines suppressed

2013-12-18 05:50:14.005 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error, 5470 duplicate log lines suppressed

2013-12-18 05:50:14.005 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error, 5470 duplicate log lines suppressed

2013-12-18 05:50:15.003 TS: udp://233.0.0.1:5501/DR1: MPEG2VIDEO @ #111: Continuity counter error, 6078 duplicate log lines suppressed

2013-12-18 05:50:15.003 TS: udp://233.0.0.2:5501/DR1 HD: H264 @ #111: Continuity counter error, 6078 duplicate log lines suppressed

2013-12-18 05:50:15.623 pass: Live stream: Write failed -- Kanalen blev brudt

2013-12-18 05:50:15.623 webui: Stop streaming /stream/channelid/255710423?mux=pass&DR1, muxer reported errors

2013-12-18 05:50:15.623 subscription: "HTTP" unsubscribing from "DR1"

2013-12-18 05:50:23.908 pass: Live stream: Write failed -- Kanalen blev brudt

2013-12-18 05:50:23.908 webui: Stop streaming /stream/channelid/1689946489?mux=pass&DR1HD, muxer reported errors

2013-12-18 05:50:23.908 subscription: "HTTP" unsubscribing from "DR1 HD"


Files

CBS_Reality.ts (30.1 MB) CBS_Reality.ts sample ts file danny skjodt, 2014-01-02 06:58
DMAX.ts (30 MB) DMAX.ts sample ts file danny skjodt, 2014-01-02 06:59

History

#1

Updated by Adam Sutton almost 11 years ago

  • Status changed from New to Need feedback

Can I just clarify, if you play each stream on its own all is fine? and when you play together they become mixed up?

Are you playing for HTSP/HTTP?

Adam

#2

Updated by danny skjodt almost 11 years ago

Yes on its own streams is fine, you can see at 05:50:15 im stopping one of the clients and let the other run for 8 seconds more and then its fine.

Im playing for http, but I just tested 2 htsp clients one on each channel, and that gives the same mixed up result.

#3

Updated by Adam Sutton almost 11 years ago

I'm struggling to set something up that will allow me to adequately test this. So far I've not managed to reproduce it. However I'm currently using HTTP input (since my test app to stream to UDP is not having much luck).

That being said the difference between these when it comes to processing the data is nearly ZERO.

Adam

#4

Updated by danny skjodt almost 11 years ago

Adam Sutton wrote:

I'm struggling to set something up that will allow me to adequately test this. So far I've not managed to reproduce it. However I'm currently using HTTP input (since my test app to stream to UDP is not having much luck).

That being said the difference between these when it comes to processing the data is nearly ZERO.

Adam

To reproduce this I either just have to direct input those 2 udp channels i mentioned in the first post from my isp, or http input DMAX and CBS Reality from another tvheadend running a dual dvb-s adapter.

#5

Updated by danny skjodt almost 11 years ago

I would really like to see this get fixed, so I made 2 sample files, tsplay DMAX.ts 239.0.0.1:5501 and tsplay CBS_Reality.ts 239.0.0.2:5501 then add both channels as udp, start doing some watching or recording on both channels at once, and something wierd happends :)

#6

Updated by danny skjodt almost 11 years ago

CBS Reality >
Program list:
Program 1 -> PID 0123 (291)
Packet 940 starts PMT with PID 0123
Program 1, version 0, PCR PID 0915 (2325)
Program streams:
PID 0915 (2325) -> Stream type 02 ( 2) H.262/13818-2 video (MPEG-2) or 11172-2 constrained video
PID 0916 (2326) -> Stream type 04 ( 4) 13818-3 audio (MPEG-2)
ES info (6 bytes): 0a 04 65 6e 67 00
Languages: eng

DMAX >
Program list:
Program 1 -> PID 010b (267)
Packet 675 starts PMT with PID 010b
Program 1, version 0, PCR PID 0916 (2326)
Program streams:
PID 0916 (2326) -> Stream type 02 ( 2) H.262/13818-2 video (MPEG-2) or 11172-2 constrained video
PID 0917 (2327) -> Stream type 04 ( 4) 13818-3 audio (MPEG-2)
ES info (6 bytes): 0a 04 65 6e 67 00
Languages: eng

[WARNING] TS: udp://239.0.0.1:5501: MPEG2AUDIO #2326: Continuity counter error, 1715 duplicate log lines suppressed
[WARNING] TS: udp://239.0.0.2:5501: MPEG2VIDEO
#2326: Continuity counter error, 1883 duplicate log lines suppressed
[WARNING] TS: udp://239.0.0.1:5501: MPEG2AUDIO #2326: Continuity counter error, 1883 duplicate log lines suppressed
[WARNING] TS: udp://239.0.0.2:5501: MPEG2VIDEO
#2326: Continuity counter error, 2051 duplicate log lines suppressed
[WARNING] TS: udp://239.0.0.1:5501: MPEG2AUDIO #2326: Continuity counter error, 2051 duplicate log lines suppressed
[WARNING] TS: udp://239.0.0.2:5501: MPEG2VIDEO
#2326: Continuity counter error, 2224 duplicate log lines suppressed
[WARNING] TS: udp://239.0.0.1:5501: MPEG2AUDIO @ #2326: Continuity counter error, 2224 duplicate log lines suppressed

Looks like because 2 pid's is the same, they get mixed up :)

#7

Updated by Adam Sutton almost 11 years ago

Interesting. It still shouldn't happen (obviously), but maybe I've muddled something up somewhere!

Adam

#8

Updated by Adam Sutton almost 11 years ago

  • Status changed from Need feedback to Accepted

Yeah I was able to replicate on my laptop. Had to use my own generator though rather than tsplay, but that's my problem :)

I'll see if I can figure out what the hell is going on!

Adam

#9

Updated by Adam Sutton almost 11 years ago

Ah, I think I see it! Yes complete confusion due to the generic MPEGTS code not handling multiple muxes on the same input (tuner) properly.

Adam

#10

Updated by Adam Sutton almost 11 years ago

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

Applied in changeset tvheadend|commit:238636fae5dfc276369c336ac5a998471aaa6ee5.

#11

Updated by danny skjodt almost 11 years ago

You rock dude, it works perfectly :)

#12

Updated by danny skjodt almost 11 years ago

Forgot to add THANKS.

Also available in: Atom PDF