I am trying to generate snapshots from a video stream (stream never stops) of the first second every minute using the following command but it doesn´t work
Save file ONLY - WORKS
vlc -vvv STREAM_URL --run-time=63 --stop-time=63 --sout="#duplicate{dst=std{access=file,mux=asf,dst=C:\Temp\Vid.asf'},dst=nodisplay}}" vlc://quit
Generate snapshots ONLY - WORKS
vlc -vvv STREAM_URL --run-time=63 --stop-time=63 --start-time=0 --video-filter=scene --scene-format=jpg --scene-ratio=10000 --scene-prefix=snapshot --scene-path=c:\temp vlc://quit
Using command Combined - DOES NOT WORK
vlc -vvv STREAM_URL --run-time=63 --stop-time=63 --start-time=0 --video-filter=scene --scene-format=jpg --scene-ratio=10000 --scene-prefix=snapshot --scene-path=C:\temp
--sout="#duplicate{dst=std{access=file,mux=asf,dst='c:\temp\vid.asf'},dst=nodisplay}}" vlc://quit
Any ideas on what I should do to make BOTH work TOGETHER?
Obs:
--scene-ratio=10000 --> just so it will generate only 1 snapshot otherwise it will generate X snapshots based on the length of recording
--run-time=63 --stop-time=63 --> I use 63 instead of 60 secs because the 3 secs difference of recording. If I use 60 it will record only 57 sec. Any ideas why?
Thanks