I've had this problem for a while now. When I hit the record button I get clips that start about 4 seconds after the frame that I want to start recording.
Anyone else have this problem and know of a fix?
thanks.
Code: Select all
Add-Type -AssemblyName System.Windows.Forms
$ScreenHeight = [System.Windows.Forms.SystemInformation]::PrimaryMonitorSize.Height
$ScreenWidth = [System.Windows.Forms.SystemInformation]::PrimaryMonitorSize.Width
#vcodec=h264 - best quality/small file size but unreliable result with this codec (beginning of video is missing 5-30seconds)
$Expression = "--one-instance -I dummy --stop-time 600 screen:// :screen-fps=20 :screen-follow-mouse :screen-mouse-image=$VLCCursorPath :no-sound :sout=`"#transcode{vcodec=h264,vb=1600,fps=20,height=$ScreenHeight,width=$ScreenWidth}:std{access=file,dst=$RecordedVideoPath}`""
Start-Process -FilePath $RecorderExePath -ArgumentList $Expression
Write-Host "Recording started:"
$RecorderExePath
$Expression
Write-Host "Start process to be recorded:"
$etJobPath
$processToRecord = Start-Process -FilePath cmd -ArgumentList '/c', "`"$etJobPath`"" -PassThru
$processToRecord.WaitForExit()
$Expression = "--one-instance vlc://quit"
Start-Process -FilePath $RecorderExePath -ArgumentList $Expression
Write-Host "Stop recording:" -ForegroundColor Green
Write-Host $Expression -ForegroundColor Yellow
Write-Host $RecordedVideoPath -ForegroundColor Cyan
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: No registered users and 90 guests