Status
Not open for further replies.

Yago Araujo

New Member
Here is the log! Im using view mode basic, and these freezings continue.. i streamed like 5mins, and lost so many frames in obs.
edit: i have 10mb upload, and i can stream with h264 with 3500 bitrate.
 

Attachments

  • 2016-11-17 23-55-48.txt
    21.4 KB · Views: 33

Xaymar

Active Member
Here is the log! Im using view mode basic, and these freezings continue.. i streamed like 5mins, and lost so many frames in obs.
edit: i have 10mb upload, and i can stream with h264 with 3500 bitrate.

I can tell from the log that this isn't the basic view mode and that your connection is not good enough to stream 3500kbit. Don't lie or you'll receive no support

Edit: Also upgrade to 1.4.2.3 for gods sake.
 
Last edited:

Yago Araujo

New Member
Lol o.O, but i set view mode basic and send you the log, and im using the 1.4.2.3 o.O, whats going on ??? and why my connection isnt good enough to stream 3500kbit ? i really have 10mb upload, i can make a speed test and send ss link here if u want
edit: maybe its because my connection is a little unstable, want to see another log ?
edit2: or maybe its better reinstall obs and the 1.4.2.3 and send another log..
 

Xaymar

Active Member
Lol o.O, but i set view mode basic and send you the log, and im using the 1.4.2.3 o.O, whats going on ??? and why my connection isnt good enough to stream 3500kbit ? i really have 10mb upload, i can make a speed test and send ss link here if u want

Code:
23:55:50.105: [AMF Encoder] Version 1.4.1.0-1.3.0.5
That's not 1.4.2.3. Upgrade!

Code:
23:55:50.182: [AMF Encoder] Runtime Library is on Version 1;3;0;5;1.2;201611032108.
Your driver is ancient, 16.11.4 is already out. Upgrade!

Code:
00:01:46.369: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 91 (0.4%)
00:01:46.369: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 7779 (38.3%)
Your speed test will likely only show the ideal performance, not the performance you have to Twitch, YouTube, or where ever you stream to.
 

Yago Araujo

New Member
Okay, first things first..
Im updating the amd driver right now to 16.11.14!
And im using the 1.4.2.3 http://prntscr.com/d8pjdl
About my connection, like i said, i only get these dropped frames with amf ancoder ! when i stream h264, i stream with 3000 or 3500kbit bitrate with no problems, no dropped frames !
I did a stream right now to test with 1500kbit bitrate, and in the first 10 minutes, i get a lot of dropped frames, then the quality suddenly gets worse and obs stop dropping frames, and this happens with 3000 or 3500 kbit bitrate too !

Edit: sorry for the link, click again and u'll see, dont know how to use this programs for screenshot.. sorry !
 
Last edited:

Xaymar

Active Member
Okay, first things first..
Im updating the amd driver right now to 16.11.14!
And im using the 1.4.2.3 http://prntscr.com/d8pjdl
About my connection, like i said, i only get these dropped frames with amf ancoder ! when i stream h264, i stream with 3000 or 3500kbit bitrate with no problems, no dropped frames !
I did a stream right now to test with 1500kbit bitrate, and in the first 10 minutes, i get a lot of dropped frames, then the quality suddenly gets worse and obs stop dropping frames, and this happens with 3000 or 3500 kbit bitrate too !

Your log shows 1.4.1.0 and your screenshot was removed. Upgrade to 1.4.2.3.
Edit: Now your screenshot loads. You didn't install it properly then.
 

Yago Araujo

New Member
I need to reinstall obs too, to install properly ? because i uninstalled older versions, and installed 1.4.2.3...
Edit: I removed, downloaded, and installed again the 1.4.2.3, i'll make a short stream with 2500 bitrate and post the log here
Edit2: I did it, maked a stream with 35mins, on the first 10~15 min, the stream has a very good quality but i drop a lot of frames, depending where in the game i was (like closed rooms), the frames didnt drop, then the quality gets worse, and the frames drop stopped. i used the viewmode basic, and reinstalled the plugin
 

Attachments

  • 2016-11-18 01-49-47.txt
    21.5 KB · Views: 30
Last edited:

Xaymar

Active Member
I need to reinstall obs too, to install properly ? because i uninstalled older versions, and installed 1.4.2.3...
Edit: I removed, downloaded, and installed again the 1.4.2.3, i'll make a short stream with 2500 bitrate and post the log here
Edit2: I did it, maked a stream with 35mins, on the first 10~15 min, the stream has a very good quality but i drop a lot of frames, depending where in the game i was (like closed rooms), the frames didnt drop, then the quality gets worse, and the frames drop stopped. i used the viewmode basic, and reinstalled the plugin
@Yago Araujo , try YouTube as target service (to stream to). And post this new log again.

Code:
01:49:49.207: [AMF Encoder] Version 1.4.2.3
01:49:49.286: [AMF Encoder] Runtime Library is on Version 1;3;0;5;1.2;201611151604.

Now you're using 1.4.2.3 and driver 16.11.4. Progress!

Code:
01:50:12.963: [AMF Encoder] Static Parameters:
01:50:12.963: [AMF Encoder]   Usage: Transcoding
01:50:12.963: [AMF Encoder]   Profile: Main 3.1
01:50:12.963: [AMF Encoder]   Maximum Long-Term Reference Frames: 0
01:50:12.963: [AMF Encoder]   Frame Size: 1280x720
01:50:12.963: [AMF Encoder]   Frame Rate: 30/1
01:50:12.963: [AMF Encoder]   Quality Preset: Quality
01:50:12.963: [AMF Encoder]   Scan Type: Progressive
01:50:12.963: [AMF Encoder]   Coding Type: Default
01:50:12.963: [AMF Encoder] Rate Control Parameters:
01:50:12.963: [AMF Encoder]   Method: Constant Bitrate (CBR)
01:50:12.963: [AMF Encoder]   Bitrate:
01:50:12.963: [AMF Encoder]     Target: 2500000 bits
01:50:12.963: [AMF Encoder]     Peak: 2500000 bits
01:50:12.963: [AMF Encoder]   Quantization Parameter:
01:50:12.963: [AMF Encoder]     Minimum: 0
01:50:12.963: [AMF Encoder]     Maximum: 51
01:50:12.963: [AMF Encoder]     I-Frame: 22
01:50:12.963: [AMF Encoder]     P-Frame: 22
01:50:12.964: [AMF Encoder]     B-Frame: 22
01:50:12.964: [AMF Encoder]     B-Picture Delta QP: 4
01:50:12.964: [AMF Encoder]     Reference B-Picture Delta QP: 2
01:50:12.964: [AMF Encoder]   VBV Buffer:
01:50:12.964: [AMF Encoder]     Size: 83333 bits
01:50:12.964: [AMF Encoder]     Initial Fullness: 100.000000%
01:50:12.964: [AMF Encoder]   Flags:
01:50:12.964: [AMF Encoder]     Filler Data: Enabled
01:50:12.964: [AMF Encoder]     Frame Skipping: Disabled
01:50:12.964: [AMF Encoder]     Enforce HRD Restrictions: Disabled
01:50:12.964: [AMF Encoder]   Maximum Access Unit Size: 0 bits
01:50:12.964: [AMF Encoder] Picture Control Parameters:
01:50:12.964: [AMF Encoder]   IDR Period: 60 frames
01:50:12.964: [AMF Encoder]   Header Insertion Spacing: 0 frames
01:50:12.964: [AMF Encoder]   Deblocking Filter: Enabled
01:50:12.964: [AMF Encoder]   B-Picture Pattern: 0
01:50:12.964: [AMF Encoder]   B-Picture Reference: Disabled
01:50:12.964: [AMF Encoder]   Intra-Refresh MBs Number per Slot: 0
01:50:12.964: [AMF Encoder]   Slices Per Frame: 1
01:50:12.964: [AMF Encoder] Motion Estimation Parameters:
01:50:12.964: [AMF Encoder]   Half Pixel: Enabled
01:50:12.964: [AMF Encoder]   Quarter Pixel: Enabled

And here we are, I can tell that you modified some of the settings again and aren't using View Mode Basic, otherwise it would have used the default values. Anyway, since I can't seem to get through to you, here's what's wrong:
  1. VBV Buffer is too strict.
  2. Keyframe Interval is lower than recommended (always tick "Enforce streaming service settings").
  3. Your settings are still too taxing for your System.
  4. You're still dropping frames due to insufficient bandwidth or an unstable connection.
Code:
02:26:16.003: Output 'adv_stream': Total encoded frames: 64890
02:26:16.003: Output 'adv_stream': Total drawn frames: 64890
02:26:16.003: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 95 (0.1%)
02:26:16.003: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 9258 (14.3%)

Please fix all of the listed problems and then reply again.

---

Thank you, changing the preset from "Recording" to blank allowed me to change the value. Changed QP to 45 and the pixelation seems to be gone but I still see some stuttering on the video :(

If you see the stuttering while playing back the video (with Frame Skipping disabled), then you might have hit your disks read speed limits.

I am still getting bitrate issues when streaming. Youtube's health status: http://i.imgur.com/VOg2VJk.png

log: https://gist.github.com/555e412acf6a75bc7638c83468de6b52

I'm not getting anything like that when streaming with old (non-multiplatform) version of obs (here is an example log with the same game streamed for approx same time)

The old non-multiplatform version only had an inofficial Media SDK version. Your bitrate spikes also seem to be due to the fact that Frame Skipping is disabled and that your VBV Buffer is too strict.
 

Yago Araujo

New Member
I forgot to set Preset Twitch, maybe this was changing some settings.
Heres a SS how my obs looks like : http://prntscr.com/d8xk7w
I'll make a stream now for test, and post a log here.
Edit: heres the log, settings on SS ! still getting frame dropped in the firsts minutes of stream, like freezes, and the quality gets a little worse and stop dropping frames and freezing.
 

Attachments

  • 2016-11-18 15-05-34.txt
    18.8 KB · Views: 22
Last edited:

kamild_

Member
If you see the stuttering while playing back the video (with Frame Skipping disabled), then you might have hit your disks read speed limits.
I was thinking it could be a reason but:
  • I have my system (and some games) on an SSD and I'm using HDD to store recordings. So it should be much less busy.
  • The issue seems to stay even after reencoding the video.
I think I'll just try to mess with every single setting if the log can't tell anything, maybe I'll happen to find the problem.
 

Xaymar

Active Member
I forgot to set Preset Twitch, maybe this was changing some settings.
Heres a SS how my obs looks like : http://prntscr.com/d8xk7w
I'll make a stream now for test, and post a log here.
Edit: heres the log, settings on SS ! still getting frame dropped in the firsts minutes of stream, like freezes, and the quality gets a little worse and stop dropping frames and freezing.

Code:
16:00:39.469: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 27 (0.0%)
16:00:39.469: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 21677 (21.9%)

You're still dropping 22% of frames and your log still shows oddities. You should try finding a proper stable Twitch server using the Twitch Tester by R1CH to find a bitrate that you can stream at and also find a twitch server that isn't that unstable.

I was thinking it could be a reason but:
  • I have my system (and some games) on an SSD and I'm using HDD to store recordings. So it should be much less busy.
  • The issue seems to stay even after reencoding the video.
I think I'll just try to mess with every single setting if the log can't tell anything, maybe I'll happen to find the problem.

If you find out why that happens, please open an Issue on the Issue Tracker - I can test on VCE3 and VCE3.4 hardware.
 
@Xaymar Re: issues brought up in my previous post. It appears as though the plugin wasn't updating properly using the installer. I downloaded the zip version today and extracted the files to my OBS Studio directory, and it looks like I'm now on the latest version of the plugin. I'll report back with my findings. The log looks good to me. Let me know if you see anything.

Edit: Posted another log from a short 5 minute stream with custom settings. Also, here's the stream vod: https://www.twitch.tv/everyth1ngtv/v/101951983

Obviously, I'd like to get rid of that artifacting at the beginning of the vod. Otherwise, however, I'm not getting any frame drops or large bitrate spikes.
 

Attachments

  • 2016-11-18 21-24-14.txt
    6.2 KB · Views: 23
  • 2016-11-18 22-44-10.txt
    20.5 KB · Views: 23
Last edited:

tstr

New Member
The old non-multiplatform version only had an inofficial Media SDK version. Your bitrate spikes also seem to be due to the fact that Frame Skipping is disabled and that your VBV Buffer is too strict.
I've changed VBV Buffer from automatic to manual/3500 and enabled frame skipping and it seem to have helped, but it introduced quite drastic artifacting (first 5-6 minutes of the video, log file for that), which goes away after a while, but it's still far from perfect. Is there a way it can be improved?

upd It seems that I'm not the only one who had problems with frame skipping and VBV Buffer settings, might be worth adding that to faq.
 
Last edited:

tstr

New Member
Good joke, but I'm not sure that this kind of artifacting is supposed to occure when encoding with AMD videocards thus I'm looking for a solution withing software settings/updates.
 
Last edited:

Suslik V

Active Member
You simply can compare the quality for low bitrate encoding. I don't think that you able to stream much better videos than developer do (at this low rates). More things of the encoding process depends on the driver (keep it up to date or so).
 

tstr

New Member
Have you watched the video I've linked to? Do you understand the natire of the issue? I'm not talking about minor shitty quality of the stream, I was talking about huge blue-white fucking boxes that corrupt the image for first minute of a stream and then go away. That's the issue.
 
Last edited:
Status
Not open for further replies.
Top