Why the vlc.exe can record the video while playing, how can I do the same thing by using the libvlc, because I want to build my own video player like vlc.exe, but I can't finish the recording feature. Could somebody help me ?
Now, I can record the video in command line by using command like this "sout=#duplicate{dst=display,dst=std{access=file{no-append,no-format,no-overwrite},mux='mp4',dst='F:\\123.mp4'}}", but I can stop the recording without using the vlc stop function, in other word, i need to stop playing video to stop recording. But in vlc.exe, I only need to click the record button to stop recording, and the video still on playing. What happen on earth after we click the record button? I checked the log about vlc.exe, and I found that when I click the record button to start recording , vlc.exe will get another sout chain , how can it add this? Can I add another option while the vlc is playing ?