PDA

View Full Version : Strange Streaming behaviour



bazzanz
18-07-22, 03:50
Hey guys,

Gigablue quad 4k here.
I have enabled only tuner A for testing.

I can stream multiple channels using VLC and on the sat directly on a TV.
Problem I have is if I use my smart TV with streaming apps like SmartOne IPTV to stream, its only working for channels on the same transponder.
If I use VLC I get them all. Before moving to OpenVix I used TeamBlue and it worked, though I changed to OpenVix for other reasons.

I am using OSCam, but dont believe this to be the issue as I can stream multiple channels using VLC just fine
When I stream on the TV Apps it starts buffering then streams a black screen
I know the original packet goes through OSCam as I can see it and I know the TV can do just fine on all the channels in the same transponder, just cant change for some reason.

One thing I did notice is in OSCam, I always see a cache hit even though there has been nothing happening for a while., this cache hit doesnt happen when I use VLC though

2022/07/18 14:51:21 XXX c (ecm) dvbapi (096A@000000/02BF/048A/65:XYZ): cache2 (1 ms) by transcoder-box
2022/07/18 14:51:27 XXX c (ecm) dvbapi (096A@000000/02BF/048A/65:XYZ): found (176 ms) by transcoder-box

Huevos
18-07-22, 08:20
If you only have tuner A enabled how do you think you would be able to stream from multiple transponders?

bazzanz
18-07-22, 21:58
If you only have tuner A enabled how do you think you would be able to stream from multiple transponders?

The tuner is a FBC. Also as mentioned, I can stream using VLC and get multiple transponders; its only when I use TV apps to try stream channels.

Just posting to see if anyone can think of a reason why a single transponder would be locked in for this specific scenario

Huevos
19-07-22, 07:37
Whether it is FBC or not it is one tuner.

bazzanz
19-07-22, 07:58
Whether it is FBC or not it is one tuner.

Ok, lets try this again.
I have Tuner A,C,D,E,F,G,H enabled.

I can stream multiple transponders and channels with no issue with VLC.
When I use an IPTV application on my TV, the behaviour is slightly different where it can only stream on a single transponder.

When I was using TeamBlue image, I had no issue with all the channels.
I moved to OpenVix to troubleshoot a fault I had; but it ended up being a CCcam issue and I moved to OScam which fixed it.

Huevos
19-07-22, 08:09
So how would your app on the TV know it is one transponder?

All a stream is, is an http request to the receiver. If it works for VLC the receiver is working correctly.

bazzanz
20-07-22, 11:23
So I enabled debug and got the following data

Failed stream - https://pastebin.com/4eHqZGbs
Good stream with different client (VLC) same channel- https://pastebin.com/pX2FPpqq

Can anyone see anything from the logs in https://pastebin.com/4eHqZGbs giving reason why its failing?

bazzanz
20-07-22, 12:02
Seems to be any time there is a channel stream and there is PIDs found and added, then its like it gets forwarded to a different set of PIDs
this causes the streams to fail?

It's like a link or something that the client is failing to follow?


23:00:38.4570 [eDVBDemux] open demux /dev/dvb/adapter0/demux0
23:00:38.4571 [eDVBSectionReader] DMX_SET_FILTER pid=18
23:00:38.4576 [eDVBChannel] getDemux cap=00
23:00:38.4579 [eDVBRecordStreamThread] allocated 40 buffers of 188 kB
23:00:38.4579 [eDVBServiceStream] start streaming...
23:00:38.4579 [eDVBServiceStream] no cached pids found
23:00:38.4580 [eDVBServiceStream] have 1 video stream(s) (03eb), and 1 audio stream(s) (044f), and the pcr pid is 03eb, and the text pid is 076f
23:00:38.4580 [eDVBServiceStream] ADD PID: 0000
23:00:38.4580 [eDVBServiceStream] ADD PID: 0012
23:00:38.4580 [eDVBServiceStream] ADD PID: 0014
23:00:38.4580 [eDVBServiceStream] ADD PID: 03eb
23:00:38.4581 [eDVBServiceStream] ADD PID: 044f
23:00:38.4581 [eDVBServiceStream] ADD PID: 076f
23:00:38.4590 [setIoPrio] realtime level 7 ok
23:00:38.4590 [eFilePushThreadRecorder] THREAD START
23:00:38.4944 [eDVBServicePMTHandler] PATready
23:00:38.4945 [eDVBServicePMTHandler] use pmtpid 012f for service_id 048a
23:00:38.4945 [eDVBDemux] open demux /dev/dvb/adapter0/demux0
23:00:38.4946 [eDVBSectionReader] DMX_SET_FILTER pid=303
23:00:38.4953 [eDVBDemux] open demux /dev/dvb/adapter0/demux0
23:00:38.4955 [eDVBSectionReader] DMX_SET_FILTER pid=0
23:00:38.4965 [eDVBServiceStream] STREAM service event 5
23:00:38.4966 [eDVBServiceStream] start streaming...
23:00:38.4966 [eDVBServiceStream] no cached pids found
23:00:38.4972 [eDVBServiceStream] have 1 video stream(s) (03eb), and 3 audio stream(s) (044f, 0459, 0481) (076f), and the pcr pid is 03eb, and the text pid is 076f
23:00:38.4973 [eDVBServiceStream] ADD PID: 012f
23:00:38.4974 [eDVBServiceStream] ADD PID: 0459
23:00:38.4975 [eDVBServiceStream] ADD PID: 0481
23:00:38.4976 [CI] recheckPMTHAndlers()
23:00:38.4976 [CI] recheck 0xc6bedc 1:0:19:48A:7:A9:6400000:0:0:0:
23:00:38.4976 [CI] check Slot 0
23:00:38.4976 [CI] check Slot 1
23:00:38.4977 [CI] recheck 0xc64664 1:0:19:48A:7:A9:6400000:0:0:0:
23:00:38.4977 [CI] check Slot 0
23:00:38.4977 [CI] check Slot 1

twol
20-07-22, 12:51
Seems to be any time there is a channel stream and there is PIDs found and added, then its like it gets forwarded to a different set of PIDs
this causes the streams to fail?

It's like a link or something that the client is failing to follow?

Its just adding the audio streams, video and subtitle stays as is.

bazzanz
23-07-22, 08:26
Still cant get it to work :/
Tried using SmartOne IPTV (https://smartone-iptv.com) and Smart IPTV (https://siptv.app/news/).
Cant stream all channels, when I used to be able to using TeamBlue.
I can stream them if transcoding, but dont think the box will like transcoding 4-6 channels

Weirdest thing is, I tried rolling back to TeamBlue (as I have multi boot) but now its not working on TeamBlue either.
Works just fine in VLC.

Huevos
23-07-22, 11:44
That it doesn't work on Teamblue either just proves it is not the image at fault. Obviously the problem is with the apps.

bazzanz
23-07-22, 12:25
it DID work, so I know the player can hold it.
I can watch Spy Sports 1 but not 2-4.
codec is the same, for all.
Works if I transcode it

Huevos
23-07-22, 13:47
So probably can't handle the data bandwidth.

bazzanz
23-07-22, 22:06
So probably can't handle the data bandwidth.

That wouldn't make sense as even SD quality streams wont work:

Sky 5 - 12608 Mhz H 22500 2/3 8PSK 169-2 (H264 y420)
Sky Box Sets - 12267 MHZ H 22500 2/3 8PSK 169-9 (H264 y420)
MTV Hits - 12421 MHZ H 22500 3/4 8PSK 169-14 (H264 y420)
Sky Movies Action - 12295 MHZ H 22500 3/4 8PSK 169-10 (H264 y420)
Sky Sports 1 - 12331 MHZ H 22500 2/3 8PSK 169-7 (H264 y420)
Sky Sports 6

Doesnt work
Sky Sport 2 - 12331 Mhz H 22500 2/3 8PSK 169-7 (H264 y420)
Sky Sport 3 - 12267 Mhz H 22500 2/3 8PSK 169-9 (H264 y420)
Jones! - 12608 Mhz H 22500 2/3 8PSK 169-2 (SD Channel with lower resolution) (H264 y420)

The channels that dont work actually buffer, then stream a blank nothingness, no audio no picture, just a black screen which eventually gets stopped by enigma.

Here is the debug when running through the last few channels including Jones! SD, using VLC


2022-07-24 09:04:48.819 VLC[53538:7416909] Can't find app with identifier com.apple.iTunes
[00007f7873ffe980] videotoolbox decoder: Using Video Toolbox to decode 'h264'
[00007f7893f0a8b0] main audio output error: too low audio sample frequency (0)
[00007f7873fff140] main decoder error: failed to create audio output
[00007f7893f0a8b0] main audio output error: module not functional
[00007f7873fff140] main decoder error: failed to create audio output
[00007f7873ffe980] videotoolbox decoder: Using Video Toolbox to decode 'h264'
[00007f7873ffe980] videotoolbox decoder: vt cvpx chroma: y420
2022-07-24 09:04:58.852 VLC[53538:7416909] Can't find app with identifier com.apple.iTunes
[00007f7863f21950] videotoolbox decoder: Using Video Toolbox to decode 'h264'
[00007f7893f0a8b0] main audio output error: too low audio sample frequency (0)
[00007f7863f22470] main decoder error: failed to create audio output
[00007f7893f0a8b0] main audio output error: module not functional
[00007f7863f22470] main decoder error: failed to create audio output
[00007f7863f21950] main decoder error: buffer deadlock prevented
2022-07-24 09:05:00.089 VLC[53538:7416909] Can't find app with identifier com.apple.iTunes
[00007f7863f21950] videotoolbox decoder: Using Video Toolbox to decode 'h264'
[00007f7863f21950] videotoolbox decoder: vt cvpx chroma: y420
2022-07-24 09:05:00.468 VLC[53538:7416909] Can't find app with identifier com.apple.iTunes
2022-07-24 09:05:22.378 VLC[53538:7416909] Can't find app with identifier com.apple.iTunes
[00007f787402f270] videotoolbox decoder: Using Video Toolbox to decode 'h264'
[00007f787402f270] videotoolbox decoder: Using Video Toolbox to decode 'h264'
[00007f787402f270] videotoolbox decoder: vt cvpx chroma: y420
[00007f787402f270] main decoder error: buffer deadlock prevented

JonMMM
24-07-22, 08:37
All channels mentioned seem to be pay channels, try with FTA channels and see if you have the same issue

bazzanz
24-07-22, 23:19
All channels mentioned seem to be pay channels, try with FTA channels and see if you have the same issue

Yes same thing, some channels work others show buffering 25%..59%..100% then stream a black screen.

I have gone a step further and unboxed a new gigablue with TeamBlue and gone through the install with CCcam and was able to stream all channels to the TV just fine with the smart apps on TV.
The issue I ran into with CCcam is once you got over 2 clients it did. some strange things like cause another client to buffer for a few seconds while the third client connected.
This is known behaviour with CCcam from what ive read when you have more than 2 clients its best to use OSCam.

I then downloaded latest OpenVix zip and flashed to slot 2 on the GB.
Installed OSCam.
I can do full quad PIP of 4 channels and stream using VLC of all channels.
But when I use the smart apps on tv Smart IP TV or SmartOne IPTV, I can only stream the same channels I could before, just a selection. of them.

I disabled OSCam and installed CCcam so the setup was similar to the TeamBlue config, but again I'm limited to what channels I can stream.
I enabled quad PIP and saw the limitations of CCcam having issues with more than 2 streams it would glitch channels.

So there must be some different behaviour in the way OpenVix opens the stream vs TeamBlue.
Be it some timer, or the way it reads PID's and adds them to the stream or something?

twol
25-07-22, 09:39
@bazzanz
Teamblue is basically OpenPli code with extras and built on the OE-A.
OpenViX C++ code (used for the tuner handling) is very similar to OpenPli. OpenViX is python 3 based, whereas OpenPli/Teamblue are python2

So I have a gbue4K that I can setup with a LG (WEBOS) TV.
Can I use this to test your issue?
If so, how would I do this, in the simplest way to test your issue? without having to pay for either of the 2 apps.

bazzanz
25-07-22, 09:54
@twol
I'll PM you, but both https://smartone-iptv.com and https://siptv.app/howto/ can be downloaded and tested free for 14 days, after which is something like 5 pounds or dollars.

I'll send you my playlist to try out if you wish

twol
25-07-22, 12:39
@twol
I'll PM you, but both https://smartone-iptv.com and https://siptv.app/howto/ can be downloaded and tested free for 14 days, after which is something like 5 pounds or dollars.

I'll send you my playlist to try out if you wish
So your pm box is full.
running 4 x 28.2E in pip, 1 x 28.2E streamed to E 2 receiver, 1 x 28.2E on LG TV no issues.
all services different transponders, different services

twol
25-07-22, 12:44
To be clear.
gbue4k for 28.2E is uisng fbc tuner into unicable switch and quad lnb.(unicable lnb would be same, but for historic reasons setup is as is)

bazzanz
25-07-22, 20:57
So your pm box is full.
running 4 x 28.2E in pip, 1 x 28.2E streamed to E 2 receiver, 1 x 28.2E on LG TV no issues.
all services different transponders, different services

Sorry was not aware of 10 message limit, now cleared.

So you were able to scroll through all channels on the Streaming app on your TV no issue?

twol
25-07-22, 21:25
Sorry was not aware of 10 message limit, now cleared.

So you were able to scroll through all channels on the Streaming app on your TV no issue?

As far as I could tell on the available services on 28.2E (I have a big dish but some are not available) everything was OK, both SD & HD…… but all free, none encrypted

bazzanz
26-07-22, 07:55
As far as I could tell on the available services on 28.2E (I have a big dish but some are not available) everything was OK, both SD & HD…… but all free, none encrypted

Do you think the issue may be the way OpenVix handles the encryption, i.e. the way it starts the stream to the client, then only starts the decryption or something?
A different way to the way TeamBlue does it ?

Huevos
26-07-22, 09:23
Do you think the issue may be the way OpenVix handles the encryption, i.e. the way it starts the stream to the client, then only starts the decryption or something?
A different way to the way TeamBlue does it ?As stated above OpenViX and Teamblue are built from the same core so there is going to be no difference between CCcam/OScam. Also you already stated that the problem does affect Teamblue. And you also already said the problem does not affect VLC, so ViX does not have a "decryption" problem, so looks like an "or something" problem.

You said this:

Problem I have is if I use my smart TV with streaming apps like SmartOne IPTV to stream, its only working for channels on the same transponder.

Please do the same test on FTA channels.

bazzanz
26-07-22, 11:33
You said this:

Please do the same test on FTA channels.

Sorry I was mistaken about the transponder, and I later referenced the frequencies that work and dont work, they are from different transponders.
I will test FTA again tomorrow, but last time I tested it affected these too.

It worked on TeamBlue, I flashed OpenVix to slot 2, then the problem started, even if I rolled back to slot 1 (TeamBlue) on the giga
So I unboxed another Giga which I happened to have and followed the same procedure, worked on team blue, flashed Vix to slot 2, problem started again and if I went back to slot 1, team blue never worked again.

Will report back tomorrow on the FTA channels again

Huevos
26-07-22, 14:42
When a receiver is booted into slot 1 it does not any code from slot 2 and vice versa.

bazzanz
26-07-22, 23:05
Ok, so with FTA Only on OpenVix 6.2.008

Bravo - Buffers, then Image loads but no stream of audio or video but works fine on VLC
Parliament TV - good
Te Reo - Good
ThreePlus1 - Buffers, then Image loads but no stream of audio or video but works fine on VLC
Shine TV - Good
HGTV - Good
Firstlight - Good
Eden - Good
Hope Channel - Good
Rush - Good
Whakaata Maori - Good
TVNZ 1 - Good
TVNZ 2 - Good
Three - Good
TVNZ 1 + 1 - Good
TVNZ 2 + 1 - Good
TVNZ Duke - Good
TVNZ 1 - Good

Now FTA channels on Sky (for the HD Version) so using OSCam
TVNZ 1 - Good
TVNZ 2 - Buffers then shows black screen
Three - Good

Now SKY Channels
Sky Sport 1 - Good
Sky Sport 2 - Buffer then black screen
Sky Sport 3 - Buffer then black screen
Sky Sport 4 - Buffer then black screen
Sky Sport 5 - Buffer then black screen


Then with GigaBlue

Bravo - Buffers, then Image loads but no stream of audio or video but works fine on VLC
Parliament TV - good
Te Reo - Good
ThreePlus1 - Buffers, then Image loads but no stream of audio or video but works fine on VLC
Shine TV - Good
HGTV - Good
Firstlight - Good
Eden - Good
Hope Channel - Good
Rush - Good
Whakaata Maori - Good
TVNZ 1 - Good
TVNZ 2 - Good
Three - Good
TVNZ 1 + 1 - Good
TVNZ 2 + 1 - Good
TVNZ Duke - Good
TVNZ 1 - Good

Now FTA channels on Sky (for the HD Version)
TVNZ 1 - Good
TVNZ 2 - Good
Three - Good

Now SKY Channels
Sky Sport 1 - Good
Sky Sport 2 - Good
Sky Sport 3 - Good
Sky Sport 4 - Good
Sky Sport 5 - Good

Rebooted back to OpenVix and different result:
Now SKY Channels
Sky Sport 1 - Good
Sky Sport 2 - Good
Sky Sport 3 - Good
Sky Sport 4 - Buffer then black screen
Sky Sport 5 - Good

I really dont get why OpenVix behaves differently between reboots

twol
27-07-22, 08:52
Ok, so with FTA Only on OpenVix 6.2.008

Bravo - Buffers, then Image loads but no stream of audio or video but works fine on VLC
Parliament TV - good
Te Reo - Good
ThreePlus1 - Buffers, then Image loads but no stream of audio or video but works fine on VLC
Shine TV - Good
HGTV - Good
Firstlight - Good
Eden - Good
Hope Channel - Good
Rush - Good
Whakaata Maori - Good
TVNZ 1 - Good
TVNZ 2 - Good
Three - Good
TVNZ 1 + 1 - Good
TVNZ 2 + 1 - Good
TVNZ Duke - Good
TVNZ 1 - Good

Now FTA channels on Sky (for the HD Version) so using OSCam
TVNZ 1 - Good
TVNZ 2 - Buffers then shows black screen
Three - Good

Now SKY Channels
Sky Sport 1 - Good
Sky Sport 2 - Buffer then black screen
Sky Sport 3 - Buffer then black screen
Sky Sport 4 - Buffer then black screen
Sky Sport 5 - Buffer then black screen


Then with GigaBlue

Bravo - Buffers, then Image loads but no stream of audio or video but works fine on VLC
Parliament TV - good
Te Reo - Good
ThreePlus1 - Buffers, then Image loads but no stream of audio or video but works fine on VLC
Shine TV - Good
HGTV - Good
Firstlight - Good
Eden - Good
Hope Channel - Good
Rush - Good
Whakaata Maori - Good
TVNZ 1 - Good
TVNZ 2 - Good
Three - Good
TVNZ 1 + 1 - Good
TVNZ 2 + 1 - Good
TVNZ Duke - Good
TVNZ 1 - Good

Now FTA channels on Sky (for the HD Version)
TVNZ 1 - Good
TVNZ 2 - Good
Three - Good

Now SKY Channels
Sky Sport 1 - Good
Sky Sport 2 - Good
Sky Sport 3 - Good
Sky Sport 4 - Good
Sky Sport 5 - Good

Rebooted back to OpenVix and different result:
Now SKY Channels
Sky Sport 1 - Good
Sky Sport 2 - Good
Sky Sport 3 - Good
Sky Sport 4 - Buffer then black screen
Sky Sport 5 - Good

I really dont get why OpenVix behaves differently between reboots

by the way all my tests (which worked fine) were with smartiptv, if I get time and can set up will try the other one.