display freeze while sout recording to file
Posted: 07 Jun 2018 13:28
hello,
i am using vlc.net for a c# app,
everything working great, except when i decide to record a stream to a file.avi, the display on my vlcControl1 freeze, so i can't monitor it... BUT the file is saved perfectly tho!
It is freezing completly, not a bit. Only the first frame is displayed, and nothing more then. It stays on it.
here is the code... maybe something to change to the "sout" line :
i tried to put the "dst=display" after the "dst=std" and before. nothing changed
Any help and suggestion welcomed!
Thank you
i am using vlc.net for a c# app,
everything working great, except when i decide to record a stream to a file.avi, the display on my vlcControl1 freeze, so i can't monitor it... BUT the file is saved perfectly tho!
It is freezing completly, not a bit. Only the first frame is displayed, and nothing more then. It stays on it.
here is the code... maybe something to change to the "sout" line :
Code: Select all
vlcControl1.SetMedia(medias[0], new string[] { ":sout=#transcode{vcodec=h264,vb=1024,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=display,dst=std{access=file,mux=avi,dst='C:\stream\videos\name.avi'}}" });
vlcControl1.Play();
Any help and suggestion welcomed!
Thank you