<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</p>
<p>
<title></title>
<meta name="generator" content="LibreOffice 5.0.2.2 (Windows)">
<style type="text/css">
@page { margin: 2cm }
p { margin-bottom: 0.25cm; line-height: 120% }
</style>
<p style="margin-bottom: 0cm; line-height: 100%">I have a C
program
which records a video file from a camera.</p>
<p style="margin-bottom: 0cm; line-height: 100%">The video part of
the pipeline (assuming that I have transcribed it correctly) is</p>
<p style="margin-bottom: 0cm; line-height: 100%">v4l2src ! queue !
videorate ! videoscale !
video/x-raw,format=(string)I420,width=720,height=576,framerate=(fraction)25/1
! queue ! videoconvert ! x264enc ! mp4mux ! filesink
location=foo/bar</p>
<p style="margin-bottom: 0cm; line-height: 100%">The program works
fine and the degree of compression achieved by the encoder is
impressive. However, when there is significant movement in the
image, there is a very obvious 'interleave effect' which remains
visible for quite a while. I would be prepared to pay the cost
of
less aggressive compression/greater file size to improve the
image quality.</p>
<p style="margin-bottom: 0cm; line-height: 100%">I have attempted
to
change the behaviour of the encoder, for example by setting
bitrate
to 6000, but I have not found anything which seems to make any
difference.</p>
<p style="margin-bottom: 0cm; line-height: 100%">How should I go
about getting better picture quality?</p>
</p>
<div class="moz-signature">-- <br>
--<br>
Ian Davidson<br>
<br>
</div>
</body>
</html>