Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

additional packages #150

Open
jandy123 opened this issue Jun 11, 2019 · 12 comments
Open

additional packages #150

jandy123 opened this issue Jun 11, 2019 · 12 comments

Comments

@jandy123
Copy link

jandy123 commented Jun 11, 2019

I've made a few additional packages for satip-axe. Copy them under /mnt/data/satip-axe/packages/ and reboot the box.

Packages:

  1. htop
    htop.tar.gz

  2. midnight commander
    mc.tar.gz

  3. pshare for exporting playlists over dlna; see http://xupnpd.org/pshare/ for usage
    pshare.tar.gz

Remark:
Although pshare works, I have no luck playing some services on my LG tv over dlna. I have no clue why, since another satip client (tvmosaic under android) works very well. So, I suppose there is some issue with minisatip8 streaming over http, but I'm not sure. I'd appreciate if anyone can share some light.

Due to this, I'll compile tvheadend to run on the box. From my initial experiments minisatip8 + tvheadend seems to have no issue streaming to clients over http. I'll test some more and see if this combination minisatip8 + tvheadend on the box is viable...

  1. for minisatip + WOL support + SW descrambling see minisatip8 with SW descrambling / WOL #146

  2. sat2ip satellite scanner based on octoscan.c from here: https://github.com/DigitalDevices/octonet/blob/master/octoscan/octoscan.c
    octoscan_tp.tar.gz

I modified octoscan (see above) to support inputting a satellite transponder list (download from https://kingofsat.net) and directly generating a m3u playlist. I included an ini file for Thor 0.8W in the archive. The playlist can be sorted alphabetically using the script sort_m3u.sh included in the archive.

The program can be compiled either on the box itself, or on another linux box on the same LAN. By default it uses the sh4 cross-compiler for the box; modify Makefile as needed.

Unfortunately octoscan is known to be buggy, and repeated runs lead to different results. It also required a modification (read hack) to get it to work -- a delay of about 10 seconds; see comments in the source file starting with "//LUK". The whole stuff is very, very slow, thus. If anyone could help, please do so and let us all know. Additional filtering and customization can be done in function skip_service().

Please do not expect much, since it's just another quick hack...

@jandy123
Copy link
Author

Ok, tvheadend is no go. It's too heavy on the box.

So, at this stage I'm stuck using misatip8 to stream over http. This just doesn't work reliably... Any idea ?

@9000h
Copy link

9000h commented Jun 11, 2019

Hi.

I'm also experimenting with a satip sattelite scanner. <

why not uploading the code on github
CU
9000h

@jandy123
Copy link
Author

The sources of the scanner are not yet in a stage in which they could be shared ;). And, the scanner is not of much use, provided that minisatip http streaming is not working correctly...

@perexg: Any clue what can go wrong with http streaming ?

@perexg
Copy link
Owner

perexg commented Jun 12, 2019

@jandy123 : Do you use my version of minisatip8 or your own? Does VLC work with the HTTP URLs?

@jandy123
Copy link
Author

jandy123 commented Jun 12, 2019

@perexg: I use minisatip8 with SW descrambling (the one from #146). The situation is this (btw. I also posted the stuff below on the minisatip forum.). Thanks for reply, btw. !

I have problems streaming over http using m3u playlists from minisatip, directly to IPTV and DLNA clients. This only happens with some services, while others do work. Btw., decryption is done on the box using minisatip compiled with oscam support. I know that the pids are correct since I can play the problematic services using other satip clients (tvheadend, tvmosaic live android app, etc.). Again, this only happens on certain channels (even on the same transponder on Thor 0.8W).

I should also add that this happens in VLC player and using any IPTV app on my LG TV. Playing problematic services does work using ffplay and mplayer, after some fairly large delay. Also strange enough, if I start playing a service using ffplay and then try VLC, I can play the problematic channels on my TV and using VLC.

Any idea what can be the problem ? I would really like to be able to directly play from digibit box to "smart TVs" and clients based on VLC.

I can provide logs, exact commands, example services etc.

Thanks in advance !

@jandy123
Copy link
Author

I attached a capture of a problematic channel using:

wget "http://192.168.2.134:8080/?freq=11996&src=1&pol=v&msys=dvbs&sr=28000&fec=78&pids=0,151,163,150"

This plays fine using ffplay, but not with vlc: lots of errors with vlc, ffplay works fine.

@perexg: What can this be ???

sample.mp2ts.gz

@jandy123
Copy link
Author

jandy123 commented Jun 13, 2019

Turns out my issue is (related ???) to this: catalinii/minisatip#437.

After setting opts.pmt_scan = 0, problematic channels play via http, at least with vlc. Will try on IPTV clients and report here.

Pity that people are unwilling to help. For sure some are aware about this issue...

Anyhow, I'll continue updating this post, maybe others find it useful.

I wonder what the implications of setting opts.pmt_scan = 0. (I do not even dare to ask, since most likely I won't get any reply... pity. I'm just trying to help here, although I'm a complete newbie in all this stuff.)

@jandy123
Copy link
Author

Good news ! IPTV clients also work (including my LG TV). And so far I haven't seen any downside of this modification...

Will work now on the satip satellite scanner. Will post here when I have something reasonable.

@perexg
Copy link
Owner

perexg commented Jun 14, 2019

I wonder what the implications of setting opts.pmt_scan = 0. (I do not even dare to ask, since most likely I won't get any reply... pity. I'm just trying to help here, although I'm a complete newbie in all this stuff.)

The problem is that minisatip allocates the PMT PIDs for the scan purposes when this option is turned on. Minisatip does not handle properly the limit of PIDs available in the hardware filter when the scan is active, so the new PIDs for clients are just not subscribed, so the result MPEG-TS stream is filtered (and you can get no-video/no-audio or both).

@perexg
Copy link
Owner

perexg commented Jun 14, 2019

And I already asked @catalinii to not enable this by default or the code should be fixed (client PID allocations should have the preference).

@jandy123
Copy link
Author

jandy123 commented Jun 14, 2019

@perexg: Ok, I understand. But is it safe to use pmt_scan = 0 ? As far as I can tell, all other clients still work, but maybe the zapping time is somewhat larger.

Can we fix this in minisatip ? Do you know what the HW limit is for our box ?

On the other hand, satip clients and ffplay did work without pmt_scan = 0. So I think it's more that the players may have limitations in the number of PIDs they can handle and/or they can get easily confused.

Btw., thanks for the reply.

@jandy123
Copy link
Author

@9000h: I edited the first post and included the satip scanner. Please modify/upload it to github, etc. as you wish...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants