rempfer
Registered:1287496390 Posts: 1,649
Posted 1768566734
Reply with quote
#31
It does not look like it would be an easy thing to use Sichbo in North America. The program intentionally "excludes" satellites in this hemisphere. Here's the entirety of an email conversation with the author of Sichbo:Quote:
Hi Dick, many thanks for reaching out.
There's basically no good (legal) consumer-ready FTA satellites in North America so the default frequency hints file only has entries for Europe where there are decent free-to-air options. You're welcome to edit the C:\ProgramData\SichboPVR4\frequency-hints.json file in Notepad to add frequencies for missing birds. Look for the Satellite array to add a new entry:
You'll notice all of the satellites are defined with a single "home" transponder frequency as sichbopvr pulls everything else in from the Network Information Table.
If your satellites don't broadcast NIT, you'll need to add a new Range entry for each frequency eg:
{ "Name": "Dick's Sat",
"Ranges": [
{"TuneRequest": "dvbs2 11000 V 29.95 8PSK 3/4"},
{"TuneRequest": "dvbs2 12000 H 29.95 8PSK 3/4"},
etc
] }
You can leave "NetworkName" and "Modified" undefined. If SichboPVR stumbles on a NIT with other satellite info it'll add it to the hints with correct network info automatically.
Note that .json notation is very particular about syntax, so adding a trailing comma or something where it shouldn't be will result in the file not loading. If you have trouble getting edits to load after a few attempts feel free to send it through and I can take a look.
Warm regards,
Simon, I live in Western USA. No option with SichboPVR to add satellites for my region? Your DVB program looks really nice, but it so locked down I can't figure out how to set up my own satellites. I can see 55W to 139W. Would be glad to become a supporter if I could set Sichbo up for my region. Thank you, Dick Rempfer Elma WA USA
rempfer
Registered:1287496390 Posts: 1,649
Posted 1768567421
Reply with quote
#32
To add satellites to the Sichbo app's database looks like it would be tedious at best, given there's no GUI interface to do that. Here's the .json file you'd have to manually add satellites to AKA the content of the "image.png" that didn't come through on the Sichbo author's message earlier:
diyjeb
Registered:1508811305 Posts: 13
Posted 1768571477
Reply with quote
#33
OH, OK... bit of a surprise since his software did support NA before, but now we know... I'll take a look at the .json file when I get some time and see if I feel confident in making changes to get it working for us.
rempfer
Registered:1287496390 Posts: 1,649
Posted 1768656830
Reply with quote
#34
Quote:
Originally Posted by bluzee Looking good. Yes. I modified this app to better support North American satellites. That was many years ago and I may have forgotten some things but I believe if you enter 4 digits for the freq it automatically assumes LO 5150 and if you enter 5 digits for freq it assumes LO 10750. There are command switches to set different values. The network defaults to 127.0.0.1:1234. There are switch options to change this if you wish to stream to another computer on your LAN. The adapter "-c" defaults to 0 and diseqc "-D" also defaults to 0 so they don't need to be on the command line unless you need a different setting.
bluezee, could the (arbitrary?) limit on the "card parameter" value be easily removed or modified? I'm playing with two cards in my system:
bluzee
Registered:1227721584 Posts: 2,886
Posted 1768671901
Reply with quote
#35
Possibly. That was from the original programmer's code nothing that I worked on. I'll have a look.
rempfer
Registered:1287496390 Posts: 1,649
Posted 1768677378
· Edited
Reply with quote
#36
Quote:
Originally Posted by bluzee Possibly. That was from the original programmer's code nothing that I worked on. I'll have a look.
Time permitting. I don't want to overburden you with this blast from the past. I could look for it myself, but any tweak I made would be local only. I notice also that when exiting dvbstream with ctrl-c, at least one of my pci-e cards is left in a "busy" state, such that the second time I launch dvbstream, it generates a "device busy" error. If I 'sudo reboot -h' I don't have to get up to restart the PC, but a simple 'sudo reboot' will not reset the /dev/dvb/{adapter}. I'm going to google to see if I can find a command to kill the device.EDIT: It turns out ending dvbstream with ctrl-c stops the current activity but leaves dvbstream running (as seen with 'top' command). 'pkill dvbstream' solves the busy device problem.
bluzee
Registered:1227721584 Posts: 2,886
Posted 1768682040
Reply with quote
#37
OK, if you cloned the git just do a "git pull" and then "make clean" and "make" to compile with the changes. It should now support 10 adapters (0-9). Otherwise new source ball here....https://bitbucket.org/bluzee/dvbstream/get/28eaba2025cd.zip It still works for me with adapter0 and adapter1. I don't have any more to test up to adapter9 but hopefully it will work for you. It closes OK for me with just ctrl-c and I have not noticed any incidence of it hanging so I am not sure what to say about that.
rempfer
Registered:1287496390 Posts: 1,649
Posted 1768682339
· Edited
Reply with quote
#38
Quote:
Originally Posted by
bluzee OK, if you cloned the git just do a "git pull" and then "make clean" and "make" to compile with the changes. It should now support 10 adapters (0-9). Otherwise new source ball here....
https://bitbucket.org/bluzee/dvbstream/get/28eaba2025cd.zip It still works for me with adapter0 and adapter1. I don't have any more to test up to adapter9 but hopefully it will work for you.
It closes OK for me with just ctrl-c and I have not noticed any incidence of it hanging so I am not sure what to say about that.
Much appreciated, bluezee!EDIT: The increased range of source adapters works fine. Thank you very much.
rempfer
Registered:1287496390 Posts: 1,649
Posted 1795597709
Reply with quote
#39
Hi, bluzee. Another question about dvbstream, if you please. I realize there are dvbstream-specific threads that I probably should have used back when, but continuing here to get your advice (to which I think I know the answer already): Dvbstream is so handy at what it does, but I think I've come up with a limitation I'd like to work around if possible. It has to do with the '-c [0-3] Use DVB card #[0-3]' option. This works great when each atapter has only one associated frontend. I'm hitting a wall with my TBS5590v2 USB adapter pretty much because it supports other than DVB-S/S2/S2X modes. This causes /dev/dvb's devices to look like this: Per dvb-fe-tool: adapter0/frontend0 is DVB-T/T2/C/C2/ISDB-T adapter0/frontend1 is DVB-S/S2/S2X adapter1/frontend0 is ASI-IN By default, I think dvbstream defaults/assumes frontend0 in whichever adapter# the user selects. The problem with this TBS5590 is that dvbstream grabs the DVB-T frontend0 and there doesn't seem to be any way to force it to choose adapter0/frontend1. Is there a hidden switch that would let me pick, say, '-c 0/1' or somesuch? As you can see, with this card adapter0 is very messy. Thank you for your thoughts.
bluzee
Registered:1227721584 Posts: 2,886
Posted 1795627224
Reply with quote
#40
No, there is nothing in dvbstream currently to switch between multiple frontends on a single adapter. frontenddev path parameters are hard coded into dvbstream.c and are set for frontend0 only at the moment. Simplest work around for the time being would be to edit these to frontend1 and then recompile. I looked at the 5590 driver and I don't see any module parameters to force either tuner to a specific frontend. I assume the terrestrial tuner always gets frontend0 because it's listed first in the driver. I'll look into the possibility of adding a switch for frontend but I'm not much of a coder.
bluzee
Registered:1227721584 Posts: 2,886
Posted 1795632449
Reply with quote
#41
OK, I pushed a rather crude fix that may work to bitbucket. -c 0-9 gives adapter 0-9 with frontend0 -c 10-19 gives adapter 0-9 with frontend1 Give it a try and see if it works for you.
rempfer
Registered:1287496390 Posts: 1,649
Posted 1795834833
Reply with quote
#42
Quote:
Originally Posted by bluzee OK, I pushed a rather crude fix that may work to bitbucket. -c 0-9 gives adapter 0-9 with frontend0 -c 10-19 gives adapter 0-9 with frontend1 Give it a try and see if it works for you.
To your trained eye, this picture (screen capture as surrogate) should be worth 1,000 words: user@P16s:~/bluzee-dvbstream-367ba07411ee$ dvbstream -c 10 -d 4 -f 4080 -p H -s 30000 -S 2 8192 dvbstream v0.7 - (C) Dave Chapman 2001-2004 Released under the GPL. *WARNING* Diseqc switch numbering has changed. See help. Tuning DVB-S2... Tuning to 4080 Hz Using DVB card "TurboSight TBS 5590 DVB-S/S2/S2X", freq=4080 DISEQC SETTING SUCCEDED tuning DVB-S to Freq: 1070000, Pol:H Srate=30000000, 22kHz tone=OFF, LNB: 0, SLOF 11700, LOF1: 5150, LOF2: 10750 Getting frontend status Event: Frequency: 1070000 SymbolRate: 30000000 FEC_inner: 5 Bit error rate: 0 Signal strength: 54448 SNR: 47232 FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC dvbstream will stop after -1 seconds (71582788 minutes) Using 127.0.0.1:1234:2 version=2 Streaming 1 stream You are so very kind! Many thanks, Dave. -- Dick