Skip to content

Instantly share code, notes, and snippets.

@kkartaltepe
Last active April 9, 2022 17:57
Show Gist options
  • Save kkartaltepe/c0ae86821e2ca3c5afb5bc968df695b2 to your computer and use it in GitHub Desktop.
Save kkartaltepe/c0ae86821e2ca3c5afb5bc968df695b2 to your computer and use it in GitHub Desktop.
{
"id": 98,
"type": "PipeWire:Interface:Node",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"max-input-ports": 0,
"max-output-ports": 1,
"change-mask": [
"input-ports",
"output-ports",
"state",
"props",
"params"
],
"n-input-ports": 0,
"n-output-ports": 1,
"state": "running",
"error": null,
"props": {
"media.name": "meta-screen-cast-src",
"stream.is-live": true,
"node.name": "gnome-shell",
"node.driver": true,
"media.class": "Stream/Output/Video",
"client.id": 100,
"object.id": 98,
"object.serial": 1174
},
"params": {
"PropInfo": [],
"Props": []
}
}
}
{
"id": 97,
"type": "PipeWire:Interface:Port",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"direction": "output",
"change-mask": [
"props",
"params"
],
"props": {
"port.id": 0,
"port.direction": "out",
"port.name": "out_0",
"node.id": 98,
"object.id": 97,
"object.serial": 1175
},
"params": {
"EnumFormat": [
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRx",
"modifier": 72057594037927940,
"size": {
"width": 2560,
"height": 1440
},
"framerate": {
"num": 0,
"denom": 1
},
"maxFramerate": {
"default": {
"num": 4718689,
"denom": 32768
},
"min": {
"num": 1,
"denom": 1
},
"max": {
"num": 4718689,
"denom": 32768
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRx",
"size": {
"width": 2560,
"height": 1440
},
"framerate": {
"num": 0,
"denom": 1
},
"maxFramerate": {
"default": {
"num": 4718689,
"denom": 32768
},
"min": {
"num": 1,
"denom": 1
},
"max": {
"num": 4718689,
"denom": 32768
}
}
}
],
"Meta": [
{
"type": "Busy",
"size": 8
},
{
"type": "VideoCrop",
"size": 16
},
{
"type": "Cursor",
"size": 589872
}
],
"IO": [
{
"id": "Buffers",
"size": 8
}
],
"Format": [
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRx",
"modifier": 72057594037927940,
"size": {
"width": 2560,
"height": 1440
},
"framerate": {
"num": 0,
"denom": 1
},
"maxFramerate": {
"num": 4718689,
"denom": 32768
}
}
],
"Buffers": [
{
"buffers": {
"default": 16,
"min": 2,
"max": 16
},
"blocks": 1,
"size": 14745600,
"stride": 10240,
"align": 16,
"dataType": {
"default": 8
}
}
],
"Latency": []
}
}
}
{
"id": 102,
"type": "PipeWire:Interface:Node",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"max-input-ports": 1,
"max-output-ports": 0,
"change-mask": [
"input-ports",
"output-ports",
"state",
"props",
"params"
],
"n-input-ports": 1,
"n-output-ports": 0,
"state": "running",
"error": null,
"props": {
"media.type": "Video",
"media.category": "Capture",
"media.role": "Screen",
"media.name": "OBS Studio",
"stream.is-live": true,
"node.name": "obs",
"node.target": 98,
"node.autoconnect": true,
"media.class": "Stream/Input/Video",
"client.id": 68,
"object.id": 102,
"object.serial": 1177
},
"params": {
"PropInfo": [],
"Props": []
}
}
}
{
"id": 99,
"type": "PipeWire:Interface:Port",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"direction": "input",
"change-mask": [
"props",
"params"
],
"props": {
"port.id": 0,
"port.direction": "in",
"port.name": "in_0",
"node.id": 102,
"object.id": 99,
"object.serial": 1178
},
"params": {
"EnumFormat": [
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRA",
"modifier": {
"default": 216172782119018500,
"alt1": 216172782119018500,
"alt2": 216172782119018530,
"alt3": 216172782119018530,
"alt4": 216172782119018530,
"alt5": 216172782119018530,
"alt6": 216172782119018530,
"alt7": 216172782127263740,
"alt8": 216172782127263780,
"alt9": 216172782127263780,
"alt10": 216172782127263780,
"alt11": 216172782127263780,
"alt12": 216172782127263780,
"alt13": 0,
"alt14": 72057594037927940
},
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "RGBA",
"modifier": {
"default": 216172782119018500,
"alt1": 216172782119018500,
"alt2": 216172782119018530,
"alt3": 216172782119018530,
"alt4": 216172782119018530,
"alt5": 216172782119018530,
"alt6": 216172782119018530,
"alt7": 216172782127263740,
"alt8": 216172782127263780,
"alt9": 216172782127263780,
"alt10": 216172782127263780,
"alt11": 216172782127263780,
"alt12": 216172782127263780,
"alt13": 0,
"alt14": 72057594037927940
},
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRx",
"modifier": {
"default": 216172782119018500,
"alt1": 216172782119018500,
"alt2": 216172782119018530,
"alt3": 216172782119018530,
"alt4": 216172782119018530,
"alt5": 216172782119018530,
"alt6": 216172782119018530,
"alt7": 216172782127263740,
"alt8": 216172782127263780,
"alt9": 216172782127263780,
"alt10": 216172782127263780,
"alt11": 216172782127263780,
"alt12": 216172782127263780,
"alt13": 0,
"alt14": 72057594037927940
},
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "RGBx",
"modifier": {
"default": 216172782119018500,
"alt1": 216172782119018500,
"alt2": 216172782119018530,
"alt3": 216172782119018530,
"alt4": 216172782119018530,
"alt5": 216172782119018530,
"alt6": 216172782119018530,
"alt7": 216172782127263740,
"alt8": 216172782127263780,
"alt9": 216172782127263780,
"alt10": 216172782127263780,
"alt11": 216172782127263780,
"alt12": 216172782127263780,
"alt13": 0,
"alt14": 72057594037927940
},
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRA",
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "RGBA",
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRx",
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
}
],
"Meta": [
{
"type": "Busy",
"size": 8
},
{
"type": "VideoCrop",
"size": 16
},
{
"type": "Cursor",
"size": {
"default": 16432,
"min": 52,
"max": 4194352
}
}
],
"IO": [
{
"id": "Buffers",
"size": 8
}
],
"Format": [
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRx",
"modifier": 72057594037927940,
"size": {
"width": 2560,
"height": 1440
},
"framerate": {
"num": 0,
"denom": 1
},
"maxFramerate": {
"num": 4718689,
"denom": 32768
}
}
],
"Buffers": [
{
"dataType": 14
}
],
"Latency": []
}
}
}
{
"id": 114,
"type": "PipeWire:Interface:Node",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"max-input-ports": 0,
"max-output-ports": 1,
"change-mask": [
"input-ports",
"output-ports",
"state",
"props",
"params"
],
"n-input-ports": 0,
"n-output-ports": 1,
"state": "running",
"error": null,
"props": {
"media.name": "kwin-screencast-DVI-D-1",
"stream.is-live": true,
"node.name": "kwin_wayland",
"node.driver": true,
"media.class": "Stream/Output/Video",
"client.id": 73,
"object.id": 114,
"object.serial": 1445
},
"params": {
"PropInfo": [],
"Props": []
}
}
}
{
"id": 88,
"type": "PipeWire:Interface:Port",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"direction": "output",
"change-mask": [
"props",
"params"
],
"props": {
"port.id": 0,
"port.direction": "out",
"port.name": "out_0",
"node.id": 114,
"object.id": 88,
"object.serial": 1446
},
"params": {
"EnumFormat": [
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": {
"default": "BGRA",
"alt1": "BGRA",
"alt2": "BGRx"
},
"modifier": {
"default": 72057594037927940,
"alt1": 72057594037927940
},
"size": {
"width": 2560,
"height": 1440
},
"framerate": {
"num": 0,
"denom": 1
},
"maxFramerate": {
"default": {
"num": 25,
"denom": 1
},
"min": {
"num": 1,
"denom": 1
},
"max": {
"num": 25,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": {
"default": "BGRA",
"alt1": "BGRA",
"alt2": "BGRx"
},
"size": {
"width": 2560,
"height": 1440
},
"framerate": {
"num": 0,
"denom": 1
},
"maxFramerate": {
"default": {
"num": 25,
"denom": 1
},
"min": {
"num": 1,
"denom": 1
},
"max": {
"num": 25,
"denom": 1
}
}
}
],
"Meta": [
{
"type": "Busy",
"size": 8
},
{
"type": "Cursor",
"size": 262192
},
{
"type": "VideoDamage",
"size": {
"default": 256,
"min": 16,
"max": 256
}
}
],
"IO": [
{
"id": "Buffers",
"size": 8
}
],
"Format": [
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRA",
"modifier": 72057594037927940,
"size": {
"width": 2560,
"height": 1440
},
"framerate": {
"num": 0,
"denom": 1
},
"maxFramerate": {
"num": 25,
"denom": 1
}
}
],
"Buffers": [
{
"id-00020003": {
"width": 2560,
"height": 1440
},
"buffers": {
"default": 16,
"min": 2,
"max": 16
},
"blocks": 1,
"stride": 10240,
"size": 14745600,
"align": 16,
"dataType": {
"default": 8
}
}
],
"Latency": []
}
}
}
{
"id": 109,
"type": "PipeWire:Interface:Node",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"max-input-ports": 1,
"max-output-ports": 0,
"change-mask": [
"input-ports",
"output-ports",
"state",
"props",
"params"
],
"n-input-ports": 1,
"n-output-ports": 0,
"state": "running",
"error": null,
"props": {
"media.type": "Video",
"media.category": "Capture",
"media.role": "Screen",
"media.name": "OBS Studio",
"stream.is-live": true,
"node.name": "obs",
"node.target": 114,
"node.autoconnect": true,
"media.class": "Stream/Input/Video",
"client.id": 116,
"object.id": 109,
"object.serial": 1448
},
"params": {
"PropInfo": [],
"Props": []
}
}
}
{
"id": 110,
"type": "PipeWire:Interface:Port",
"version": 3,
"permissions": [
"r",
"w",
"x",
"m"
],
"info": {
"direction": "input",
"change-mask": [
"props",
"params"
],
"props": {
"port.id": 0,
"port.direction": "in",
"port.name": "in_0",
"node.id": 109,
"object.id": 110,
"object.serial": 1449
},
"params": {
"EnumFormat": [
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRA",
"modifier": {
"default": 216172782119018500,
"alt1": 216172782119018500,
"alt2": 216172782119018530,
"alt3": 216172782119018530,
"alt4": 216172782119018530,
"alt5": 216172782119018530,
"alt6": 216172782119018530,
"alt7": 216172782127263740,
"alt8": 216172782127263780,
"alt9": 216172782127263780,
"alt10": 216172782127263780,
"alt11": 216172782127263780,
"alt12": 216172782127263780,
"alt13": 0,
"alt14": 72057594037927940
},
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "RGBA",
"modifier": {
"default": 216172782119018500,
"alt1": 216172782119018500,
"alt2": 216172782119018530,
"alt3": 216172782119018530,
"alt4": 216172782119018530,
"alt5": 216172782119018530,
"alt6": 216172782119018530,
"alt7": 216172782127263740,
"alt8": 216172782127263780,
"alt9": 216172782127263780,
"alt10": 216172782127263780,
"alt11": 216172782127263780,
"alt12": 216172782127263780,
"alt13": 0,
"alt14": 72057594037927940
},
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRx",
"modifier": {
"default": 216172782119018500,
"alt1": 216172782119018500,
"alt2": 216172782119018530,
"alt3": 216172782119018530,
"alt4": 216172782119018530,
"alt5": 216172782119018530,
"alt6": 216172782119018530,
"alt7": 216172782127263740,
"alt8": 216172782127263780,
"alt9": 216172782127263780,
"alt10": 216172782127263780,
"alt11": 216172782127263780,
"alt12": 216172782127263780,
"alt13": 0,
"alt14": 72057594037927940
},
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "RGBx",
"modifier": {
"default": 216172782119018500,
"alt1": 216172782119018500,
"alt2": 216172782119018530,
"alt3": 216172782119018530,
"alt4": 216172782119018530,
"alt5": 216172782119018530,
"alt6": 216172782119018530,
"alt7": 216172782127263740,
"alt8": 216172782127263780,
"alt9": 216172782127263780,
"alt10": 216172782127263780,
"alt11": 216172782127263780,
"alt12": 216172782127263780,
"alt13": 0,
"alt14": 72057594037927940
},
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRA",
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "RGBA",
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
},
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRx",
"size": {
"default": {
"width": 320,
"height": 240
},
"min": {
"width": 1,
"height": 1
},
"max": {
"width": 8192,
"height": 4320
}
},
"framerate": {
"default": {
"num": 240,
"denom": 1
},
"min": {
"num": 0,
"denom": 1
},
"max": {
"num": 360,
"denom": 1
}
}
}
],
"Meta": [
{
"type": "Busy",
"size": 8
},
{
"type": "VideoCrop",
"size": 16
},
{
"type": "Cursor",
"size": {
"default": 16432,
"min": 52,
"max": 4194352
}
}
],
"IO": [
{
"id": "Buffers",
"size": 8
}
],
"Format": [
{
"mediaType": "video",
"mediaSubtype": "raw",
"format": "BGRA",
"modifier": 72057594037927940,
"size": {
"width": 2560,
"height": 1440
},
"framerate": {
"num": 0,
"denom": 1
},
"maxFramerate": {
"num": 25,
"denom": 1
}
}
],
"Buffers": [
{
"dataType": 14
}
],
"Latency": []
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment