<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Thanks for your help guys.</p>
    <p>I am stuck with the camera system I have, so I have added
      deinterlace and I think that the resulting video looks better.</p>
    <p>I have added the deinterlace as shown below - is that the best
      place?<br>
    </p>
    <p>v4l2src ! queue ! videorate ! videoscale !
video/x-raw,format=(string)I420,width=720,height=576,framerate=(fraction)25/1
      ! queue ! videoconvert ! <b>deinterlace </b><b>! videoconvert</b>
      ! x264enc ! mp4mux ! filesink location=foo/bar</p>
    <p>Ian<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 25/03/2017 08:36, Peter
      Maersk-Moller wrote:<br>
    </div>
    <blockquote
cite="mid:CAGf_jG=MkHusqrcbXmJ1-WWxLXxrROkhvMbcKpWhOs4bhqHP6w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi Ian.<br>
          <br>
          You are recording in interlaced mode. Don't ... unless you
          display it on an old interlaced CRT that actually syncs to the
          same interlace frequency the material was recorded with ....
          and very few people does that any more ... anywhere ... except
          perhaps north korea <br>
          <br>
          Perhaps the camera being the source for the v4l2src is
          "interlaced only" and then you should get another camera.<br>
        </div>
        <div>You need a progressive as opposed to interlaced camera.<br>
        </div>
        <div>Perhaps the camera can do both interlaced and progressive,
          but not progressive at the geometry and framerate you have
          chosen. Try to list the camera (v4l2 device) capabolities. Use
          v4l2ctl or something.<br>
          <br>
        </div>
        <div>Alternatively you can try to add the 'deinterlace'
          gstreamer module to your encoding pipeline, but it can only do
          so much for you. It will never be perfect.<br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>