I tried:
"c:\program files\videoLAN\VLC\vlc.exe" vlc -I dummy --run-time=2 '--sout=#transcode{vcodec=mp1v,vb=2030,audio-sync,acodec=mpga,ab=192,channels=2}' -V image vlc://quit datename img000000.png
I got the following error when trying that though:

