<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello,<div>I started using GStreamer 3 days ago, so sorry for my lack of knowledge</div><div><br></div><div>I wanted to connect to a VNC server and record the GUI. </div><div><br></div><div>For the moment i'm able to connect and display the remote GUI, </div><div><div><br></div><div><b><font color="#444444">gst-launch-1.0 -v rfbsrc host=xx.xx.x.x port=5900 password=passw view-only=true ! videoconvert !  openh264enc !  "video/x-h264, stream-format=(string)byte-stream" ! openh264dec ! autovideosink</font></b></div><div><br></div></div><div>now i only replace the  <b>autovideosink  </b>by  <b>filesink location=test.mp4</b></div><div><b><br></b></div><div>the video file is created (not empty) but i can't read it with WindowsMediaPlayer or VLC </div><div>I also tryed  <b>filesink location=test.h264   </b>and enabled VLC's H264 demuxer, but no result.</div><div><br></div><div>In some exemples i can see that the last step before filesink is XXXXmux , but if i try </div><div><br></div><div><font color="#444444"><b>gst-launch-1.0 -v rfbsrc host=10.81.4.68 port=5900 password=pa009v view-only=true ! videoconvert !  openh264enc  ! flvmux  !  filesink location=test.flv</b></font><br></div><div><font color="#444444"><b><br></b></font></div><div><font color="#444444"><b>i get : WARNING: erroneous pipeline: could not link openh264enc0 to flvmux0</b></font></div><div><br></div><div>Can someone tell me what i have to do to save the video to a file please ? </div><div>Thank you in advance.</div><div>Levon</div><div><br></div></div></div></div></div></div>