Phi: Difference between revisions

Jump to navigation Jump to search
235 bytes added ,  11 October 2024
Line 101: Line 101:
; <code>type</code>:    Either <code>png</code> or <code>jpg</code>
; <code>type</code>:    Either <code>png</code> or <code>jpg</code>
; <code>window</code>:  <code>name</code> of the window to capture (for those with multi screen setups)
; <code>window</code>:  <code>name</code> of the window to capture (for those with multi screen setups)
; <code>canvasindex</code>:  Canvas texture index, e.g. PFD display in a glass cockpit aircraft
; <code>stream</code>:  Provide Motion JPEG stream
; <code>stream</code>:  Provide Motion JPEG stream


Line 118: Line 119:


==== Motion JPEG ====
==== Motion JPEG ====
Send a Motion JPEG encoded video stream.
Send a Motion JPEG encoded video stream for entire window.


   http://localhost:8080/screenshot?window=WindowA&stream=y
   http://localhost:8080/screenshot?window=WindowA&stream=y
Send a Motion JPEG encoded video stream for specific canvas.
  http://localhost:8080/screenshot?canvasindex=6&stream=y


Can be used by FFMPEG to directly encode various video formats.
Can be used by FFMPEG to directly encode various video formats.
1,181

edits

Navigation menu