[orx-video-profiles] Add orx-video-profiles

This commit is contained in:
Edwin Jakobs
2020-07-10 16:50:45 +02:00
parent b050c52621
commit 2a7f837b55
9 changed files with 157 additions and 2 deletions

View 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)
}
}
}

View 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)
}
}
}