<div>Jan,</div>
<div> </div>
<div>I can not answer your question on how the "flags" parameter works in the custom export option, but try to help you with your "main" problem.</div>
<div> </div>
<div>If you do not have done so yet, please try to re-render your file using ffmpeg in the command line as follow:</div>
<div> </div>
<div>ffmpeg -target dvd</div>
<div> </div>
<div>and tell if there's any improvement in the quality.</div>
<div> </div>
<div>I'm telling that because I had the same problem as you. The alternative solution I found, without loosing too much quality was to export in kdenlive using MPEG high quality profile and then re-render as explained above. In this way I obtained a very good final product, at least as seen in my TV !!!
</div>
<div> </div>
<div>I suppose (although not sure yet) that problems are related with the parameters passed to ffmpeg by the different profiles and that's why I've proposed to re-design this option. Currently I'm testing different profiles and hope to come back with a proposal soon.
</div>
<div> </div>
<div>Regards.</div>
<div>Juan M.</div>