<div dir="ltr">Another thing, but still related, I found some missing &lt;EditMode&gt; settings in the Blender EDL import script used by ex. Lightworks, Sony Vegas a. o.  <br><br>Ex. edl from Lightworks:<br>001  IBM      AA/V C         00:00:05:02 00:00:12:17 00:00:05:01 00:00:12:16<br><br>It&#39;s the &#39;AA/V&#39; setting which is currently not supported by the Blender edl import script. In this link a few more settings not used by the Blender edl import script can be found:<a href="http://www.niwa.nu/2013/05/how-to-read-an-edl/" target="_blank">http://www.niwa.nu/2013/05/how-to-read-an-edl/</a><br><br>Info from that page:<br>AA/V – Video and audio on channel 1 and 2<br>VA1A2 – Video and audio on channel 1 and 2<br>A12V – Video and audio on channel 1 and 2<br>AUD3 – Audio only on channel 3<br>A3 – Audio only on channel 3<br><br>In line 225 of  io_sequencer_edl/parse_edl.py they can be easily be added:<div><div>EDIT_DICT = {</div><div>    &quot;none&quot;: 0,  # TODO, investigate this more.</div><div>    &quot;v&quot;: EDIT_VIDEO,</div><div>    &quot;a&quot;: EDIT_AUDIO,</div><div>    &quot;aud3&quot;: EDIT_AUDIO,<br></div><div>    &quot;a3&quot;: EDIT_AUDIO,<br></div><div>    &quot;aa&quot;: EDIT_AUDIO_STEREO,</div><div>    &quot;va&quot;: EDIT_VIDEO_AUDIO,</div><div>    &quot;aa/v&quot;: EDIT_VIDEO_AUDIO,<br></div><div>    &quot;va1a2&quot;: EDIT_VIDEO_AUDIO,<br></div><div>    &quot;a12v&quot;: EDIT_VIDEO_AUDIO,<br></div><div>    &quot;b&quot;: EDIT_VIDEO_AUDIO,</div><div>    }</div><br>And just to clarify where the fix from previous post could be added:<br>When the VA/va/B/b settings are used, adding a video clip too can be done very simple with the stuff added in here in line 173 of io_sequencer_edl/import_edl.py:<span class="im"><br>if edit.edit_type &amp; (parse_edl.EDIT_VIDEO | parse_edl.EDIT_VIDEO_AUDIO):</span></div><div><br></div><div>BTW. the reason I&#39;ve come across these things is because I&#39;m working on a mlt to blender friendly edl script:</div><div><a href="http://eyeframeconverter.wordpress.com/mlt2edl/" target="_blank" style="font-family:arial,sans-serif;font-size:13px">http://eyeframeconverter.wordpress.com/mlt2edl/</a><div style="font-family:arial,sans-serif;font-size:13px"><div class="adm"><div id="q_149b5a65c7231353_3" class="h4"></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-14 19:46 GMT+01:00 Tintwotin tintwotin <span dir="ltr">&lt;<a href="mailto:tintwotin@gmail.com" target="_blank">tintwotin@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>ideasman42 suggested that I posted here about this: </div><div><br></div><div><u>Background:</u></div>I&#39;m using the EDL notes from the Blender import_edl.py script in order to code a python script to convert <a href="http://ShotCut.org" target="_blank">ShotCut.org</a> MLT files into Blender friendly EDLs: <div><br></div><div>The Blender EDL notes:<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">* &lt;EditMode&gt;: &#39;V&#39; | &#39;A&#39; | &#39;VA&#39; | &#39;B&#39; | &#39;v&#39; | &#39;a&#39; | &#39;va&#39; | &#39;b&#39; which equals Video, Audio, Video_Audio edits (note B or b can be used in place of VA or va).</blockquote><div><br></div><u>Bug?</u><br>That&#39;s how I noticed that when VA/va/B/b settings (which equals Video+Audio) are used, only an audio clip is added to the time line, and no video. With va I suppose that both a video and an audio clip should be inserted?</div><div><br></div><div><u>How to reproduce:</u></div><div>Open this EDL example, and assign a video clip with audio. It must be longer than 30 sec.<br></div><div><br></div><div><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">* EDL example:<br>1 test <b>va</b> C 00:00:00:00 00:00:30:00 00:00:00:00 00:00:30:00</blockquote><div><br></div><div><u>How to fix:</u> </div></div><div>When the VA/va/B/b settings are used, adding a video clip too, can be done very simple with the stuff I added in bold here in line 173:</div><div><br></div><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">Code:<br>if edit.edit_type &amp; <b>(</b>parse_edl.EDIT_VIDEO<b> | parse_edl.EDIT_VIDEO_AUDIO)</b>:</blockquote><div><br>This way a video clip is added too, when va/b setting is used.<br></div><div><br></div><div><u>Is it a bug or expected behavior?</u></div><div>So the question is if using the va/b setting should add both a video clip and an audio clip, or is the current behavior what is to be expected?</div></div>
</blockquote></div><br></div>