<div dir="ltr">Hi,<br><div class="" itemprop="description">
<p>I have a video file say 'myvideo.wmv' of 2 minutes length,
which does not have audio inside it. I have an audio file, say
'voice.mp3', of 16 seconds length.</p>
<p>I want to add audio to 'myvideo.wmv' using <code>melt</code> command </p>
<pre><code>melt myvideo.wmv -track voice.mp3
</code></pre>
<p>but the problem is: the audio file is of shorter duration than the
video, so there is audio in final output for only 16 seconds and I want
the audio in the whole video. The audio file therefore needs to be
repeated.</p>
<p>I tried to follow <a href="http://www.mltframework.org/bin/view/MLT/MltMelt" rel="nofollow">http://www.mltframework.org/bin/view/MLT/MltMelt</a> but wasn't helping.
Please tell me how I can achieve a final video which has an audio track with the same duration of as the video using <code>melt</code>. </p>
<p>I am using <code>melt</code> on Linux, I have to automate this task using python so I have to use only command line tool.</p>
</div><br></div>