On Mon, Jan 13, 2014 at 6:03 AM, Alok Singh Mahor <[email protected]>wrote:

> Hi
>
> 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.
>
> I want to add audio to 'myvideo.wmv' using melt command
>
> melt myvideo.wmv -track voice.mp3
>
> 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.
>
> I tried to follow http://www.mltframework.org/bin/view/MLT/MltMelt 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 melt.
>
> I am using melt on Linux, I have to automate this task using python so I
> have to use only command line tool.
>
>

How about using something like sox to first create an audiotrack which is 2
minutes long (insert silence wherever you like) and then just adding the
audiotrack to the video using melt?

Sharad

-- 
-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

--- 
You received this message because you are subscribed to the Google Groups 
"Linux User Group @ IIT Delhi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to