Note that there are some explanatory texts on larger screens.

plurals
  1. POTime Stretching and Pitch shifting with IOS
    primarykey
    data
    text
    <p><strong>In short:</strong> How to do Time Stretching and Pitch Shifting in iOS?</p> <blockquote> <p>In Detail:</p> </blockquote> <p><strong>What am i trying to do?</strong></p> <p>The <strong>app</strong> will <strong>show</strong> the <strong>video thumbnails</strong> to the users to <strong>select a certain range of frames</strong> from the video file.</p> <p>I have to <strong>Apply the ramp slow Mo</strong>, <strong>only</strong> to the <strong>selected duration or frames</strong> of the video. </p> <p><strong>Ramp Slow Mo:</strong> (<strong>Time Stretching + Pitch shifting</strong>) <strong>dynamically</strong>. I have to vary the Time and pitch in a for loop say for some 10 iteration. Its nothing but the behaviour of English letter "U". So, i will increase the time and pitch and decrease them.</p> <p><strong>How am I trying:</strong></p> <ol> <li><strong>Finding the Start/End time</strong> for the user selected videos.</li> <li><strong>Splitting the video and audio</strong> separately through <strong>AVFoundation Mutable Composition.</strong></li> <li><strong>For Video:</strong> Applying <strong>Time Stretching</strong> for only for the duration in <strong>between Start/End time.</strong> *<em>No problem</em>* in it,Its happening as i expect.</li> <li><strong>For Audio:</strong> Doing <strong>Time Stretching and Pitch shifting dynamically</strong>, which is also for the selected time frame. I am <strong>using Dirac</strong> for this. <strong>Now, i would like to use IOS SDK itself</strong>.</li> <li><strong>Merging</strong> audio and video post slow mo as a file and storing it.</li> </ol> <p><strong>Analysis:</strong></p> <p>Hitherto, I've found that <strong>OpenAl</strong> or <strong>Audio Units</strong>(Using <strong>AUVarispeed</strong> alone or <strong>AUTimePitch</strong> and <strong>Time Rate</strong> together) can help. After splitting the video and audio, i will have the audio <strong>URL</strong> to proceed further, either with OpenAL or Audio Units.</p> <p><strong>My questions:</strong></p> <ol> <li>Can anybody help me to <strong>avoid Dirac</strong>(ref bullet 4)? So how to do Time Stretching and Pitch shifting dynamically?</li> <li>How to do *<em>only for the selected frame</em>*s (in between start and end time)?</li> <li>I am not sure how to <strong>combine</strong> *<em>AVFoundataion's</em>* URL <strong>with OpenAL or Audio Unit's buffer</strong> and after slow mo effect, <strong>how to merge finally with AVFoundation's video reference URL</strong>?</li> </ol> <p>Any kind of reference or sample codes helps a lot.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload