Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

15
  • $\begingroup$ Welcome to SE.DSP. What do you mean by "write them to file"? $\endgroup$ Commented Aug 12, 2016 at 16:32
  • 1
    $\begingroup$ Maybe duplicate every frame 1917 times, and feed that to VideoFileWriter? $\endgroup$ Commented Aug 12, 2016 at 19:33
  • $\begingroup$ @LaurentDuval: by "write to file" I mean generate a video that has the frames as the video component and the audio file as the sound component and write this resultant file to disk. $\endgroup$ Commented Aug 13, 2016 at 19:50
  • $\begingroup$ I did not try to do something similar, but I suspect there are simpler ways outside Matlab. Did you check solutions like stackoverflow.com/questions/17013363/… $\endgroup$ Commented Aug 13, 2016 at 19:57
  • $\begingroup$ @MBaz: and then set the frame rate of the resultant video clip to be the same as the audio clip (i.e. 48 kHz)? $\endgroup$ Commented Aug 14, 2016 at 9:06