<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi</p>
<p><br>
</p>
<p>I'm creating a ingest software that will encode dnxhd files from a SDI-source and can't find any hints on how to specify the timecode for a frame. I did get the "timecode" option to work on the videostream, but I need to be able to store timecodes that might
be out of order or from media that might have been recorded, stopped and resumed through out the day (or week).</p>
<p><br>
</p>
<p><span style="font-size: 12pt;">From what iv'e been able to find in the sources it seem to be hardcoded in mxfenc.c in the function <span style="font-family:monospace">mxf_write_system_item</span></span></p>
<p><span style="font-size: 12pt;"><span style="font-family:monospace"><br>
</span></span></p>
<p><span style="font-size: 12pt;"><span style="font-family:monospace"><span style="font-family:monospace">frame = mxf->last_indexed_edit_unit + mxf->edit_units_count;<br>
<span style="font-family:monospace">time_code = av_timecode_get_smpte_from_framenum(&mxf->tc, frame);<br>
<br>
</span>which would indicate that the mxf encoder doesn't provide an interface to supply individual frames with timecode.</span></span></span></p>
<p><span style="font-size: 12pt;"><span style="font-family:monospace"><span style="font-family:monospace">Have I missed something or are there any known workarounds to inject timecodes?</span></span></span></p>
<p><span style="font-size: 12pt;"><span style="font-family:monospace"><span style="font-family:monospace"><br>
</span></span></span></p>
<p><span style="font-size: 12pt;"><span style="font-family:monospace"><span style="font-family:monospace">/Andreas<br>
</span><br>
</span></span><br>
</p>
</div>
</body>
</html>