Preserving Audio stream of a Video file.

1 回表示 (過去 30 日間)
Nikolay S.
Nikolay S. 2012 年 2 月 5 日
編集済み: Greg Heath 2013 年 10 月 26 日
working with video and image processing, and posting functions I consider useful on Matlab File Exchange. I’m usually concerned with image data of the video frames so I have neglected the Audio data so far. Recently when I’ve used my code ( http://www.mathworks.com/matlabcentral/fileexchange/32351-apply2videoframes) to rotate a home video, I’ve noticed Audio data disappears in process. I’ve tried searching for an appropriate function, but neither this forum not Matlab help were able to propose a suitable solution.
What I’d like to have, is an option to take the audio of the input Video file adding it to the resulting video, while both will have same number of frames, and same frame rate. In a more general case of several out Videos (for this code for example http://www.mathworks.com/matlabcentral/fileexchange/34845-crop-vidoe-to-sub-elements ) I’d like to add same input Audio to all out Video files.
Thanks in advance,
Nikolay.
  1 件のコメント
Nikolay S.
Nikolay S. 2012 年 2 月 26 日
And even in a more general case, dividing the audio stream to N segments (N=number of frames), and associating those audio stream segments with each frame, will allow preserving frame-audio relation..
A word of advise anyone?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by