rempfer
Registered:1287496390 Posts: 1,649
Posted 1767616144
· Edited
Reply with quote
#1
This discussion was moved from the updateDVB thread to it's own thread here. Thanks, Rick --- Thanks to Rick for moving this to its own thread. My original question was specific to updateDVB, but quickly morphed into what I was really trying to get at, and that was to try to find non -MSWindows, PC-based options for enjoying TV & radio running applications on a Linux operating system. What most prompted me to start this thread is the increasing use of the 4:2:2 video compression method by broadcasters, which none of my STBs will display. I increasingly find myself tuning the channel with an STB, and from there streaming or recording a .ts, so as to watch the program on a computer over the LAN. I started this thread, not because there's any shortage of MSWindows DVB apps, but because support for anything less than Windows 11 has been dropped at the same time Linux is becoming better and better all the time. Thinking others might be finding themselves in the same situation, grabbing a computer to watch a favorite feed, I became charmed by the idea of a Linux PC running a simple Linux DVB app that would just do the basics of grabbing a satellite feed, streaming/recording it to a local disk, allowing watching it with VLC or some other 4:2:2-capable Linux app from that same device ! My best PC is having trouble processing high bit-rate feeds (recent NFL games, for example) even with VLC's hardware-accelerated decoding disabled, so I bought a used Dell PC with a 13th generation Core i5 CPU and a new TBS6903x tuner card. This hardware should be sufficient to handle today's high bitrate feeds. So, any ideas you guys might have would be most welcome, but, please, limited to Linux options. Best, Dick Rempfer
bluzee
Registered:1227721584 Posts: 2,886
Posted 1767629108
Reply with quote
#2
The udl patched kernel has patches to some of the include .h header files as well. Looks like your system is finding only the original ones. You may need to manually copy the patched ones into your system. It's been so long since I've done this I would have to look it up again but let me know if you need help.
rempfer
Registered:1287496390 Posts: 1,649
Posted 1767645845
· Edited
Reply with quote
#3
Thanks, bluzee. I have gotten several of these Linux-based DVB apps "sort of" working in the past, including this one, but had given each one up at some point. Trying to live without MS Windows where possible is becoming ever more attractive as time passes. What makes me want to try again is that I'm a bit better with Linux than I used to be and, more and more, DVB broadcasts are in 4:2:2, HEVC, etc. (not quite sure of terms here) and because of video format can't display on my various STB's. My Octagon SF8008 (most recent version supporting internal SSD) does an excellent job of recording these invisible streams, and from a PC, over the LAN one can map to the SF8008's internal drive to watch the show with VLC, PotPlayer, etc., but it's a bit cumbersone. One can also use DVB Viewer Pro, or CrazyScan -> TSReader -> VLC/Potplayer/etc. to watch the channels, but they're also more clunky than a good STB. It occurred to me that even if Linux doesn't have a polished DVB app, if one of the existing (updateDVB or other DVB tuner) apps could simply lock a transponder and stream its contents to a file, one could capture, stream and watch a show relatively easily, entirely from a Linux PC with a DVB card. I probably should have started a new thread about this -- but is there a SIMPLE Linux-based DVB tuner app that would lock, tune, and stream a channel? One that didn't require a specific kernel and so many linked libraries? I'd just like to find and get comfortable with a CLI-based "DVB tuner" that I could quickly grab & record a stream with, so as to watch said stream with VLC right from the same Linux PC. I'm thinking it could be this simple. Also, my thinking has gotten me into trouble before. :-)
Richard
Registered:1476759939 Posts: 195
Posted 1767650177
Reply with quote
#4
Quote:
Originally Posted by rempfer I probably should have started a new thread about this -- but is there a SIMPLE Linux-based DVB tuner app that would lock, tune, and stream a channel? One that didn't require a specific kernel and so many linked libraries? I'd just like to find and get comfortable with a CLI-based "DVB tuner" that I could quickly grab & record a stream with, so as to watch said stream with VLC right from the same Linux PC. I'm thinking it could be this simple. Also, my thinking has gotten me into trouble before. :-)
It wouldn't be classed as "simple", but have you looked at neumoDVB? I've not used it, but it's been around a while now, is still actively maintained and if you're running a suitable linux distro, may be able to be installed from packages.https://github.com/deeptho/neumodvb?tab=readme-ov-file Regards, Richard
bluzee
Registered:1227721584 Posts: 2,886
Posted 1767651303
Reply with quote
#5
Assuming you have a DVB tuner card or USB device of some sort then to use then.... You don't need a special kernel just to stream and watch. It's only if you want to do spectrum scans with updateDVB. A bunch of DVB devices are plug and play. TBS devices unfortunately require you to install drivers. VLC can tune a DVB device directly. Watch it, stream it, record it etc. There is a simple command line app called dvbstream that can tune and stream or dump to a TS file. I have a version that I updated for Linux DVB API v5 in a bitbucket repo that probably should still compile and work. I use TvHeadend server on the PC with the DVB tuners. Much more powerful than what you are looking for but it's as good as you can get. Here's the link to dvbstream...https://bitbucket.org/bluzee/dvbstream/get/556d15e80885.zip Just unzip the folder, cd into and run make. Run dvbstream with no options and it will print out the list of tuning options etc. Default is an rtp stream. To save to a file just use a redirect to a file with the -o option. The help says -o:file.ts. I believe that's broken so use -o > file.ts
rempfer
Registered:1287496390 Posts: 1,649
Posted 1767653091
Reply with quote
#6
Quote:
Originally Posted by
Richard It wouldn't be classed as "simple", but have you looked at neumoDVB?
I've not used it, but it's been around a while now, is still actively maintained and if you're running a suitable linux distro, may be able to be installed from packages.
https://github.com/deeptho/neumodvb?tab=readme-ov-file Regards,
Richard
I did get neumoDVB almost working a year or two ago, it is overkill to what I'm hoping to find. Thank you, Richard -- I may eventually play with it again. Much appreciated!
rempfer
Registered:1287496390 Posts: 1,649
Posted 1767653886
Reply with quote
#7
Quote:
Originally Posted by bluzee Assuming you have a DVB tuner card or USB device of some sort then to use then.... .. VLC can tune a DVB device directly. Watch it, stream it, record it etc. There is a simple command line app called dvbstream that can tune and stream or dump to a TS file. I have a version that I updated for Linux DVB API v5 in a bitbucket repo that probably should still compile and work. I use TvHeadend server on the PC with the DVB tuners. Much more powerful than what you are looking for but it's as good as you can get. ...
Yes, I have two USB (TBS5925 & TBS5030), a couple of PCI-E TBS's and I just ordered a TBS6903x for a 13th generation Core i5 tower I will put together. I'll set it up to dual-boot Windows/Linux. I've discovered that some of the current broadcast streams overwhelm the buffers on my existing PC's/video cards, so it seemed time to get faster/more evolved hardware. I did not know VLC could tune DVB directly -- wow. I will also try (one at a time) each of your additional suggestions, bluezee. Many thanks, Dick Rempfer
bluzee
Registered:1227721584 Posts: 2,886
Posted 1767676503
Reply with quote
#8
I believe DVB may be limited to the Linux VLC.
rempfer
Registered:1287496390 Posts: 1,649
Posted 1767706947
· Edited
Reply with quote
#9
Thanks, bluezee, for the VLC info. Right now I'm trying to get either of my TBS5925 or TBS5930 to load its driver under Linux Mint 22.3. The O/S sees them (lsusb) but no driver is being associated to them. Does one have to go back to an ancient kernel even to simply accomplish getting a driver loaded, would you know? If not, I need to go back through the README's and see what I've missed.
bluzee
Registered:1227721584 Posts: 2,886
Posted 1767718894
Reply with quote
#10
You followed the instructions here...https://github.com/tbsdtv/linux_media/wiki Everything compiled OK and installed? Reboot to pick up the new drivers and it should go. I think my TVHeadend server is on Linux Mint 22. Can't remember exactly. There are sometimes other drivers in that tree that won't compile. You have to edit the config file to disable them. This is the one thing I don't like about Linux DVB. These drivers should be included in the mainline kernel. You should never have to install a driver to use anything in Linux.
rempfer
Registered:1287496390 Posts: 1,649
Posted 1767766596
· Edited
Reply with quote
#11
Quote:
Originally Posted by
bluzee You followed the instructions here...
https://github.com/tbsdtv/linux_media/wiki Everything compiled OK and installed? Reboot to pick up the new drivers and it should go. I think my TVHeadend server is on Linux Mint 22. Can't remember exactly.
There are sometimes other drivers in that tree that won't compile. You have to edit the config file to disable them. This is the one thing I don't like about Linux DVB. These drivers should be included in the mainline kernel. You should never have to install a driver to use anything in Linux.
At the media_build make step got error(s). Will check the "prerequisites, build errors, rebuilding" link now. EDIT: Made sure the five items in Debian/Ubuntu Build Prerequisites got installed and now, success: So far, so good!EDIT2: user@ThinkPad-P16s-Gen-2:~$ dmesg | grep TBS [ 2.028600] usb 3-1: Product: TBS-5925 [ 2.028601] usb 3-1: Manufacturer: TBS-Tech [ 3.744237] dvb-usb: found a 'TurboSight TBS 5925 DVB-S/S2' in cold state, will try to load a firmware [ 794.962497] dvb-usb: found a 'TurboSight TBS 5930 DVB-S/S2/S2x' in cold state, will try to load a firmware I assume this "in cold state" message means I simply have the 'tbs-tuner-firmwares_v1.0' left to install. I'm very encouraged!EDIT3: Success: Now proceeding to try the VLC Open Capture Device experiment -- thank you, bluezee!EDIT4: No luck trying to tune ARCS channel on 139W (https://www.lyngsat.com/SES-22.html ). Tried VLC, updateDVB, dvbtune and dvbstream. My LNBF is a combo C/Ku (5150/10750), with C-band on DiSEqC 1 and Ku on DiSEqC 2. Polarities switch via voltage. Feeling kind of dumb at this point.
bluzee
Registered:1227721584 Posts: 2,886
Posted 1767809848
· Edited
Reply with quote
#12
It's just a matter of getting all the tuning parameters entered correctly now. I can tune ARCS at my location. When I get a minute I'll work out the details and post that for you. Are you using dvbstream from my Bitbucket? I've modified that to make it easier to use with C Band for North America. Edit: Please don't feel dumb. You have done very well. Every program seems to differ a bit in how they want tuning specs entered.
rempfer
Registered:1287496390 Posts: 1,649
Posted 1767829509
Reply with quote
#13
Quote:
Originally Posted by bluzee Are you using dvbstream from my Bitbucket? I've modified that to make it easier to use with C Band for North America.
I am not sure. When I reboot back into Linux I'll try to answer that. Thanks!
bluzee
Registered:1227721584 Posts: 2,886
Posted 1767902800
Reply with quote
#14
OK, here is a start for dvbstream as long as you have compiled the version from my bitbucket and not installed from apt. The -c needs to specify the adapter number in the system I believe yours is 0. The -D is to switch the diseqc port. A simple four port switch is numbered 0-3. This will stream the whole MUX to rtp://127.0.0.1:1234 dvbstream -c 0 -D 0 -f 4056 -p H -s 13250 -S 1 8192 VLC playback vlc rtp://127.0.0.1:1234 Choose the program to view in VLC's Program menu. This will dump the MUX to a file dvbstream -c 0 -D 0 -f 4056 -p H -s 13250 -S 1 -o 8192 > mux.ts VLC playback vlc mux.ts You can dump just one program by specifying 2 pids but it doesn't work particularly well dvbstream -c 0 -D 0 -f 4056 -p H -s 13250 -S 1 -ps 110 100 -o > mux.ts VLC doesn't play this but mpv will. Neither will play if you stream to rtp. Dumping or streaming the whole MUX with pseudo PID 8192 works best. So this is about the simplest CLI application to tune and stream. There are other program options but perhaps more complicated. I'll try VLC next and post some screenshots if I figure it out.
bluzee
Registered:1227721584 Posts: 2,886
Posted 1767905171
Reply with quote
#15
Either DVB for VLC is broken or I can't figure out what it wants for tuning params. Sorry.