Page 5 of 8

Re: OBS via IPTSin on the PortsDown

Posted: Sat Jun 08, 2019 2:52 pm
by F1SSF
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

Re: OBS via IPTSin on the PortsDown

Posted: Mon Jun 10, 2019 4:06 pm
by G7JTT
Hi Franck not sure what you mean ? Is it on the Tx or Rx that you see two images ?

Re: OBS via IPTSin on the PortsDown

Posted: Mon Jun 10, 2019 7:54 pm
by F1SSF
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

Re: OBS via IPTSin on the PortsDown

Posted: Tue Jun 11, 2019 5:45 am
by G7JTT
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

Re: OBS via IPTSin on the PortsDown

Posted: Tue Jun 11, 2019 1:33 pm
by f1faq
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

Re: OBS via IPTSin on the PortsDown

Posted: Tue Jun 11, 2019 4:02 pm
by G7JTT
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

Re: OBS via IPTSin on the PortsDown

Posted: Wed Jul 24, 2019 1:59 pm
by VK5YYY
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

Re: OBS via IPTSin on the PortsDown

Posted: Thu Nov 14, 2019 7:38 pm
by m1cdq
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

Re: OBS via IPTSin on the PortsDown

Posted: Sat Apr 18, 2020 1:50 pm
by PA3GUO
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

Re: OBS via IPTSin on the PortsDown

Posted: Sat Apr 18, 2020 2:05 pm
by PA3GUO
Ignore ... I changed the OBS basic.ini as you had it described and now it works !