MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 User's Guide Page 73

  • Download
  • Add to my manuals
  • Print
  • Page
    / 252
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 72
Working with Multimedia Files
The From Multimedia File block inherits its sample time from vipmen.avi.
Forvideosignals,thesampletimeisequivalenttotheframeperiod.
Because this file’s frame rate is 30 frames per second (fps) and the frame
period is defined as 1/frame rate, the frame period of this block is 0.0333
seconds per frame.
4 Use the From Wave File block to import an audio file into the model. To
calculatetheoutputframesize,dividethefrequencyoftheaudiosignal
(22050 samples per second) by the frame rate (30 frames per second) to get
735 samples per frame. Set the Samples per output fram e parameter to
735.
2-33
Page view 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 251 252

Comments to this Manuals

No comments