Frame Drops and Unsteady Bitrate

pdcweb

New Member
I added the stats to the output after about an hour so I could monitor it by watching the stream from home.

Dropped frames begin at 1:44 into the stream.

It's been mostly stable with a few spurts of dropped frames, but nothing like our last stream where we had 47% dropped.

1669310318558.png
 

Solowhite

Member
Sí, es un error en la conexión a Internet.
Código:
12:46:13.671: WriteN, RTMP envía el error 10060 (4097 bytes)
12:46:19.672: WriteN, RTMP envía el error 10060 (80 bytes)
12:46:19.672: WriteN, RTMP envía el error 10038 (42 bytes)

Puede ser en la red interna de tu casa o en la externa del proveedor de servicio que tengas. En algún punto está bloqueando el tráfico rtmp que se usa para la transmisión.
no es facil detectar donde puede estar el problema. Con la mayoría sucede que el problema está en el ISP. Y de la empresa siempre niegan hasta que tenés la suerte de que hablás con alguien que sabe un poquito de redes y le pasa el tema a las personas correctas.
Comenta que estás teniendo cortes cada una cantidad de tiempo en el protocolo rtmp, que lo ocupas para la transmisión a twitch. Seguramente lo hacen revisar y lo solucionan.

me estan dando esa respuesta que nada que ver si tengo un internet de 300 mb de subida y 300 de bajada
 

mrstartipper

New Member
@.norman. I have tried rolling back to 27.2.4, and no dice. It does not seem to be related to the OBS version. I only added 4 sources (mic, a test background - gif, browser source background - streamelements, and a browser source for background music (tried downloaded YouTube video/song and embedded HTML file I created)). I tested each source individually, and I had large bitrate fluctuations on each. Literally as I was typing, I was about to say I didn't have bitrate fluctuations with all 4 turned off, but I did have a bitrate drop right as I was typing that. Much smaller (only 36 frames dropped that time as opposed to hundreds or thousands), but I think it's safe to say that the version of OBS Studio is not the issue.

Something that you might try would be making sure that OBS studio is set up in Windows Firewall to be allowed through. This ensures that Windows is not throttling the data. I tried this, and it has currently helped tremendously. The only frame drops thus far (over 50,000 frames streamed so far) have been 210 frames that have appeared when one of my browser sources (the background music one - either the downloaded YouTube version or the HTML version) has been having issues with functioning properly (an issue in 27.2.4). I may try updating again to 28.1.2 to see if that remedies the issue. Worse comes to worse, I may have to find some new background music to use. Maybe I'll just record myself humming random notes, hoping that I don't actually hum anything that would be copyrighted.

If folks need to know how to allow OBS through the firewall in Windows, go to the following:

Settings: - Search for Firewall (this is for Windows 11 - Windows 10 may be different)
Click on Firewall & network protection
Select "Allow and app through firewall" - about 1/2 way down the pop-up screen
Click the "Change settings" button
Below the list of apps/features, click on "Allow another app..."
Select the "Browse" option on the "Add an app" pop-up screen
Locate the OBS.exe file (C:\Program Files\obs-studio\bin\64bit)
Click on the .exe file and select "Open"
Click on the "Add" button at the bottom of the "Add an app" pop-up screen
Make sure that both the Private and Public network types are selected
Click "OK" at the bottom of the Allowed apps window

Funnily enough, I had no more bitrate drops/issues until I started typing up the directions above for the Windows Firewall. I dropped an additional 1584 frames as my bitrate dropped to 0, then up to about 1200, 2200, 3000, up past 6000, and then steadied back again at 5500-ish (what I have it set to currently). I've been trying out different kbps settings for my 720p 60fps test stream.
 

Solowhite

Member
No se si le sirve hize una prueba de mas de 2 hs y 15 minutos con el obs studio 27.2.4 y cambie mis drivers de nvidia a 15.94 y me puse a mirar videos de youtube con la prueba de ancho de banda de obs y este es el resultado , mas tarde voy a hacer otra prueba para ver si realmente es eso ahora le dejare una prueba para que vean y espero que pueda servirle esto
 

Attachments

  • Captura de pantalla (43).png
    Captura de pantalla (43).png
    41.8 KB · Views: 40
  • Captura de pantalla (44).png
    Captura de pantalla (44).png
    24.8 KB · Views: 41

mrstartipper

New Member
I've also been doing a fair bit of testing today. I made the following changes and had 0 dropped frames after 249100 frames (1:09:00 stream):
1) Changed Process Priority in the Advanced tab in Settings (in OBS) to High (highest CPU priority you can set).
2) Changed my bitrate to 5000kbps (for 720p 60fps)
3) Set up the Quality of Service (QoS) for my new Netgear Nighthawk AXE7300 gaming router. The Advanced router settings for Netgear routers can be accessed at routerlogin.net. The username will most likely be Admin (or maybe it was admin - Google QoS for Netgear routers to verify), and the password was what was set up for the router when initially setting it up. I went into the QoS settings, enabling them, and I went into my Attached Devices and changed my computer to the "Highest" priority, reducing all other attached devices to Medium (maybe High for 1 or 2). Doing all of the above, seems to have helped my issues, indicating that the issue may very well have been related to a combination of Windows, OBS, and my network, not necessarily Twitch/YouTube.

1669327235420.png


I'm going to try loading in all of my assets (scenes, sources, etc.) via the copied %appdata% folder that I created before rolling back to 27.2.4 to see if adding in all of those assets (muting the browser background music sources for now - 27.2.4 glitches with browser sources for some reason) will allow me to continue having no issues. I'll update everyone in a bit with whether or not that step was successful. If it is, I will move back to the latest stable release of OBS and see if everything holds.
 

mrstartipper

New Member
I've also been doing a fair bit of testing today. I made the following changes and had 0 dropped frames after 249100 frames (1:09:00 stream):
1) Changed Process Priority in the Advanced tab in Settings (in OBS) to High (highest CPU priority you can set).
2) Changed my bitrate to 5000kbps (for 720p 60fps)
3) Set up the Quality of Service (QoS) for my new Netgear Nighthawk AXE7300 gaming router. The Advanced router settings for Netgear routers can be accessed at routerlogin.net. The username will most likely be Admin (or maybe it was admin - Google QoS for Netgear routers to verify), and the password was what was set up for the router when initially setting it up. I went into the QoS settings, enabling them, and I went into my Attached Devices and changed my computer to the "Highest" priority, reducing all other attached devices to Medium (maybe High for 1 or 2). Doing all of the above, seems to have helped my issues, indicating that the issue may very well have been related to a combination of Windows, OBS, and my network, not necessarily Twitch/YouTube.

View attachment 89103

I'm going to try loading in all of my assets (scenes, sources, etc.) via the copied %appdata% folder that I created before rolling back to 27.2.4 to see if adding in all of those assets (muting the browser background music sources for now - 27.2.4 glitches with browser sources for some reason) will allow me to continue having no issues. I'll update everyone in a bit with whether or not that step was successful. If it is, I will move back to the latest stable release of OBS and see if everything holds.
Sorry folks. I changed my bitrate to 4100kbps, not 5000. 5000 is what I had it at before during a previous test. Just loaded in the new test with all of my assets (the sound ones turned off). So far okay. Testing out each scene for a few minutes before doing some gameplay testing. More updates to come.
 

mrstartipper

New Member
Latest update:
As part of my streaming this whole time my GPU is undervolted and locked at the highest sustainable output at the lower voltage for all streaming. Ensures a constant performance from the GPU and takes most of the load off the CPU/system.

* 0 dropped frames while having a successful stream for 30-40 minutes. All audio browser sources turned off. Updating to version 28.xx (whatever the newest is) and will update everyone.
 

Solowhite

Member
Última actualización:
Como parte de mi transmisión todo este tiempo, mi GPU está bajo voltaje y bloqueada en la salida sostenible más alta con el voltaje más bajo para todas las transmisiones. Garantiza un rendimiento constante de la GPU y quita la mayor parte de la carga de la CPU/sistema.

* 0 fotogramas caídos al tener una transmisión exitosa durante 30-40 minutos. Todas las fuentes del navegador de audio están desactivadas. Actualizar a la versión 28.xx (cualquiera que sea la más nueva) y
cual era tu problema al final ?
 

mrstartipper

New Member
cual era tu problema al final ?
My original problem was that the bitrate was fluctuating between 0 and 12000kbps when I had it set to 5400kbps, which caused it to drop over 10-15% of the frames on a 2 hour stream. I believe that I have got it all solved now, though!
 

mrstartipper

New Member
Final update:

It all works again! Only took 5 days of testing, upgrading my internet plan, upgrading/replacing my network gear (modem and router), setting up the QoS on my router (currently using Wi-Fi 6 for my desktop rather than Ethernet connection) so that my computer is the highest priority device on the network, changing the CPU priority in OBS, dropping the bitrate to 4000kbps, making sure my GPU is running at the locked max setting while using OBS studio, making sure OBS is set to always open as an Administrator, going back to an older version (copying my %appdata% folder to the desktop before uninstalling everything - including all the OBS settings) and then back to the newer version once the kinks were worked out, making sure OBS is set to be allowed through the firewall, and beating my head against the figurative wall soooooo many times. I just streamed for about 40 minutes on the newest OBS studio version with all browser sources enabled (and recorded at 1080p 60fps) with only 1 frame missed/skipped due to rendering/encoding lag (not even on the stream itself).

I really hope that one or more of these things can help you all out.

I still have no idea if the issue is ISP related or Twitch/YouTube related, but if not, hopefully this will help. If it is, hopefully they will get any issues worked out.
 

Solowhite

Member
Final update:

¡Todo vuelve a funcionar! Solo tomé 5 días de prueba, actualicé mi plan de Internet, actualicé/reemplace mi equipo de red (módem y enrutador), configuré QoS en mi enrutador (actualmente uso Wi-Fi 6 para mi escritorio en lugar de una conexión Ethernet) para que mi computadora es el dispositivo de mayor prioridad en la red, cambia la prioridad de la CPU en OBS, reduce la tasa de bits a 4000 kbps, se asegura de que mi GPU se ejecute en la configuración máxima bloqueada mientras se usa OBS studio, se asegura de que OBS esté configurado para abrirse siempre como administrador, volver a una versión anterior (copiar mi carpeta %appdata% en el escritorio antes de desinstalar todo, incluidas todas las configuraciones de OBS) y luego volver a la versión más nueva una vez que se solucionaron los problemas, asegurándose de que OBS esté configurado para permitirse a través del firewall, y golpeando mi cabeza contra la pared figurativa tantas veces.

Realmente espero que una o más de estas cosas puedan ayudarlos a todos.

Todavía no tengo idea si el problema está relacionado con el ISP o con Twitch/YouTube, pero si no es así, espero que esto ayude. Si es así, es de esperar que resuelvan cualquier problema.
Yo ahora mas tarde hare una prueba de ancho de banda como hoy pero mas tiempo y si funciona todo bien hare la prueba directo a twitch
 

mrstartipper

New Member
Yo ahora mas tarde hare una prueba de ancho de banda como hoy pero mas tiempo y si funciona todo bien hare la prueba directo a twitch
I hope it goes well. I just did all of my tests directly to Twitch in the Test,Test category, since the Twitch Inspector site never works for me (has been having issues for over a month from what I've read).
 

Solowhite

Member
Espero que vaya bien. Acabo de hacer todas mis pruebas directamente en Twitch en la categoría Prueba,Prueba, ya que el sitio de Twitch Inspector nunca me funciona (ha tenido problemas durante más de un mes por lo que he leído).
Y cual es esa categoria prueba prueba?
 

mrstartipper

New Member
Y cual es esa categoria prueba prueba?
In Twitch, you can choose Test, Test in place of the Game or Category you are playing. For example God of War, Fall Guys, Just Chatting, and Halo Infinite are all categories. When you create your stream info, you just start typing Test where you would normally select what game or category you are doing (like Just Chatting), and the Test, Test option will come up. In OBS in is in the section titled Stream Info a couple items down (below your Go Live announcement).
 

KUCTech

Member
Hi mrstartipper: Glad to hear you are back in business - sounds like you did a complete rebuild. I did some more testing today and it looked promising - the bitrate was stable and held at, or close to the specified value. I can't be sure until the weekend when we put a full load on the system, but I'm hopeful. And the fact that the symptoms come and go without any apparent changes to OBS or our local network structure, still makes it look to me like a transient internet/ISP problem.

I hope things continue to go well for you.

Cheers. . .
 

Solowhite

Member
@mrstartipper Haciendo la segunda prueba de ancho de banda pude hacer 1hora y 40 minutos sin caida y todo estable dejare la prueba para que la puedan ver espero mañana hacer la prueba definitiva en twitch aver si se soluciono todo el problema les dejo una imagen de la prueba mañana contare mas de como fue
 

Attachments

  • Captura de pantalla (49).png
    Captura de pantalla (49).png
    104.8 KB · Views: 39

mrstartipper

New Member
@mrstartipper Haciendo la segunda prueba de ancho de banda pude hacer 1hora y 40 minutos sin caida y todo estable dejare la prueba para que la puedan ver espero mañana hacer la prueba definitiva en twitch aver si se soluciono todo el problema les dejo una imagen de la prueba mañana contare mas de como fue
Wonderful! I'm glad that yours may be working well. Did any of the things we mentioned in the post help so far with resolving your issues?
 

Solowhite

Member
Bueno ultima prueba de stream que hice duro mas de 2 hs y 15 minutos sin corte tengo otra forma lo que tenga placa de vídeo 1650 de nvidia ponga los drivers 516.94 y el obs la versión 27.2.4 es algo que a mi en particular me funcion en ningun momento se me corto el vivo

@mrstartipper aqui les dejo una imagen del vivo
 

Attachments

  • Captura de pantalla (51).png
    Captura de pantalla (51).png
    569.5 KB · Views: 100

mrstartipper

New Member
Bueno ultima prueba de stream que hice duro mas de 2 hs y 15 minutos sin corte tengo otra forma lo que tenga placa de vídeo 1650 de nvidia ponga los drivers 516.94 y el obs la versión 27.2.4 es algo que a mi en particular me funcion en ningun momento se me corto el vivo

@mrstartipper aqui les dejo una imagen del vivo
Nice! I'm glad your tests are going well! Just finished a full stream with 0 frames dropped on the stream. Had some frame issues with rendering (the recording), but I fixed that by turning up the system fans.
 

Solowhite

Member
¡Agradable! ¡Me alegro de que tus pruebas vayan bien! Acabo de terminar una transmisión completa con 0 fotogramas caídos en la transmisión. Tuve algunos problemas de marco con el renderizado (la grabación), pero lo solucioné encendiendo los ventiladores del sistema.
Perfecto hare una ultima prueba hoy a la noche para asegurarme que este todo bien
 
Top