malonero88
New Member
Hello! I'm having trouble broadcasting using the VAAPI decoder.
It does not indicate any error when transmitting but the bitrate is very low (70 - 300), so, no matter how much it indicates that the encoder is live, it never actually transmits an image.
I leave the characteristics of my equipment and an OBS log showing the events when starting the transmission:
OS: Pop!_OS 21.04 x86_64
Kernel: 5.14.17-xanmod1
Uptime: 1 hour, 6 mins
Packages: 2157 (dpkg), 7 (flatpak), 9
Shell: bash 5.1.4
Resolution: 1920x1080, 768x1024
DE: GNOME 3.38.4
WM: Mutter
WM Theme: Pop
Theme: Pop-dark [GTK2/3]
Icons: Pop [GTK2/3]
Terminal: gnome-terminal
CPU: AMD FX-6300 (6) @ 3.500GHz
GPU: AMD ATI Radeon R7 370 / R9 270/3
Memory: 3972MiB / 15975MiB
LOG OBS:
10:31:15.542: ==== Streaming Start ===============================================
10:32:22.809: [rtmp stream: 'adv_stream'] Stream shutdown timeout reached (30 second(s))
10:32:22.809: [rtmp stream: 'adv_stream'] User stopped the stream
10:32:22.809: Output 'adv_stream': stopping
10:32:22.809: Output 'adv_stream': Total frames output: 248
10:32:22.809: Output 'adv_stream': Total drawn frames: 4100 (4109 attempted)
10:32:22.809: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 9 (0.2%)
10:32:22.811: ==== Streaming Stop ================================================
10:32:23.830: Video stopped, number of skipped frames due to encoding lag: 234/254 (92.1%)
10:32:23.831: libfdk_aac encoder destroyed
10:33:51.487: Settings changed (outputs)
10:33:51.487: ------------------------------------------------
10:34:37.043: Settings changed (outputs)
10:34:37.043: ------------------------------------------------
10:34:40.173: ---------------------------------
10:34:40.173: [FFMPEG VAAPI encoder: 'streaming_h264'] settings:
10:34:40.173: device: /dev/dri/renderD128
10:34:40.173: rate_control: CBR
10:34:40.173: profile: 578
10:34:40.173: level: -99
10:34:40.173: qp: 0
10:34:40.173: bitrate: 2000
10:34:40.173: maxrate: 2000
10:34:40.173: keyint: 120
10:34:40.173: width: 1280
10:34:40.173: height: 720
10:34:40.173: b-frames: 0
10:34:40.173:
10:34:40.183: libfdk_aac encoder created
10:34:40.183: libfdk_aac bitrate: 160, channels: 2
10:34:40.183: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://rio.contribute.live-video.net/app...
10:34:41.700: [rtmp stream: 'adv_stream'] Connection to rtmp://rio.contribute.live-video.net/app successful
10:34:41.702: ==== Streaming Start ===============================================
10:35:30.009: [rtmp stream: 'adv_stream'] Stream shutdown timeout reached (30 second(s))
10:35:30.009: [rtmp stream: 'adv_stream'] User stopped the stream
10:35:30.009: Output 'adv_stream': stopping
10:35:30.009: Output 'adv_stream': Total frames output: 169
10:35:30.009: Output 'adv_stream': Total drawn frames: 2981 (2990 attempted)
10:35:30.009: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 9 (0.3%)
10:35:30.011: ==== Streaming Stop ================================================
10:35:41.782: Video stopped, number of skipped frames due to encoding lag: 193/210 (91.9%)
10:35:41.784: libfdk_aac encoder destroyed
Excuse my English, I am assisted by a translator
----------------------------------------------------------------------
Hola! Estoy teniendo problemas a la hora de hacer una transmision utilizando el decodificador VAAPI.
No indica ningun error a la hora de transmitir pero la tasa de bitrate es muy baja (70 - 300), entonces, por más que indique que el codificador esta en vivo, nunca llega a transmitir imagen realmente.
It does not indicate any error when transmitting but the bitrate is very low (70 - 300), so, no matter how much it indicates that the encoder is live, it never actually transmits an image.
I leave the characteristics of my equipment and an OBS log showing the events when starting the transmission:
OS: Pop!_OS 21.04 x86_64
Kernel: 5.14.17-xanmod1
Uptime: 1 hour, 6 mins
Packages: 2157 (dpkg), 7 (flatpak), 9
Shell: bash 5.1.4
Resolution: 1920x1080, 768x1024
DE: GNOME 3.38.4
WM: Mutter
WM Theme: Pop
Theme: Pop-dark [GTK2/3]
Icons: Pop [GTK2/3]
Terminal: gnome-terminal
CPU: AMD FX-6300 (6) @ 3.500GHz
GPU: AMD ATI Radeon R7 370 / R9 270/3
Memory: 3972MiB / 15975MiB
LOG OBS:
10:31:15.542: ==== Streaming Start ===============================================
10:32:22.809: [rtmp stream: 'adv_stream'] Stream shutdown timeout reached (30 second(s))
10:32:22.809: [rtmp stream: 'adv_stream'] User stopped the stream
10:32:22.809: Output 'adv_stream': stopping
10:32:22.809: Output 'adv_stream': Total frames output: 248
10:32:22.809: Output 'adv_stream': Total drawn frames: 4100 (4109 attempted)
10:32:22.809: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 9 (0.2%)
10:32:22.811: ==== Streaming Stop ================================================
10:32:23.830: Video stopped, number of skipped frames due to encoding lag: 234/254 (92.1%)
10:32:23.831: libfdk_aac encoder destroyed
10:33:51.487: Settings changed (outputs)
10:33:51.487: ------------------------------------------------
10:34:37.043: Settings changed (outputs)
10:34:37.043: ------------------------------------------------
10:34:40.173: ---------------------------------
10:34:40.173: [FFMPEG VAAPI encoder: 'streaming_h264'] settings:
10:34:40.173: device: /dev/dri/renderD128
10:34:40.173: rate_control: CBR
10:34:40.173: profile: 578
10:34:40.173: level: -99
10:34:40.173: qp: 0
10:34:40.173: bitrate: 2000
10:34:40.173: maxrate: 2000
10:34:40.173: keyint: 120
10:34:40.173: width: 1280
10:34:40.173: height: 720
10:34:40.173: b-frames: 0
10:34:40.173:
10:34:40.183: libfdk_aac encoder created
10:34:40.183: libfdk_aac bitrate: 160, channels: 2
10:34:40.183: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://rio.contribute.live-video.net/app...
10:34:41.700: [rtmp stream: 'adv_stream'] Connection to rtmp://rio.contribute.live-video.net/app successful
10:34:41.702: ==== Streaming Start ===============================================
10:35:30.009: [rtmp stream: 'adv_stream'] Stream shutdown timeout reached (30 second(s))
10:35:30.009: [rtmp stream: 'adv_stream'] User stopped the stream
10:35:30.009: Output 'adv_stream': stopping
10:35:30.009: Output 'adv_stream': Total frames output: 169
10:35:30.009: Output 'adv_stream': Total drawn frames: 2981 (2990 attempted)
10:35:30.009: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 9 (0.3%)
10:35:30.011: ==== Streaming Stop ================================================
10:35:41.782: Video stopped, number of skipped frames due to encoding lag: 193/210 (91.9%)
10:35:41.784: libfdk_aac encoder destroyed
Excuse my English, I am assisted by a translator
----------------------------------------------------------------------
Hola! Estoy teniendo problemas a la hora de hacer una transmision utilizando el decodificador VAAPI.
No indica ningun error a la hora de transmitir pero la tasa de bitrate es muy baja (70 - 300), entonces, por más que indique que el codificador esta en vivo, nunca llega a transmitir imagen realmente.