Page 1 of 5

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

Posted: Wed Feb 24, 2021 3:06 pm
by F1EJP
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 614 times

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

Posted: Wed Feb 24, 2021 9:52 pm
by g0mjw
Works well. I have not yet managed to get it to work at 25ks but it seems fine 35 and up.

Congratulations

Mike

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

Posted: Thu Feb 25, 2021 6:03 am
by G7JTT
Thanks for sharing Dominique excellent work 👍

73 John G7JTT

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

Posted: Thu Feb 25, 2021 12:05 pm
by G8GKQ
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

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

Posted: Thu Feb 25, 2021 8:38 pm
by F1EJP
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

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

Posted: Thu Feb 25, 2021 10:44 pm
by G4KLB
Fantastic Dominique,

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

Many thanks for sharing this.

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

Posted: Sun Feb 28, 2021 7:39 pm
by F1EJP
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 6900 times
Do you have a solution ?

73
Dominique
F1EJP

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

Posted: Sun Feb 28, 2021 10:35 pm
by G8GKQ
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

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

Posted: Mon Mar 01, 2021 5:12 pm
by F1EJP
Hello,

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

73
Dominique
F1EJP

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

Posted: Mon Mar 01, 2021 7:48 pm
by G7JTT
Thanks Dominique just keep getting better with every version, thanks for all your hard work and sharing.

73 John