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++
Timer {
interval: 250; running: true; repeat: true
property int step: 0
property int ticks: 0
property int total: 0
property double beforePosition: 0
property bool restore: Qt.application.arguments.indexOf("--nr-restore") >= 0
function check(value,label) { if(!value) throw new Error(label) }
function next(value) { step=value; ticks=0 }
function preset(name) { for(var i=0;i<veyra.presets.length;++i)if(veyra.presets[i].name===name)return i;return -1 }
function choose(id) {
beforePosition=veyra.position
check(veyra.setNrLayerParameter(veyra.nrLayers[0].index,"runtime",id),"select runtime "+id)
check(veyra.nrLayers.every(n=>n.runtime===id),"whole chain runtime "+id)
}
onTriggered: { try {
++ticks;++total;if(total>520)throw new Error("bounded step="+step)
if(step===0) {
if(ticks<8)return
if(restore) {
check(veyra.nodeMode===0&&veyra.nrLayers.every(n=>n.runtime===2),"list SF-v2 restored")
veyra.nodeMode=1
check(veyra.nrLayers.every(n=>n.runtime===2),"node SF-v2 restored")
check(veyra.applyPresetIndex(preset("NR Node Lecram")),"restore Lecram preset")
check(veyra.nrLayers.every(n=>n.runtime===0),"manual Lecram preserved")
console.log("NR_UI_RESTORE_PASS");Qt.quit();return
}
root.page="pro";veyra.muted=true;veyra.srEnabled=false;veyra.fgEnabled=false
veyra.nrEnabled=true
check(veyra.nrLayers[0].runtime===0,"5070 fresh Lecram default")
veyra.openPath("E:/项目/Veyra/tests/nr-sfv2-lecram-20260930/media/gta6-native-4k30-silent-90s.mp4")
next(1);return
}
if(step===1) {
if(ticks<20||!veyra.running||veyra.applying)return
check(veyra.nrActive,"Lecram NR active "+veyra.statusText)
check(veyra.duplicateNrLayer(veyra.nrLayers[0].index)>=0,"second NR layer")
choose(2);next(2);return
}
if(step===2) {
if(ticks<20||veyra.applying)return
check(veyra.running&&veyra.nrActive&&veyra.position>beforePosition+0.5,"SF-v2 playback")
check(veyra.nrLayers.length===2&&veyra.nrLayers.every(n=>n.runtime===2),"two NRs SF-v2")
console.log("NR_UI_SF_ACTIVE position="+veyra.position)
check(veyra.savePresetAs("NR List SF-v2",15,false),"save list SF-v2")
choose(0);next(3);return
}
if(step===3) {
if(ticks<20||veyra.applying)return
check(veyra.running&&veyra.nrActive&&veyra.position>beforePosition+0.5,"Lecram hot switch")
check(!veyra.setNrLayerParameter(veyra.nrLayers[0].index,"runtime",1),"retired option rejected")
veyra.togglePlayPause();next(4);return
}
if(step===4) {
if(!veyra.paused)return
veyra.seekTo(20);root.width=1140;root.height=720;next(5);return
}
if(step===5) {
if(ticks<12)return
veyra.togglePlayPause();next(6);return
}
if(step===6) {
if(ticks<16||veyra.applying)return
check(veyra.running&&!veyra.paused&&veyra.nrActive&&veyra.position>20.5,"NR pause seek resize resume")
veyra.nodeMode=1;root.page="node";next(7);return
}
if(step===7) {
if(ticks<10||veyra.applying)return
check(veyra.addEffect("nr")>=0,"add NR node")
choose(0);next(8);return
}
if(step===8) {
if(ticks<16||veyra.applying)return
check(veyra.nrActive&&veyra.chainValid,"node Lecram active")
check(veyra.savePresetAs("NR Node Lecram",15,true),"save node Lecram")
choose(2);next(9);return
}
if(step===9) {
if(ticks<16||veyra.applying)return
check(veyra.nrActive&&veyra.running&&veyra.position>beforePosition+0.5,"node SF-v2 active")
veyra.nodeMode=0;root.page="pro"
check(veyra.applyPresetIndex(preset("NR List SF-v2")),"list SF-v2 preset")
next(10);return
}
if(step===10) {
if(ticks<16||veyra.applying)return
check(veyra.nrActive&&veyra.nrLayers.every(n=>n.runtime===2),"final list SF-v2")
console.log("NR_UI_PASS");Qt.quit()
}
} catch(e) {console.warn("NR_UI_FAIL "+e.message);Qt.quit()} }
}