Page 1 of 1

Recording in Vlc while playing

Posted: 15 Jan 2019 13:38
by wenshijiannan
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 ?

Re: Recording in Vlc while playing

Posted: 20 Jan 2019 22:31
by Jean-Baptiste Kempf
Indeed, you cannot, because the recording is cheating a bit. File a feature request on the bugtracker.