Status
Not open for further replies.

GargDrake

New Member
You can't install this, since it's being removed the second it is installed. this is due to "security risk", and it looks like the software hasnt been sent / reported to the different antivirus softwares enough to be seen as a safe software and is instead being treaded as a threat.. or at least something like that.

It won't be installed because both windows defender and other softwares now see it as a threat for some weird reason.
 

jinugc

New Member
I am looking for a shader like the image below for a curved view .
IMG_4921 2.jpg

From my search i got some script like below .
uniform float cylinder_factor = 0.1;
uniform float background_cut = 0.1;

float4 mainImage(VertData v_in) : TARGET
{
float2 uv = v_in.uv;
uv.x -= 0.5;
float bend = sqrt(1.0 - uv.x*uv.x*4);
uv.y = uv.y/(1.0 - cylinder_factor)-bend*cylinder_factor;
uv.y-=cylinder_factor/2;
uv.x /= 2;
uv.x += 0.5;
float4 front_color = image.Sample(textureSampler, uv);
front_color.rgb *= bend/2+0.5;
if(front_color.a >= 1.0)
return front_color;

uv = v_in.uv;
uv.x -= 0.5;
if(abs(uv.x) < background_cut)
return front_color;
uv.y = uv.y/(1.0 - cylinder_factor)+bend*cylinder_factor;
uv.y-=cylinder_factor/2;
uv.x /= 2;
if(uv.x > 0){
uv.x = 1.0 - uv.x;
}else{
uv.x = 0 - uv.x;
}

float4 back_color = image.Sample(textureSampler, uv);
back_color.rgb *= 0.5-bend/2;
front_color.rgb *= front_color.a;
front_color.rgb += back_color.rgb * (1.0 - front_color.a) * back_color.a;
front_color.a = back_color.a * (1.0 - front_color.a) + front_color.a;
return front_color;
}
 

Attachments

  • IMG_4921 2.jpg
    IMG_4921 2.jpg
    34.6 KB · Views: 30

AptiX1

New Member
Have a nice day, everyone. Today I noticed that StreamFX has stopped streaming. Writes "Output error.", Although everything worked flawlessly before. I set everything to default, but it didn't help. Reinstalling the plugin didn't help either. Am I doing something wrong?
image_152.png

Ed. I will also add that with standard Nvenc(new) it works without problems.

10:21:57.178: [StreamFX] [h264_nvenc] Initializing...
10:21:57.179: [StreamFX] [h264_nvenc] FFmpeg:
10:21:57.179: [StreamFX] [h264_nvenc] Custom Settings:
10:21:57.179: [StreamFX] [h264_nvenc] Standard Compliance: Strict
10:21:57.179: [StreamFX] [h264_nvenc] Threading: Slice & Frame (with 1 threads)
10:21:57.179: [StreamFX] [h264_nvenc] Video:
10:21:57.179: [StreamFX] [h264_nvenc] Texture: 1920x1080 nv12 BT.709 tv
10:21:57.179: [StreamFX] [h264_nvenc] Framerate: 60/1 (60.000000 FPS)
10:21:57.179: [StreamFX] [h264_nvenc] Keyframes:
10:21:57.179: [StreamFX] [h264_nvenc] Distance: 120 frames
10:21:57.179: [StreamFX] [h264_nvenc] Nvidia NVENC:
10:21:57.179: [StreamFX] [h264_nvenc] Preset: ldkfs
10:21:57.179: [StreamFX] [h264_nvenc] Rate Control: cbr_hq
10:21:57.179: [StreamFX] [h264_nvenc] Two Pass: Enabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Look-Ahead: 0 Frames <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Adaptive I-Frames: Enabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Adaptive B-Frames: Enabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Bitrate:
10:21:57.179: [StreamFX] [h264_nvenc] Target: 6000000 bits/sec
10:21:57.179: [StreamFX] [h264_nvenc] Minimum: 0 bits/sec <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Maximum: 0 bits/sec <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Buffer: 12000000 bits
10:21:57.179: [StreamFX] [h264_nvenc] Quality:
10:21:57.179: [StreamFX] [h264_nvenc] Target: 0 <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Minimum: -1
10:21:57.179: [StreamFX] [h264_nvenc] Maximum: -1
10:21:57.179: [StreamFX] [h264_nvenc] Quantization Parameters:
10:21:57.179: [StreamFX] [h264_nvenc] I-Frame: -1 <Default>
10:21:57.179: [StreamFX] [h264_nvenc] P-Frame: -1 <Default>
10:21:57.179: [StreamFX] [h264_nvenc] B-Frame: -1 <Default>
10:21:57.179: [StreamFX] [h264_nvenc] B-Frames: -1 Frames
10:21:57.179: [StreamFX] [h264_nvenc] Reference Mode: ldkfs <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Adaptive Quantization:
10:21:57.179: [StreamFX] [h264_nvenc] Spatial AQ: Disabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Strength: 8 <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Temporal AQ: Disabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Other:
10:21:57.179: [StreamFX] [h264_nvenc] Zero Latency: Disabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Weighted Prediction: Disabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Non-reference P-Frames: Disabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Strict GOP: Disabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Access Unit Delimiters: Disabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] Bluray Compatibility: Disabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] A53 Closed Captions: Enabled <Default>
10:21:57.179: [StreamFX] [h264_nvenc] DPB Size: 0 Frames <Default>
10:21:57.179: [StreamFX] [h264_nvenc] H.264/AVC:
10:21:57.180: [StreamFX] [h264_nvenc] Profile: high
10:21:57.180: [StreamFX] [h264_nvenc] Level: ldkfs <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Initializing...
10:21:57.190: [StreamFX] [h264_nvenc] FFmpeg:
10:21:57.190: [StreamFX] [h264_nvenc] Custom Settings:
10:21:57.190: [StreamFX] [h264_nvenc] Standard Compliance: Strict
10:21:57.190: [StreamFX] [h264_nvenc] Threading: None (with 1 threads)
10:21:57.190: [StreamFX] [h264_nvenc] Video:
10:21:57.190: [StreamFX] [h264_nvenc] Input: 1920x1080 nv12 BT.709 Partial
10:21:57.190: [StreamFX] [h264_nvenc] Output: 1920x1080 nv12 BT.709 Partial
10:21:57.190: [StreamFX] [h264_nvenc] On GPU Index: -1
10:21:57.190: [StreamFX] [h264_nvenc] Framerate: 60/1 (60.000000 FPS)
10:21:57.190: [StreamFX] [h264_nvenc] Keyframes:
10:21:57.190: [StreamFX] [h264_nvenc] Distance: 120 frames
10:21:57.190: [StreamFX] [h264_nvenc] Nvidia NVENC:
10:21:57.190: [StreamFX] [h264_nvenc] Preset: ldkfs
10:21:57.190: [StreamFX] [h264_nvenc] Rate Control: cbr_hq
10:21:57.190: [StreamFX] [h264_nvenc] Two Pass: Enabled <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Look-Ahead: 0 Frames <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Adaptive I-Frames: Enabled <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Adaptive B-Frames: Enabled <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Bitrate:
10:21:57.190: [StreamFX] [h264_nvenc] Target: 6000000 bits/sec
10:21:57.190: [StreamFX] [h264_nvenc] Minimum: 0 bits/sec <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Maximum: 0 bits/sec <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Buffer: 12000000 bits
10:21:57.190: [StreamFX] [h264_nvenc] Quality:
10:21:57.190: [StreamFX] [h264_nvenc] Target: 0 <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Minimum: -1
10:21:57.190: [StreamFX] [h264_nvenc] Maximum: -1
10:21:57.190: [StreamFX] [h264_nvenc] Quantization Parameters:
10:21:57.190: [StreamFX] [h264_nvenc] I-Frame: -1 <Default>
10:21:57.190: [StreamFX] [h264_nvenc] P-Frame: -1 <Default>
10:21:57.190: [StreamFX] [h264_nvenc] B-Frame: -1 <Default>
10:21:57.190: [StreamFX] [h264_nvenc] B-Frames: -1 Frames
10:21:57.190: [StreamFX] [h264_nvenc] Reference Mode: ldkfs <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Adaptive Quantization:
10:21:57.190: [StreamFX] [h264_nvenc] Spatial AQ: Disabled <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Strength: 8 <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Temporal AQ: Disabled <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Other:
10:21:57.190: [StreamFX] [h264_nvenc] Zero Latency: Disabled <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Weighted Prediction: Disabled <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Non-reference P-Frames: Disabled <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Strict GOP: Disabled <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Access Unit Delimiters: Disabled <Default>
10:21:57.190: [StreamFX] [h264_nvenc] Bluray Compatibility: Disabled <Default>
10:21:57.190: [StreamFX] [h264_nvenc] A53 Closed Captions: Enabled <Default>
10:21:57.191: [StreamFX] [h264_nvenc] DPB Size: 0 Frames <Default>
10:21:57.191: [StreamFX] [h264_nvenc] H.264/AVC:
10:21:57.191: [StreamFX] [h264_nvenc] Profile: high
10:21:57.191: [StreamFX] [h264_nvenc] Level: ldkfs <Default>
10:21:57.403: [StreamFX] Unexpected exception in function '_create': Invalid argument.
10:21:57.403: Stream output type 'rtmp_output' failed to start!
 

Gitago

Member
I am having trouble installing the new update onto a portable version of OBS Studios... I recall there being an option to download a zip file of StreamFX to manually install into any folder... but this time around I am only seeing an automatic install which picks the directory for you... which happens to be the wrong one in my case...

Is there anywhere to find a zipped version of the plugin thats ready for manual install?
 

Spectre

New Member
So I have tried using this using the settings EposVox had setup in his video: https://www.youtube.com/watch?v=B19P7giUtWc and while it has been working I have gotten an ecoding error twice now after streaming for a couple hours. Here is the lines from the log when it generates the error:

00:04:08.012: [StreamFX] Unexpected exception in function '_encode_texture': Failed to open shared texture resource..
00:04:08.012: Error encoding with encoder 'streaming_h264'
00:04:08.012: [rtmp stream: 'adv_stream'] Encoder error, disconnecting

Didn't get the log file from the first time but it was about the time time streaming before it crashed. This happened after I changed from one scene to another but I had already done that previously during the stream with no issues. I've gone back through the guide and reapplied the settings from there and will try again tonight. Just curious if anything stands out that would cause this error.
 

Attachments

  • 2021-05-20 22-31-23.txt
    48.3 KB · Views: 31

Spectre

New Member
Just as an update since I went through and redid all the settings from the guide and it hasn't crashed yet. Did two streams and no issues.
 

DeeJay1972

New Member
how can I delete this absolutely cleanly on my Mac OS ?
I have Delete plugin folder Stream fx in Library section but when i Start the obs Studio the Stream fx is allways there
 
Can anyone help me?
Im trying to use the encoder for my radeon, but i got the error:
[StreamFX] Unexpected exception in function '_create': Encoder not found.
 

ALIEN_I_AM

New Member
Awesome Tool Xaymar, good job.
I wanted to ask if there is a standalone Version/Plugin only for the Source Mirror Option ? Because thats all i really need from the StreamFX Package. Thanks in advance for the reply !!!
 

Xaymar

Active Member
Xaymar updated StreamFX (for OBS® Studio) with a new update entry:

StreamFX 0.10.1

Enjoying the benefits of StreamFX? Then support it on Github Sponsors or Patreon!
The StreamFX project is only possible through your support, either as a translator or as a Supporter on either Patreon or Github. Your support helps keep StreamFX free from Ads, even if it's just translating a few lines per month, or 1$ per month. If continuous support isn't your thing, maybe a one-time donation via...

Read the rest of this update entry...
 

t2wave

New Member
Hm, I'm noticing Dynamic Masks are not working and are not an option as a filter any longer. Has this been removed?
 
Status
Not open for further replies.
Top