Page 1 of 1
Delay when using Record button
Posted: 22 Oct 2017 00:00
by SP1200
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.
Re: Delay when using Record button
Posted: 22 Oct 2017 10:07
by Lotesdelere
I guess VLC is waiting for an I-frame for sync so there is nothing you can do.
Re: Delay when using Record button
Posted: 22 Oct 2017 23:40
by SP1200
I don't get it. Everyone says VLC is great for recording short clips but with this issue it's not.
It's horrible! 4 seconds is a lot of time in a short clip.
I have to look at the time I want the clip to begin, and hit the record button 4 or sometimes even 6 seconds before I want the clip to begin.
Re: Delay when using Record button
Posted: 23 Oct 2017 19:23
by Lotesdelere
Re: Delay when using Record button
Posted: 23 Oct 2017 21:20
by SP1200
So an I frame contains a number of frames, thus explaining the delay from the time of the click of the record button, to the actual beginning of the capture file?
Does everyone have this problem?
Re: Delay when using Record button
Posted: 09 Dec 2017 11:33
by ichigosaimary
I'm having the same problem
There's a delay in video recording. I hope there is a workaround solution to this.
Re: Delay when using Record button
Posted: 11 Oct 2020 12:34
by RĂ©mi Denis-Courmont
Use the convert/save wizard.
Re: Delay when using Record button
Posted: 14 Apr 2021 12:22
by Barak-Har
I have the prob too, recurring - it sometimes improves or gets worse after a reinstall. Two previous it was working in 4 seconds, previous in less than 1, now 4 again.
Re: Delay when using Record button
Posted: 24 Nov 2022 11:38
by mircopolo
I'm using VLC 3.0.17.4 to record screen by command line with h264 codec but in my case usually 12 first seconds of video are missing.
Sometimes if recording is longer even 34seconds are missing.
When mp4v or other codes are used video starts correctly but quality is so poor even with vb=4096
h265 is all ok including quality when I run it on my host system but my goal is to record screen inside virtual machine and h265 is not supported as some hardware features are not available.
I'm going crazy already.
This is Powershell code to run it by commandline but actually the same problem occurs when doing it manually from VLC gui.
any ideas ?
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