GPL-2 and LGPL sources in youtube video
<p>Suppose that a developer D wants to a make youtube video about a text editor that D has created. D wants to use some real world source code segments as examples, which D will show and edit in the video.</p>
<p>Can D use source code distributed under GPL-2 and LGPL licences? What are D's obligations here? Would it be enough to add links to any original sources in the video's description/comment? (D will not publish changed versions of the code and will delete modified versions once the demo editing for the video is done.) Dose D need to put the video under an open-source license?</p>

<p>If D is showing their own code, they are the sole copyright holder and are not bound by the terms of the GPL/LGPL licenses with respect to that code. So they are in no way prevented from showing the code on video, and have nothing in particular to consider.</p>
<p>If the code shown by the developer includes material from third parties, things become tricky.</p>
<p>The easiest solution would be if this use is clearly covered by a copyright exception (such as <em>fair use</em> in the US) so that the license conditions can be ignored. But such copyright exceptions typically expect proper attribution.</p>
<p>Otherwise, this gets difficult. By including GPL-covered material in the video, there's a good argument that the video is a derived work of the GPL/LGPL-covered software. The GPL/LGPL then requires that the derived work is only published under the terms of the same license (GPL or LGPL respectively). This is arguably incompatible with the Youtube terms of service. An interesting consequence of the GPL/LGPL is that the source code of the derived work must be made available as well. The source code is the preferred form of making modifications. For a video, this would likely be a project file from your video editing software. This is difficult to do in practice, and code-oriented licenses like the GPL/LGPL are remarkably poor licenses for other creative works.</p>

licensing gpl youtube