<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 12, 2015 at 7:18 PM, Karl-Philipp Richter <span dir="ltr"><<a href="mailto:richter@richtercloud.de" target="_blank">richter@richtercloud.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
I just got started with the kdenlive code from<br>
git://<a href="http://anongit.kde.org/kdenlive" target="_blank">anongit.kde.org/kdenlive</a> and realized that some classes don't have<br>
documentation at all, e.g. `MeltJob::MeltJob`, `projectlist.cpp` hardly<br>
contains comments in a relation to code of 1 to 100 - some have comments<br>
in functions, but none have class or function comments. Do I have to do<br>
something to generate the documentation in the source code?<br>
<br>
Background: I want to evaluate the necessary work to extract the clip<br>
splitting functions in a reusable library - because it is just excellent<br>
in kdenlive - and I don't seem to get started at all. I tried to<br>
understand the code following its flow in `gdb`, but it's just too hard.<br>
<br>
Any help and pointers are appreciated.<br></blockquote><div><br></div><div>The library already exists as libmlt, but more precisely in its motion_est module (which is based on some really old FFmpeg code). The key thing to understand is that the motion_est filter collects the frame numbers for the shot changes into a list and sets it on the filter:</div><div><br></div><div><a href="https://github.com/mltframework/mlt/blob/master/src/modules/motion_est/filter_motion_est.c#L962">https://github.com/mltframework/mlt/blob/master/src/modules/motion_est/filter_motion_est.c#L962</a><br></div><div><br></div><div>Then, when you run  the output XML will contain this property of frame numbers:</div></div><div>







<p class=""><span class="">melt ~/Movies/bbb_youtube_h264_499kbit.mp4 -attach motion_est -consumer xml all=1</span></p><p class="">The property value is a semicolon-delimited list. The number before the equal sign for each list item is the frame number.</p></div>-- <br><div class="gmail_signature">+-DRD-+</div>
</div></div>