@@ -224,11 +224,11 @@ end
224
224
225
225
local updateFilters = function ()
226
226
if not filterIsOn then
227
- mp .command_native_async ({" no-osd" , " vf" , " add" , string.format (" @vrrev:%sv360=%s:%s:in_stereo=%s:out_stereo=2d:id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%s:roll=%.3f:w=%s*192.0:h=%.3f*108.0:h_flip=%s:interp=%s" ,in_flip ,inputProjection ,outputProjection ,in_stereo ,idfov ,dfov ,yaw ,pitch ,roll ,res ,res ,h_flip ,scaling )}, updateComplete )
227
+ mp .command_native_async ({" no-osd" , " vf" , " add" , string.format (" @vrrev:%sv360=%s:%s:reset_rot=1: in_stereo=%s:out_stereo=2d:id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%s:roll=%.3f:w=%s*192.0:h=%.3f*108.0:h_flip=%s:interp=%s" ,in_flip ,inputProjection ,outputProjection ,in_stereo ,idfov ,dfov ,yaw ,pitch ,roll ,res ,res ,h_flip ,scaling )}, updateComplete )
228
228
filterIsOn = true
229
229
elseif not updateAwaiting then
230
230
updateAwaiting = true
231
- mp .command_native_async ({" no-osd" , " vf" , " set" , string.format (" @vrrev:%sv360=%s:%s:in_stereo=%s:out_stereo=2d:id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%s:roll=%.3f:w=%s*192.0:h=%.3f*108.0:h_flip=%s:interp=%s" ,in_flip ,inputProjection ,outputProjection ,in_stereo ,idfov ,dfov ,yaw ,pitch ,roll ,res ,res ,h_flip ,scaling )}, updateComplete )
231
+ mp .command_native_async ({" no-osd" , " vf" , " set" , string.format (" @vrrev:%sv360=%s:%s:reset_rot=1: in_stereo=%s:out_stereo=2d:id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%s:roll=%.3f:w=%s*192.0:h=%.3f*108.0:h_flip=%s:interp=%s" ,in_flip ,inputProjection ,outputProjection ,in_stereo ,idfov ,dfov ,yaw ,pitch ,roll ,res ,res ,h_flip ,scaling )}, updateComplete )
232
232
end
233
233
writeHeadPositionChange ()
234
234
end
@@ -487,7 +487,7 @@ local closeCurrentLog = function()
487
487
file_object :write (' # Suggested ffmpeg conversion command:\n ' )
488
488
489
489
local closingCommandComment = string.format (
490
- ' ffmpeg -y -ss %s -i "%s" -to %s -copyts -filter_complex "%sv360=%s:%s:in_stereo=%s:out_stereo=2d:id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%.3f:roll=%.3f:w=1920.0:h=1080.0:interp=cubic:h_flip=%s,sendcmd=filename=%s_3dViewHistory_%s.txt" -avoid_negative_ts make_zero -preset slower -crf 17 "%s_2d_%03d.mp4"' ,
490
+ ' ffmpeg -y -ss %s -i "%s" -to %s -copyts -filter_complex "%sv360=%s:%s:in_stereo=%s:out_stereo=2d:reset_rot=1: id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%.3f:roll=%.3f:w=1920.0:h=1080.0:interp=cubic:h_flip=%s,sendcmd=filename=%s_3dViewHistory_%s.txt" -avoid_negative_ts make_zero -preset slower -crf 17 "%s_2d_%03d.mp4"' ,
491
491
startTime ,filename ,finalTimeStamp ,in_flip ,inputProjection ,outputProjection ,in_stereo ,idfov ,init_dfov ,init_yaw ,init_pitch ,init_roll ,h_flip ,videofilename ,fileobjectNumber ,videofilename ,fileobjectNumber
492
492
)
493
493
0 commit comments