Delay when using Record button

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
SP1200
Blank Cone
Blank Cone
Posts: 16
Joined: 18 Nov 2015 06:30

Delay when using Record button

Postby SP1200 » 22 Oct 2017 00:00

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.

Lotesdelere
Cone Master
Cone Master
Posts: 9971
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Delay when using Record button

Postby Lotesdelere » 22 Oct 2017 10:07

I guess VLC is waiting for an I-frame for sync so there is nothing you can do.

SP1200
Blank Cone
Blank Cone
Posts: 16
Joined: 18 Nov 2015 06:30

Re: Delay when using Record button

Postby SP1200 » 22 Oct 2017 23:40

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.

Lotesdelere
Cone Master
Cone Master
Posts: 9971
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Delay when using Record button

Postby Lotesdelere » 23 Oct 2017 19:23


SP1200
Blank Cone
Blank Cone
Posts: 16
Joined: 18 Nov 2015 06:30

Re: Delay when using Record button

Postby SP1200 » 23 Oct 2017 21:20

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?

ichigosaimary
New Cone
New Cone
Posts: 1
Joined: 09 Dec 2017 11:20

Re: Delay when using Record button

Postby ichigosaimary » 09 Dec 2017 11:33

I'm having the same problem :( There's a delay in video recording. I hope there is a workaround solution to this.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Delay when using Record button

Postby Rémi Denis-Courmont » 11 Oct 2020 12:34

Use the convert/save wizard.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Barak-Har
New Cone
New Cone
Posts: 4
Joined: 08 Apr 2021 18:11

Re: Delay when using Record button

Postby Barak-Har » 14 Apr 2021 12:22

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.

mircopolo
New Cone
New Cone
Posts: 1
Joined: 24 Nov 2022 11:00

Re: Delay when using Record button

Postby mircopolo » 24 Nov 2022 11:38

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 80 guests