Script for generate IPTV with OBS + FFMPEG + NVIDIA card OR cpu INTEL

Digital ATV - The latest generation, cutting edge ATV - Please discuss it all here.
Forum rules
This forum is run by the BATC (British Amateur Television Club), it is service made freely available to all interested parties, please do not abuse this privilege.

Thank you
F1EJP
Posts: 77
Joined: Wed Feb 24, 2021 2:46 pm

Script for generate IPTV with OBS + FFMPEG + NVIDIA card OR cpu INTEL

Post by F1EJP » Wed Feb 24, 2021 3:06 pm

Emission 25Ks to 2Ms: GENERATE FLUX IPTV with OBS + FFMPEG + NVIDIA card + Script
 Step by step explanation (Tested on Portsdown)
Hello,
You have to "search" everywhere on the NET to find the explanations and make the choice of software and equipment to use for the DATV program. I wanted to summarize here for you a little explanatory tutorial to generate an MPEGTS stream usable with Portsdown and LimeSDR mini but also any broadcast channel accepting an IPTV input: Express DVB Transmiter or Plutot (not tested)
Here is a first version of script successfully tested on Portsdown with LimeSDR mini
Inspired by the scripts found on the BACT Forum I created this script to generate a TSMPEG stream in H264 or H265 for the different types of BVBS DVBS2 modulation in 4, 8, 16, 32 PSK
For this, I bought a Graphics card for my NVIDIA GTX 1660 pc
FFMPEG can use GPU processors from NVIDIA cards to compress to H264 and H265
I have not been able to test with other models, please give me your feedback during your testing.

73
Dominique F1EJP

Last version 1.16
see attached
Emission 25Ks to 2Ms English.pdf
(626.08 KiB) Downloaded 452 times
Attachments
IPTV-F1EJP-OBS-v01.16.zip
(3.76 KiB) Downloaded 261 times
IPTV-F1EJP-OBS.zip
(3.41 KiB) Downloaded 284 times
Last edited by F1EJP on Mon Mar 08, 2021 5:59 pm, edited 4 times in total.

g0mjw
Posts: 2329
Joined: Sat Sep 20, 2014 9:15 am

Re: Script for generate IPTV with OBS + FFMPEG + NVIDIA card

Post by g0mjw » Wed Feb 24, 2021 9:52 pm

Works well. I have not yet managed to get it to work at 25ks but it seems fine 35 and up.

Congratulations

Mike

G7JTT
Posts: 338
Joined: Fri Jun 10, 2016 5:05 pm

Re: Script for generate IPTV with OBS + FFMPEG + NVIDIA card

Post by G7JTT » Thu Feb 25, 2021 6:03 am

Thanks for sharing Dominique excellent work 👍

73 John G7JTT

G8GKQ
Site Admin
Posts: 2798
Joined: Sun Mar 22, 2009 1:21 pm

Re: Script for generate IPTV with OBS + FFMPEG + NVIDIA card

Post by G8GKQ » Thu Feb 25, 2021 12:05 pm

Thanks Dominique

A nice script. Some ideas for the future:

You can start Portsdown transmitting from a Windows batch file with:

Code: Select all

echo no | plink.exe -ssh pi@192.168.2.175 -pw raspberry "sh -c 'nohup /home/pi/rpidatv/scripts/a.sh > /dev/null 2>&1'"
and stop it with

Code: Select all

echo no | plink.exe -ssh pi@192.168.2.175 -pw raspberry "sh -c 'nohup /home/pi/rpidatv/scripts/b.sh > /dev/null 2>&1'"
Edit: These lines have been corrected from the original post. G8GKQ 28 Feb 2021

PuTTY needs to be installed on the Windows PC; the "echo no" ignores the need for the confirmation of ssh key trust, but does not store the key.

It might also be possible to modify the portsdown_config.txt file from you batch script, but I haven't tried that.

Dave, G8GKQ

F1EJP
Posts: 77
Joined: Wed Feb 24, 2021 2:46 pm

Re: Script for generate IPTV with OBS + FFMPEG + NVIDIA card

Post by F1EJP » Thu Feb 25, 2021 8:38 pm

Hello all,

Thanks at all for your reply and suggestions !

I hope i will be soon ready for QO100
I am ofen on the chat if you want testing

73
Dominique
F1EJP

G4KLB
Posts: 244
Joined: Wed May 28, 2008 10:46 am

Re: Script for generate IPTV with OBS + FFMPEG + NVIDIA card

Post by G4KLB » Thu Feb 25, 2021 10:44 pm

Fantastic Dominique,

Used the script on the QO-100 BATC net tonight, works very well.

Many thanks for sharing this.

F1EJP
Posts: 77
Joined: Wed Feb 24, 2021 2:46 pm

Re: Script for generate IPTV with OBS + FFMPEG + NVIDIA card

Post by F1EJP » Sun Feb 28, 2021 7:39 pm

Hello Dave G8GKQ,
I'm trying the command line on PorstDown 2020 and it won't start, I see:
Capture20200228.JPG
Capture20200228.JPG (58.96 KiB) Viewed 4650 times
Do you have a solution ?

73
Dominique
F1EJP

G8GKQ
Site Admin
Posts: 2798
Joined: Sun Mar 22, 2009 1:21 pm

Re: Script for generate IPTV with OBS + FFMPEG + NVIDIA card

Post by G8GKQ » Sun Feb 28, 2021 10:35 pm

Thanks for pointing this out Dominique.

My apologies - insufficient testing on my part. I have posted a corrected version above which should work. The problem was that forked processes in the bash script (a.sh) did not behave correctly when called from an external ssh session.

Dave

F1EJP
Posts: 77
Joined: Wed Feb 24, 2021 2:46 pm

Re: Script for generate IPTV with OBS + FFMPEG + NVIDIA card

Post by F1EJP » Mon Mar 01, 2021 5:12 pm

Hello,

Following your comments, for ease of use here is a new version

73
Dominique
F1EJP
Attachments
IPTV-F1EJP-OBS-v01.01.zip
(3.56 KiB) Downloaded 216 times

G7JTT
Posts: 338
Joined: Fri Jun 10, 2016 5:05 pm

Re: Script for generate IPTV with OBS + FFMPEG + NVIDIA card

Post by G7JTT » Mon Mar 01, 2021 7:48 pm

Thanks Dominique just keep getting better with every version, thanks for all your hard work and sharing.

73 John

Post Reply

Return to “DATV - Digital ATV”