mirror of https://github.com/n00mkrad/flowframes
Use raw RGBA NUT pipe instead of 444 YUV pipe for realtime mode
This commit is contained in:
parent
f4bf63b5a7
commit
0c8b96e560
|
@ -89,10 +89,12 @@ namespace Flowframes.Main
|
|||
|
||||
if (ffplay)
|
||||
{
|
||||
encArgs = $"-pix_fmt yuv444p";
|
||||
bool useNutPipe = true; // TODO: Make this bool a config flag
|
||||
encArgs = useNutPipe ? "-c:v rawvideo -pix_fmt rgba" : $"-pix_fmt yuv444p16";
|
||||
string format = useNutPipe ? "nut" : "yuv4mpegpipe";
|
||||
|
||||
return
|
||||
$"{extraArgsIn} -i pipe: {encArgs} {extraArgsOut} -f yuv4mpegpipe - | ffplay - " +
|
||||
$"{extraArgsIn} -i pipe: {encArgs} {extraArgsOut} -f {format} - | ffplay - " +
|
||||
$"-autoexit -seek_interval {VapourSynthUtils.GetSeekSeconds(Program.mainForm.currInDuration)} " +
|
||||
$"-window_title \"Flowframes Realtime Interpolation ({s.inFps.GetString()} FPS x{s.interpFactor} = {s.outFps.GetString()} FPS) ({s.model.Name})\" ";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue