VLC skips few seconds when recording in h264

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.
vlc_cli_newbie
Blank Cone
Blank Cone
Posts: 12
Joined: 06 Nov 2022 14:48

VLC skips few seconds when recording in h264

Postby vlc_cli_newbie » 16 Nov 2022 17:33

Hello,
I try to record a video from a DVD, which works almost fine...but if I use h264, there is a small "jump" in the very beginning (after about 3-4 sec) for about 2 seconds. And it is reproducable. Also with other DVDs. If I take h265 its gone, but then when i start the video, the standard resolution is 4:3 instead of 16:9 which is not correct...and its annoying to have to change it always manually.

Any idea, how to fix?

Thats the script code I use:
"C:/Program Files/VLC/vlc.exe" dvd:///F:/ --sout="#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100,scodec=none}:std{access=file,mux=ts,dst=D:/VIDEOS/video.mp4}" --no-sout-all --audio-track=1 --audio-track-id=-1 --noloop --start-time=1 --run-time=2544 vlc://quit

Thanks.

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

Re: VLC skips few seconds when recording in h264

Postby Lotesdelere » 17 Nov 2022 09:45

Try with --start-time=0

vlc_cli_newbie
Blank Cone
Blank Cone
Posts: 12
Joined: 06 Nov 2022 14:48

Re: VLC skips few seconds when recording in h264

Postby vlc_cli_newbie » 18 Nov 2022 16:23

This unfortunately did not help. It runs for 5 seconds in the beginning and then skips 2-3 seconds and then run normally until the end....strange.

Alaric
Developer
Developer
Posts: 36
Joined: 27 Apr 2022 18:37

Re: VLC skips few seconds when recording in h264

Postby Alaric » 18 Nov 2022 16:48

Hello!
Could you share the verbose log output in a pastebin? Add `-vv` to the command line.

vlc_cli_newbie
Blank Cone
Blank Cone
Posts: 12
Joined: 06 Nov 2022 14:48

Re: VLC skips few seconds when recording in h264

Postby vlc_cli_newbie » 18 Nov 2022 17:38

The full debug log is too big for that window....can I somehow attach a file?

vlc_cli_newbie
Blank Cone
Blank Cone
Posts: 12
Joined: 06 Nov 2022 14:48

Re: VLC skips few seconds when recording in h264

Postby vlc_cli_newbie » 18 Nov 2022 19:48

main debug: looking for access_demux module matching "file": 15 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///C:/Users/nospo/AppData/Roaming/vlc/ml.xspf
main debug: (path: C:\Users\nospo\AppData\Roaming\vlc\ml.xspf)
main debug: looking for access module matching "file": 26 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache_read": 24 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 307 bytes in 0s - 299804 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 24 candidates
playlist debug: using XSPF playlist reader
main debug: using stream_filter module "playlist"
main debug: stream filter added to 0000028892cf7f20
main debug: looking for stream_filter module matching "any": 24 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///C:/Users/nospo/AppData/Roaming/vlc/ml.xspf
main debug: looking for stream_filter module matching "record": 24 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='directory' location='/C:/Users/nospo/AppData/Roaming/vlc/ml.xspf' file='C:\Users\nospo\AppData\Roaming\vlc\ml.xspf'
main debug: looking for demux module matching "directory": 55 candidates
main debug: using demux module "directory"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\nospo\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VLC\lua\meta\reader\filename.luac
main debug: no meta reader modules matched
main debug: `file/directory:///C:/Users/nospo/AppData/Roaming/vlc/ml.xspf' successfully opened
main debug: looking for xml reader module matching "any": 1 candidates
main debug: using xml reader module "xml"
main debug: EOF reached
main debug: removing module "directory"
main debug: removing module "record"
main debug: removing module "playlist"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: creating audio output
main debug: looking for audio output module matching "any": 6 candidates
mmdevice debug: using default device
mmdevice debug: display name changed: VLC media player
mmdevice debug: version 2 session control unavailable
mmdevice debug: volume from -95.250000 dB to +0.000000 dB with 0.750000 dB increments
main debug: using audio output module "mmdevice"
main debug: keeping audio output
main debug: looking for interface module matching "hotkeys,none": 16 candidates
main debug: using interface module "hotkeys"
main debug: looking for interface module matching "globalhotkeys,none": 16 candidates
main debug: using interface module "win32"
main: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
main debug: looking for interface module matching "any": 16 candidates
main debug: looking for extension module matching "any": 1 candidates
lua debug: Opening Lua Extension module
lua debug: Trying Lua scripts in C:\Users\nospo\AppData\Roaming\vlc\lua\extensions
lua debug: Trying Lua scripts in C:\Program Files\VLC\lua\extensions
lua debug: Trying Lua playlist script C:\Program Files\VLC\lua\extensions\VLSub.luac
lua debug: Scanning Lua script C:\Program Files\VLC\lua\extensions\VLSub.luac
lua debug: Script C:\Program Files\VLC\lua\extensions\VLSub.luac has the following capability flags: 0x5
main debug: using extension module "lua"
main debug: using interface module "qt"
main: playlist is empty
main debug: nothing to play
qt debug: Saving the advanced preferences
main debug: exiting
main debug: exiting
main debug: no exit handler
main debug: removing all interfaces
main debug: removing module "qt"
main debug: deactivating the playlist
main debug: removing module "mmdevice"
qt debug: requesting exit...
qt debug: waiting for UI thread...
qt debug: QApp exec() finished
qt debug: Video is not needed anymore
qt debug: Killing extension dialog provider
qt debug: ExtensionsDialogProvider is quitting...
main debug: removing module "lua"
main debug: removing module "win32"
main debug: removing module "hotkeys"
main debug: destroying
main debug: saving media library to file C:\Users\nospo\AppData\Roaming\vlc\ml.xspf.tmp15960
main debug: looking for playlist export module matching "export-xspf": 4 candidates
main debug: using playlist export module "export"
main debug: removing module "export"
main debug: deleting item `Medienbibliothek'
main debug: deleting item `Wiedergabeliste'
main debug: removing module "memory"
-- logger module stopped --

vlc_cli_newbie
Blank Cone
Blank Cone
Posts: 12
Joined: 06 Nov 2022 14:48

Re: VLC skips few seconds when recording in h264

Postby vlc_cli_newbie » 18 Nov 2022 19:48

Just added the last section...

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

Re: VLC skips few seconds when recording in h264

Postby Lotesdelere » 19 Nov 2022 10:51

Paste the full resulting log on Pastebin.com or Justpaste.it


meathook
New Cone
New Cone
Posts: 7
Joined: 06 Sep 2012 00:41

Re: VLC skips few seconds when recording in h264

Postby meathook » 12 Dec 2022 20:38

Happens to me as well on version 3.0.18
Any fix planned?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests