screencastService: Use 'screen' encoder profile for openH264
There are "camera" and "screen", the former being the default. Using the later should slightly increase image quality. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3259>
This commit is contained in:
parent
796f347fa7
commit
490ecc536a
@ -38,7 +38,7 @@ const PIPELINES = [
|
||||
'capsfilter caps=video/x-raw(memory:DMABuf),max-framerate=%F/1 ! \
|
||||
glupload ! glcolorconvert ! gldownload ! \
|
||||
queue ! \
|
||||
openh264enc deblocking=off background-detection=false complexity=low adaptive-quantization=false qp-max=26 qp-min=26 multi-thread=%T slice-mode=auto ! \
|
||||
openh264enc deblocking=off background-detection=false complexity=low adaptive-quantization=false qp-max=26 qp-min=26 multi-thread=%T slice-mode=auto usage-type=screen ! \
|
||||
queue ! \
|
||||
h264parse ! \
|
||||
mp4mux fragment-duration=500 fragment-mode=first-moov-then-finalise',
|
||||
@ -50,7 +50,7 @@ const PIPELINES = [
|
||||
'capsfilter caps=video/x-raw,max-framerate=%F/1 ! \
|
||||
videoconvert chroma-mode=none dither=none matrix-mode=output-only n-threads=%T ! \
|
||||
queue ! \
|
||||
openh264enc deblocking=off background-detection=false complexity=low adaptive-quantization=false qp-max=26 qp-min=26 multi-thread=%T slice-mode=auto ! \
|
||||
openh264enc deblocking=off background-detection=false complexity=low adaptive-quantization=false qp-max=26 qp-min=26 multi-thread=%T slice-mode=auto usage-type=screen ! \
|
||||
queue ! \
|
||||
h264parse ! \
|
||||
mp4mux fragment-duration=500 fragment-mode=first-moov-then-finalise',
|
||||
|
Loading…
x
Reference in New Issue
Block a user