Combining (Sound File with a video file) and (reading certain interval of a sound file)
Show older comments
Hello, I have two questions:
1- How can I combine an existing sound and video files together in my matlab code eg: Video.avi + Sound.mp3 = video.avi but has the audio of 'Sound.mp3'
2-I want to read a specific time interval from a sound file eg: Sound.mp3 [10,40] --> This will read sound file from second 10 to second 40
Thanks in advance
Accepted Answer
More Answers (1)
Parameswaran Bose
on 28 Dec 2014
0 votes
Hi maher, The following command will help you for the second question.
ffmpeg -ss 10 -i file.mp3 -t 40 ofile.mp3
rgds Parameswaran Bose
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!