cancel
Showing results for 
Search instead for 
Did you mean: 

General Discussions

benman2785
Grandmaster
Grandmaster

Re: 720p50 3500kbps twitch.tv OBS

1. this is not 720p60
2. i need the orginal file
3. yes NVenc is better - but it also uses more CPU (and you dont have any more CPU left)
4. Youtube alters the videofile: just check the file in next post

PC: R7 2700X @4.1GHz + RX 580 4G (1500MHz/2000MHz CL16) + 32G DDR4-3200CL14 + 144hz 1ms FS P + 75hz 1ms FS
Laptop: R5 2500U @30W + RX 560X (1400MHz/1500MHz) + 16G DDR4-2400CL16 + 120Hz 3ms FS
0 Kudos
benman2785
Grandmaster
Grandmaster

Re: 720p50 3500kbps twitch.tv OBS

@SoloMattu 

EDIT:
had issues with OBS - it used VBR instead CBR in my last videos
have fixed that now - videos comming soon

EDIT2:

here two videos:
AMF 720p60@4500kbps
http://benmanshafen.de/obs/720p60-1613517813.flv

x264 900p60@6000kbps (NVenc will look 2-3% worse)
http://benmanshafen.de/obs/900p50-1613517942.flv

Witcher 3 is hard to encode - thats why even with x264 you will have problems with the leaves on the trees etc

PC: R7 2700X @4.1GHz + RX 580 4G (1500MHz/2000MHz CL16) + 32G DDR4-3200CL14 + 144hz 1ms FS P + 75hz 1ms FS
Laptop: R5 2500U @30W + RX 560X (1400MHz/1500MHz) + 16G DDR4-2400CL16 + 120Hz 3ms FS
0 Kudos
benman2785
Grandmaster
Grandmaster

Re: 720p50 3500kbps twitch.tv OBS

best i could get for Witcher 3 in short time was this:

benman2785_0-1613518614736.png

http://benmanshafen.de/obs/720p60-1613518426.flv

PC: R7 2700X @4.1GHz + RX 580 4G (1500MHz/2000MHz CL16) + 32G DDR4-3200CL14 + 144hz 1ms FS P + 75hz 1ms FS
Laptop: R5 2500U @30W + RX 560X (1400MHz/1500MHz) + 16G DDR4-2400CL16 + 120Hz 3ms FS
0 Kudos
SoloMattu
Adept I
Adept I

Re: 720p50 3500kbps twitch.tv OBS

Thanks, it looks better now, but i have some question about three parameters, how works the VBV Buffer Size and the VBV Buffer Initial Fullness, how i know what to put in each one? and my other question is if the Maximum Reference Frames are like b-frames on Nvenc/x264 or are other type of frames?

benman2785
Grandmaster
Grandmaster

Re: 720p50 3500kbps twitch.tv OBS

VBV Buffer is simply the Buffer ;)
the higher the buffer the higher the max peak 
sometimes a frame needs a bigger bitrate - thats what the buffer is for
"standard" for 4500kbps is 4500kb - but in CBR this will create peaks to up to 8000kbps and therefore will result in a very high bitrate drop to in worst case down to 500kbps
so you set a more strict buffer - like 1250kb or 1500kb for 4500kbps - this will "lower maximal quality of a single frame - but maintain a better quality overall" because your max peak will be around 5500kbps and therefore it will drop in worst case to 3500kbps

buffer initial fullness - is actually only important when the buffer is flushed or at the start of the stream - yet it can also create higher peaks when set to 100% // usually anthing between 60-75% will provide a more "constant quality"

no reference frames are not b-frames
ref frames are the number of "last frames" that a new frame can refer to.
b-frames on the other hand are frames that can refer in both ways: previous frame and upcoming next frame
afaik AMD AMFenc only supports b-frames higher than 1 for their R9 380(X) and R9 385 GPUs (they can do up to 3 b-frames)

ps glad i could help a little
pps i dont know how good AMFenc is for RDNA2 (as i am waiting until the prices are "normal" again)

PC: R7 2700X @4.1GHz + RX 580 4G (1500MHz/2000MHz CL16) + 32G DDR4-3200CL14 + 144hz 1ms FS P + 75hz 1ms FS
Laptop: R5 2500U @30W + RX 560X (1400MHz/1500MHz) + 16G DDR4-2400CL16 + 120Hz 3ms FS
rursi
Adept I
Adept I

Re: 720p50 3500kbps twitch.tv OBS

benman2785 hello! Are u try new obs plugin StreamFX 0.10.0a2 ( AMD AMF - AVC) via ffmpeg.

Maby u can give good ffmpeg settings.

 

i don't know I write correct settings ?

amddd.png

 

but quality much beter then old AMF/AVC

0 Kudos
benman2785
Grandmaster
Grandmaster

Re: 720p50 3500kbps twitch.tv OBS

i havent used this - but i will try now ;)

PC: R7 2700X @4.1GHz + RX 580 4G (1500MHz/2000MHz CL16) + 32G DDR4-3200CL14 + 144hz 1ms FS P + 75hz 1ms FS
Laptop: R5 2500U @30W + RX 560X (1400MHz/1500MHz) + 16G DDR4-2400CL16 + 120Hz 3ms FS
0 Kudos
rursi
Adept I
Adept I

Re: 720p50 3500kbps twitch.tv OBS

impatient waiting for your tests results & settings.

0 Kudos
benman2785
Grandmaster
Grandmaster

Re: 720p50 3500kbps twitch.tv OBS

@rursi 

so far i can say i am not able to set custom ffmpeg options xD - but i already asked Xaymar how to set them properly - so i also have to wait for an anwser ;)

PC: R7 2700X @4.1GHz + RX 580 4G (1500MHz/2000MHz CL16) + 32G DDR4-3200CL14 + 144hz 1ms FS P + 75hz 1ms FS
Laptop: R5 2500U @30W + RX 560X (1400MHz/1500MHz) + 16G DDR4-2400CL16 + 120Hz 3ms FS
0 Kudos
benman2785
Grandmaster
Grandmaster

Re: 720p50 3500kbps twitch.tv OBS

ok here are the possible options for StreamFX ffmpeg

h264_amf AVOptions:
  -usage             <int>        E..V...... Encoder Usage (from 0 to 3) (default transcoding)
     transcoding     0            E..V...... Generic Transcoding
     ultralowlatency 1            E..V...... 
     lowlatency      2            E..V...... 
     webcam          3            E..V...... Webcam
  -profile           <int>        E..V...... Profile (from 66 to 257) (default main)
     main            77           E..V...... 
     high            100          E..V...... 
     constrained_baseline 256          E..V...... 
     constrained_high 257          E..V...... 
  -level             <int>        E..V...... Profile Level (from 0 to 62) (default auto)
     auto            0            E..V...... 
     1.0             10           E..V...... 
     1.1             11           E..V...... 
     1.2             12           E..V...... 
     1.3             13           E..V...... 
     2.0             20           E..V...... 
     2.1             21           E..V...... 
     2.2             22           E..V...... 
     3.0             30           E..V...... 
     3.1             31           E..V...... 
     3.2             32           E..V...... 
     4.0             40           E..V...... 
     4.1             41           E..V...... 
     4.2             42           E..V...... 
     5.0             50           E..V...... 
     5.1             51           E..V...... 
     5.2             52           E..V...... 
     6.0             60           E..V...... 
     6.1             61           E..V...... 
     6.2             62           E..V...... 
  -quality           <int>        E..V...... Quality Preference (from 0 to 2) (default speed)
     speed           1            E..V...... Prefer Speed
     balanced        0            E..V...... Balanced
     quality         2            E..V...... Prefer Quality
  -rc                <int>        E..V...... Rate Control Method (from -1 to 3) (default -1)
     cqp             0            E..V...... Constant Quantization Parameter
     cbr             1            E..V...... Constant Bitrate
     vbr_peak        2            E..V...... Peak Contrained Variable Bitrate
     vbr_latency     3            E..V...... Latency Constrained Variable Bitrate
  -enforce_hrd       <boolean>    E..V...... Enforce HRD (default false)
  -filler_data       <boolean>    E..V...... Filler Data Enable (default false)
  -vbaq              <boolean>    E..V...... Enable VBAQ (default false)
  -frame_skipping    <boolean>    E..V...... Rate Control Based Frame Skip (default false)
  -qp_i              <int>        E..V...... Quantization Parameter for I-Frame (from -1 to 51) (default -1)
  -qp_p              <int>        E..V...... Quantization Parameter for P-Frame (from -1 to 51) (default -1)
  -qp_b              <int>        E..V...... Quantization Parameter for B-Frame (from -1 to 51) (default -1)
  -preanalysis       <boolean>    E..V...... Pre-Analysis Mode (default false)
  -max_au_size       <int>        E..V...... Maximum Access Unit Size for rate control (in bits) (from 0 to INT_MAX) (default 0)
  -header_spacing    <int>        E..V...... Header Insertion Spacing (from -1 to 1000) (default -1)
  -bf_delta_qp       <int>        E..V...... B-Picture Delta QP (from -10 to 10) (default 4)
  -bf_ref            <boolean>    E..V...... Enable Reference to B-Frames (default true)
  -bf_ref_delta_qp   <int>        E..V...... Reference B-Picture Delta QP (from -10 to 10) (default 4)
  -intra_refresh_mb  <int>        E..V...... Intra Refresh MBs Number Per Slot in Macroblocks (from 0 to INT_MAX) (default 0)
  -coder             <int>        E..V...... Coding Type (from 0 to 2) (default auto)
     auto            0            E..V...... Automatic
     cavlc           2            E..V...... Context Adaptive Variable-Length Coding
     cabac           1            E..V...... Context Adaptive Binary Arithmetic Coding
  -me_half_pel       <boolean>    E..V...... Enable ME Half Pixel (default true)
  -me_quarter_pel    <boolean>    E..V...... Enable ME Quarter Pixel (default true)
  -aud               <boolean>    E..V...... Inserts AU Delimiter NAL unit (default false)
  -log_to_dbg        <boolean>    E..V...... Enable AMF logging to debug output (default false)

 

i dont know if we can use other options like "me_range=" etc

so the only useful options would be
-quality=2 -profile=100 -level=42 -rc=1 -preanalysis=true -coder=1

but actually you would only need: -coder=1
as you can set the other options via gui

if i have more time i will test "standard" ffmpeg options to squeeze out more quality

PC: R7 2700X @4.1GHz + RX 580 4G (1500MHz/2000MHz CL16) + 32G DDR4-3200CL14 + 144hz 1ms FS P + 75hz 1ms FS
Laptop: R5 2500U @30W + RX 560X (1400MHz/1500MHz) + 16G DDR4-2400CL16 + 120Hz 3ms FS