Recording in Vlc while playing

This forum is about all development around libVLC.
wenshijiannan
New Cone
New Cone
Posts: 1
Joined: 15 Jan 2019 11:52

Recording in Vlc while playing

Postby wenshijiannan » 15 Jan 2019 13:38

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 ?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Recording in Vlc while playing

Postby Jean-Baptiste Kempf » 20 Jan 2019 22:31

Indeed, you cannot, because the recording is cheating a bit. File a feature request on the bugtracker.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 35 guests