[orx-video-profiles] Add orx-video-profiles
This commit is contained in:
16
orx-video-profiles/src/demo/kotlin/DemoGIF01.kt
Normal file
16
orx-video-profiles/src/demo/kotlin/DemoGIF01.kt
Normal file
@@ -0,0 +1,16 @@
|
||||
import org.openrndr.application
|
||||
import org.openrndr.color.ColorRGBa
|
||||
import org.openrndr.extra.videoprofiles.GIFProfile
|
||||
import org.openrndr.extra.videoprofiles.ProresProfile
|
||||
import org.openrndr.ffmpeg.ScreenRecorder
|
||||
|
||||
fun main() = application {
|
||||
program {
|
||||
extend(ScreenRecorder()) {
|
||||
profile = GIFProfile()
|
||||
}
|
||||
extend {
|
||||
drawer.clear(ColorRGBa.GREEN)
|
||||
}
|
||||
}
|
||||
}
|
||||
15
orx-video-profiles/src/demo/kotlin/DemoProres01.kt
Normal file
15
orx-video-profiles/src/demo/kotlin/DemoProres01.kt
Normal file
@@ -0,0 +1,15 @@
|
||||
import org.openrndr.application
|
||||
import org.openrndr.color.ColorRGBa
|
||||
import org.openrndr.extra.videoprofiles.ProresProfile
|
||||
import org.openrndr.ffmpeg.ScreenRecorder
|
||||
|
||||
fun main() = application {
|
||||
program {
|
||||
extend(ScreenRecorder()) {
|
||||
profile = ProresProfile()
|
||||
}
|
||||
extend {
|
||||
drawer.clear(ColorRGBa.GREEN)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user