Status
Not open for further replies.

Xaymar

Active Member
OBS Studio 0.16.2
plugin version 1.3.1.0
Issues : recording get stuck at 19:14, sound is ok.

Updated OBS to 0.16.2. Just did a test tonight and I unfortunately got another corrupted file. Our first match is tomorrow, so I guess I'm going to have to mess with x264 quickly as the last time I did matches (June) I used AMF and that's very out of date.

LOG: https://gist.github.com/5ee092f50c8c03eef5c958059a0d5f92
DMP: http://www.mediafire.com/file/2ozm2x2v56nqjz4/092916_obs64.zip

I have the video if need be. Unfortunately I did the .DMP after I clicked "stop recording" but still was streaming. I really wish AMD would fix their hoopla...

Before you claim that the video is stuck, please remux with ffmpeg. You can download ffmpeg here: https://www.ffmpeg.org/download.html (Windows build are by zeranoe). And here is the .bat file you need to drag your video on to (save it as remux_mp4.bat in the same folder where you extract ff-prompt.bat and the other stuff to):

Code:
SET "CWD=%~dp0"

:RESTART
IF "%~n1"=="" GOTO :EOF

SET "IN=%~1"
SET "OUT=%~dpn1"

"%CWD%\bin\ffmpeg.exe" -i "%IN%" -map 0:v:0 -vcodec copy -map 0:a:0 -acodec copy -map 0:a:1 -acodec copy -map 0:a:2 -acodec copy -map 0:a:3 -acodec copy "%OUT%.mp4"

SHIFT /1
GOTO :RESTART

I was only able to replicate the issue before remuxing, not after. That means I either need more data or a more reliable configuration in which it happens - if it only happens with your setup, then private message me an archive of your %APPDATA%/obs-studio directory.

Yeah, I have a few issues. I'm getting slightly out of sync audio after about 2 and a half hours of streaming, and my stream settings don't seem to be saving because I'm still getting the skyrocketing bitrate issue. Also, the stream seemed to have more of an impact on my in game frame rate than it did in the past, although I don't have benchmarks to back this up.

Let me know if you'd like the logs from my last stream and I'll edit this post. There should be two logs because I had to stop and start the stream to apply the Twitch preset again.

OBS Studio 0.16.2
Plugin 1.3.1.0

I'm not sure why your audio went out of sync, but usually it can't - the plugin will always provide the correct timestamp for that frame and it is up to OBS to mux it at the correct time. Log file would be nice anyway.

0.16.2 / Simple Encoder / Recording Preset / Balance / 18 minutes csgo recording recorded very good!

Nice to hear.
 

ball2hi

Member
Before you claim that the video is stuck, please remux with ffmpeg. You can download ffmpeg here: https://www.ffmpeg.org/download.html (Windows build are by zeranoe). And here is the .bat file you need to drag your video on to (save it as remux_mp4.bat in the same folder where you extract ff-prompt.bat and the other stuff to):

Code:
SET "CWD=%~dp0"

:RESTART
IF "%~n1"=="" GOTO :EOF

SET "IN=%~1"
SET "OUT=%~dpn1"

"%CWD%\bin\ffmpeg.exe" -i "%IN%" -map 0:v:0 -vcodec copy -map 0:a:0 -acodec copy -map 0:a:1 -acodec copy -map 0:a:2 -acodec copy -map 0:a:3 -acodec copy "%OUT%.mp4"

SHIFT /1
GOTO :RESTART

I was only able to replicate the issue before remuxing, not after. That means I either need more data or a more reliable configuration in which it happens - if it only happens with your setup, then private message me an archive of your %APPDATA%/obs-studio directory.

I tried running the .BAT setup you gave me, named remux_mp4.bat right next to ff-prompt.bat in the same folder with everything else. Dragging the video onto that would result in cmd prompt opening for a split second and then immediately closing.

I tried remuxing via OBS-Studio's built in remuxer as suggested by @c3r1c3 but the file was still broken at the exact same time as the original unremuxed version. Using VLC player to view.
 

Xaymar

Active Member
I tried running the .BAT setup you gave me, named remux_mp4.bat right next to ff-prompt.bat in the same folder with everything else. Dragging the video onto that would result in cmd prompt opening for a split second and then immediately closing.

I tried remuxing via OBS-Studio's built in remuxer as suggested by @c3r1c3 but the file was still broken at the exact same time as the original unremuxed version. Using VLC player to view.

What kind of broke are we talking about? Does it just show the same frame over and over? Does seeking past that point work?

I will be tracking it here: https://github.com/Xaymar/OBS-AMD-Advanced-Media-Framework/issues/100 . Please submit all log files, dump files, etc you've posted here to there so I can keep track of things.

Okay, I updated my previous post with the logs @Xaymar

I don't think the sync issue comes from the plugin, or if it does then I don't know how to fix something I have little control over (yet).
 

ball2hi

Member
What kind of broke are we talking about? Does it just show the same frame over and over? Does seeking past that point work?

I will be tracking it here: https://github.com/Xaymar/OBS-AMD-Advanced-Media-Framework/issues/100 . Please submit all log files, dump files, etc you've posted here to there so I can keep track of things.
It is frozen on the last video frame. Seeking after that time is impossible. Audio still continues to play.

I recently just went through a lot of things in my Win10. For example, I had a lot of things running in admin-mode and running at higher elevation (High instead of Normal affinity). I'll be looking into testing this in the future, but I am getting really great quality from x264 recording for the time being.

If I go back to h.264 I will make sure to post my stuff over at your Github.
 
I don't think the sync issue comes from the plugin, or if it does then I don't know how to fix something I have little control over (yet).

Yeah, I had the same issues again tonight. To deal with the skyrocketing bitrate issue, I simply restarted the stream, and my bitrate stayed where I set it for the rest of the stream. As for the out of sync audio, I can't imagine what could possibly be causing it on my end. And it's too bad, as I would totally use this encoder now if my audio wasn't out of sync.
 

ExugHblu

New Member
Hi all, thanks @Xaymar for your work. I try hard on finding good quality setup, but it seems i missing something. I tested CBR and CQP https://www.twitch.tv/exughblu/videos/all. CBR looks better that CQP. I need help for quality setup for non-partnered Twitch 1920x1080 50 fps and 2560x1080 50 fps streaming.
My hardware\software:
  • CPU: Intel G3258@4600 (2 core Haswell)
  • GPU: AMD Radeon R9 Fury Sapphire Nitro (stock factory, VCE 3.0)
  • RAM: 2x4GB DDR3 1600Mhz
  • SSD: Windows 7-64 Ultimate SP1, Steam, OBS
  • 1920x1080, 70 mhz, locked 70 fps ingame and in crimson
  • Driver Version: 16.9.2
  • OBS Studio Version: 0.16.2 64-Bit Windows
  • Plugin Version: 1.3.1.0
  • Streaming: Twitch non-partner
  • Game: Dota 2 on Vulkan (1920x1080) + webcam
  • Game 2: Lineage 2 (2560x1080) + webcam
Current "good" setup for Dota 2:

a20880dd6925.png


help me increase quality. i provide logs after testing our new setup.
 

Xaymar

Active Member
Hi all, thanks @Xaymar for your work. I try hard on finding good quality setup, but it seems i missing something. I tested CBR and CQP https://www.twitch.tv/exughblu/videos/all. CBR looks better that CQP. I need help for quality setup for non-partnered Twitch 1920x1080 50 fps and 2560x1080 50 fps streaming.
My hardware\software:
  • CPU: Intel G3258@4600 (2 core Haswell)
  • GPU: AMD Radeon R9 Fury Sapphire Nitro (stock factory, VCE 3.0)
  • RAM: 2x4GB DDR3 1600Mhz
  • SSD: Windows 7-64 Ultimate SP1, Steam, OBS
  • 1920x1080, 70 mhz, locked 70 fps ingame and in crimson
  • Driver Version: 16.9.2
  • OBS Studio Version: 0.16.2 64-Bit Windows
  • Plugin Version: 1.3.1.0
  • Streaming: Twitch non-partner
  • Game: Dota 2 on Vulkan (1920x1080) + webcam
  • Game 2: Lineage 2 (2560x1080) + webcam
Current "good" setup for Dota 2:

a20880dd6925.png


help me increase quality. i provide logs after testing our new setup.

Try using the Preset 'High Quality' or 'Indistinguishable'
 

ExugHblu

New Member
@Xaymar im loosing 50% frames on Hight Quality Preset right now after long time streaming.
https://www.twitch.tv/exughblu/v/92448434
im using Debug Tracing my log folder is empty
i only have debug.log on obs folder and cant understand how extract it from menu...
help->log files->...no reaction on any option.
http://pastebin.com/1sCPG7rY
tell me is that what you need or i must off that Debug Tracing?
 

Attachments

  • debug.log
    133.8 KB · Views: 26
Last edited:

Xaymar

Active Member
@Xaymar im loosing 50% frames on Hight Quality Preset right now after long time streaming.
https://www.twitch.tv/exughblu/v/92448434
im using Debug Tracing my log folder is empty
i only have debug.log on obs folder and cant understand how extract it from menu...
help->log files->...no reaction on any option.
http://pastebin.com/1sCPG7rY
tell me is that what you need or i must off that Debug Tracing?

That is not what I need and Debug Tracing needs to be on. Here's a Tutorial on how to upload a log file.
 

Xaymar

Active Member
Right, I reproduced the "corruption" bug and audio "desync" again and figured out where it comes from - and I have good and bad news.

The good news is that it's not the plugin.

The bad news is that it's the file muxer: It starts throwing away necessary data in order to catch up, but OBS never gives it the necessary data to catch up to the audio stream again. Which means that eventually it will just not have any video data to write due to the encoder being behind. (And yes, Jim, I have the necessary data to back up my claim - in total more than 20 gigabytes if you need it all.)

Edit: Further testing revealed that by pushing dts further into the past (offset by 4 frames instead of 2) I doubled the time in which it will store packets.
 
Last edited:

ExugHblu

New Member

Xaymar

Active Member
I check out that tutorial before and it dont work. My classic OBS+VCE make log files and folder did not empty.
https://www.twitch.tv/exughblu/v/92482848 at 01:13 i try to take log files and i do the same after that stream.
Maybe i should try to find it manually here https://gist.github.com/discover ?
People just share VCE 3.0 settings for Twitch that have solid 720p quality without dropped frames!

Log files with Debug Tracing are quite large (50mb and larger). OBS will take a few minutes to upload these, depending on your internet connection.
 

ExugHblu

New Member
I reinstall OBS studio to HDD, without Antivirus and plugin.
I again check out Microsoft Visual c+++ 2015
6089eda0c229.png

lets hope i can make that log file shortly... i cant
I check out Kaspersky Internet Security exceptions for all programs: There is no prohibitions for obs in reports.
2f4c20820c91.png

i create topic on obs studio support forum
 
Last edited:

Xaymar

Active Member
Thank you so much for this plugin. It works so much better than the AMD hardware encoder built into the latest OBS version.

Question though...do I still need to add an extra 500 or so bitrate to compensate? I used to stream at 2500 with the x264, do I need to use this plugin at 3000 to get the same quality as 2500 x264?

If you are on Driver 16.9.2, that should not be needed. You will get near identical quality to x264 preset normal when using Quality Preset Quality.
 
2500 kbps with the latest version of the encoder, using all of the other Twitch preset settings, at 1280x720 at 60 FPS looks bitrate starved, but it's definitely more than watchable. I'm using 2500 kbps at the moment, too. I would say that x264 Veryfast looks a bit better at 2500 kbps, but there isn't that much of a difference, imo. It's very close, but Veryfast still holds up better with fast motion.
 
Last edited:

Xaymar

Active Member
2500 kbps with the latest version of the encoder, using all of the other Twitch preset settings, at 1280x720 at 60 FPS looks bitrate starved, but it's definitely more than watchable. I'm using 2500 kbps at the moment, too. I would say that x264 Veryfast looks a bit better at 2500 kbps, but there isn't that much of a difference, imo. It's very close, but Veryfast still holds up better with fast motion.

If you have a B-Frames enabled card, x264 normal looks pretty close to what you will get under motion. But you'll never get close to software encoding, too many things to synchronize that would slow you down in hardware encoding.

Edit: You people respond faster than i can click.

I'm currently on 16.7.3 (which is latest for me since I don't have a discrete GPU for the hotfix drivers). Is that a problem at all?

Yes, but check your PMs as I will send you the necessary runtime files. Can't share them openly due to the license on them.
 
If you have a B-Frames enabled card, x264 normal looks pretty close to what you will get under motion.

Oh cool! I was hoping that the RX 490 would be coming out this year, as I'm long overdue for a GPU upgrade. It doesn't look like that's happening, though. Even with what I get with my R9 290, I would recommend the encoder to anyone who is looking to stream (provided the remaining issues are resolved). The performance hit with x264 just isn't worth it for what you get in return in terms of image quality for someone just starting out, imo.
 

Xaymar

Active Member
Oh cool! I was hoping that the RX 490 would be coming out this year, as I'm long overdue for a GPU upgrade. Even with what I get with my R9 290, I would recommend the encoder to anyone who is looking to stream (provided the remaining issues are resolved). The performance hit with x264 just isn't worth it for what you get in return in terms of image quality for someone just starting out, imo.

The overall performance hit with x264 is not worth it. If you get near identical quality with something that does it 120 times faster, what's the point? Nobody will notice that quality drop anyway and for high quality and lossless recording you'll use CQP or CRF anyway.
 
The overall performance hit with x264 is not worth it. If you get near identical quality with something that does it 120 times faster, what's the point? Nobody will notice that quality drop anyway and for high quality and lossless recording you'll use CQP or CRF anyway.
Yep, completely agree.

Edit: @Xaymar What settings would you recommend for B-frames? B-picture Reference enabled and what else? Thanks!

Edit 2: Actually, I'm looking through your config page on Github now. I'll try what you've listed there.
 
Last edited:
Status
Not open for further replies.
Top