Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.
C++
import QtQuick
import QtQuick.Window
import QtTest
import Veyra
Item {
id: root
width: 1000; height: 650
QtObject {
id: veyra
property bool hasSource: false
property bool isCapture: false
property bool running: false
property bool paused: true
property bool failed: false
property bool captureRecovering: false
property real duration: 100
property real progress: .3
property real volume: .5
property real playbackRate: 1
property int previewRotation: 0
property int thumbnailGeneration: 0
property string sourceName: "Seek fixture"
property string sourceSummary: ""
property string positionText: "0:30"
property string durationText: "1:40"
property string currentPresetName: ""
property int subtitlePrimary: -1
property int selectedAudioTrack: -1
property var presets: []
property var subtitleTracks: []
property var audioTracks: []
property var seeks: []
function seekTo(seconds) { seeks = seeks.concat([seconds]) }
function formatTime(seconds) { return String(Math.floor(seconds)) }
function logUi(category, text) {}
function setWindowMask(window, rect) {}
}
CineBar { id: bar; x: 50; y: 220; width: 860; height: 92 }
SignalSpy { id: moveSpy; target: bar; signalName: "requestMove" }
TestCase {
name: "CinemaSeek"
when: windowShown
function init() {
root.Window.window.width = 1000
root.Window.window.height = 650
root.Window.window.requestActivate()
veyra.seeks = []; veyra.duration = 100; veyra.isCapture = false
bar.fullscreen = true
moveSpy.clear()
}
function test_scrub_data() {
return [{tag:"fullscreen",full:true},{tag:"windowed",full:false}]
}
function test_scrub(data) {
bar.fullscreen = data.full
const rail = findChild(bar, "cine-seek")
verify(rail !== null && rail.width > 100)
mousePress(rail, rail.width * .2, 7)
verify(bar.interacting, "A pressed seek rail must keep the control window active")
for (let i = 1; i <= 6; ++i) mouseMove(rail, rail.width * (.2 + .1*i), 7, 30)
mouseRelease(rail, rail.width * .8, 7)
compare(bar.interacting, false)
verify(veyra.seeks.length > 0)
fuzzyCompare(veyra.seeks[veyra.seeks.length-1], 80, 1)
compare(moveSpy.count, 0, "Scrubbing must never move the window")
}
function test_drag_outside_clamps_and_retains_preview() {
const rail = findChild(bar, "cine-seek")
mousePress(rail, rail.width * .5, 7)
mouseMove(rail, rail.width + 25, -25, 20)
verify(bar.interacting)
verify(bar.seekPreviewOpen, "Keep the preview inside the native mask while dragging outside")
mouseRelease(rail, rail.width + 25, -25)
compare(bar.interacting, false)
compare(veyra.seeks[veyra.seeks.length-1], 100)
}
function test_capture_does_not_seek() {
veyra.isCapture = true
const rail = findChild(bar, "cine-seek")
mouseClick(rail, rail.width * .5, 7)
compare(bar.interacting, false)
compare(veyra.seeks.length, 0)
}
function test_click_seek() {
const rail = findChild(bar, "cine-seek")
mouseClick(rail, rail.width * .6, 7)
fuzzyCompare(veyra.seeks[veyra.seeks.length-1], 60, 1)
compare(bar.interacting, false)
}
function test_cancel_stops_pending_seek() {
const rail = findChild(bar, "cine-seek")
mousePress(rail, rail.width * .2, 7)
mouseMove(rail, rail.width * .7, 7, 10)
veyra.isCapture = true // Disabling MouseArea cancels the in-flight grab.
tryCompare(bar, "interacting", false)
const count = veyra.seeks.length
wait(180)
compare(veyra.seeks.length, count)
mouseRelease(rail, rail.width * .7, 7)
}
}
}