Get command line string for GUI configured VLC setting

I am trying to stream / record a video from my webcam. I get it to work by configuring everything via the VLC GUI (e.g. How to record your webcam with VLC).

I have to do this multiple time, so I wonder, if I can "export" the configuration to run it from the command line.

I didn't find anything appropriate in the documentation.


I did not find a solution to "export" the full configuration. But I found the necessary parts, which have to be put together for my use case (recording from webcam).

1) The input query

2) The output query

Which lead to a complete command line string like this:

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" dshow:// :dshow-vdev=Integrated Camera :dshow-adev=Mikrofon (2- High Definition Au :live-caching=300 --sout "#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:file{dst=C:\\test.mp4}"