OBS via IPTSin on the PortsDown

Discussion about this major DATV Project. See https://wiki.batc.org.uk/The_Portsdown_Transmitter
F1SSF
Posts: 87
Joined: Sat Nov 25, 2017 5:14 pm

Re: OBS via IPTSin on the PortsDown

Post by F1SSF » Sat Jun 08, 2019 2:52 pm

Hi John
Ok I have an I5 too
Do you have default image when you mixing? No problem in OBS but on QO100, i can see two images fusionned , they jump and , I must turn off tx , and after it is ok.
I try to contact you next week, I am in south France :)
73 Franck

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

Re: OBS via IPTSin on the PortsDown

Post by G7JTT » Mon Jun 10, 2019 4:06 pm

Hi Franck not sure what you mean ? Is it on the Tx or Rx that you see two images ?

F1SSF
Posts: 87
Joined: Sat Nov 25, 2017 5:14 pm

Re: OBS via IPTSin on the PortsDown

Post by F1SSF » Mon Jun 10, 2019 7:54 pm

Hi John,
When I am in TX mode on QO100, and I try to do image TRANSITION with OBS, I can see on Minitioun RX two images in same time, many pixels, and images jump quickly.
I must stop TX, TX again and transition can finished.
If I contact you, I could you done see.
73 Franck

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

Re: OBS via IPTSin on the PortsDown

Post by G7JTT » Tue Jun 11, 2019 5:45 am

Ok Franck can you use VLC to look at the output of OBS and check all is fine, then check the output of the script to see as well. I've not come across this myself so not to sure what could be causing this. If you're about tonight call me on the chat, I'll be on around 7pm UK time and we can try to resolve it.

All best John

f1faq
Posts: 52
Joined: Thu May 12, 2016 1:19 pm

Re: OBS via IPTSin on the PortsDown

Post by f1faq » Tue Jun 11, 2019 1:33 pm

Hi all,

I was just playing around with OBS to Portsdown and found the following :
Instead of using the @ 230.0.0.11:20000 in between OBS and ffmpeg (and if ffmpeg is on the same PC as OBS), use the "local" address 127.0.0.1:20000
It helps on my side, I have less retries in the ffmpeg window

I have a question : how do you calculate the FFVBitrate ?

73 - Christian
F1FAQ

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

Re: OBS via IPTSin on the PortsDown

Post by G7JTT » Tue Jun 11, 2019 4:02 pm

Hi Christian, it's in the first post but to work out the FFVBitrate multiply muxrate by 0.0006 and round up to just 3 digits.

Hope that helps and will try your suggestion later tonight thanks .

John

VK5YYY
Posts: 81
Joined: Sun Sep 27, 2015 1:47 am

Re: OBS via IPTSin on the PortsDown

Post by VK5YYY » Wed Jul 24, 2019 1:59 pm

Many thanks Franck,

Your Muxer settings and Video encoder settings are excellent!
Am sending a DVB-S2 modulator RTP TS, we had packet loss till I tried your setting
We are going much faster at 5Msym 3/4 8PSK, but works well
If the scene fades to black the encoder has difficulty still it this normal or is there a fix?

The pkt_size=1316&bitrate= 495700

So the 1316 is 7 X 188 packets

What does the 495700 the bitrate achieve?

Thanks again Roger VK5YYY

m1cdq
Posts: 113
Joined: Thu Feb 28, 2019 4:28 pm

Re: OBS via IPTSin on the PortsDown

Post by m1cdq » Thu Nov 14, 2019 7:38 pm

just setting up portsdown using ugly mode to test
my pi takes an IP of the router of 192.168.0.37

so i've set this in the files
OBS2IPTS
set callsign=M1CDQ
rem Set appropriately
rem set raspi_ip=230.0.0.10
set raspi_ip=192.168.0.37
rem set raspi_ip=10.0.0.1
set ip=%raspi_ip%:10000

-------------------------------
i just dont seem to be getting the feed to the pi

I have this in the OBS to UDP/ts screen

Input #0, mpegts, from 'udp://230.0.0.11:20000':
Duration: N/A, start: 0.000000, bitrate: N/A
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x12c]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg/unknown/unknown, progressive), 768x576, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x12d]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, mono, fltp, 39 kb/s
Output #0, mpegts, to 'udp://192.168.0.37:10000:10000?pkt_size=1316&bitrate=372100':
Metadata:
service_provider: QO-100
service_name : M1CDQ
encoder : Lavf58.12.100
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg/unknown/unknown, progressive), 768x576, q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, mono, fltp, 39 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 196 fps= 63 q=-1.0 size= 407kB time=00:00:08.24 bitrate= 404.9kbits/s speed=2.63x

PA3GUO
Posts: 20
Joined: Tue Feb 18, 2020 8:55 pm

Re: OBS via IPTSin on the PortsDown

Post by PA3GUO » Sat Apr 18, 2020 1:50 pm

Just a starter on this ...

This is my ffmpeg script (the last line of it)

start "Video Transport Stream to Portsdown" C:\ffmpeg\bin\ffmpeg -i "udp://192.168.1.128:7272" -vcodec libx265 -crf 33 -preset superfast -b:v 40k -acodec ac3_fixed -strict experimental -b:a 12k -ar 12000 -vf scale=384:-2:flags=lanczos -r 12 -f mpegts "udp://192.168.1.151:10000?pkt_size=1316"

It does bring up the ffmpeg window, but the Portsdown does not show anything, it still says "Waiting for IP Stream on port 10000"

When I press eg after 20 seconds in OBS the Recording button, the ffmpeg window stops after few seconds, and Portsdown still says "Waiting .."

In OBS:
Output / Recording: udp://192.168.1.128:7272

what do I do wrong ? :-)

Henk

PA3GUO
Posts: 20
Joined: Tue Feb 18, 2020 8:55 pm

Re: OBS via IPTSin on the PortsDown

Post by PA3GUO » Sat Apr 18, 2020 2:05 pm

Ignore ... I changed the OBS basic.ini as you had it described and now it works !

Post Reply

Return to “The Portsdown Digital ATV System”