Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Can I Double The Speed Of My Video And Audio?, Can I use Virtual Dub Mod for this?
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
OM2
Posted: Mar 17 2012, 01:29 AM


Newbie


Group: Members
Posts: 2
Member No.: 34509
Joined: 17-March 12



I want to download video from youtube and double it's play back speed - both video and audio
Doesn't matter if audio comes out like chipmunks!

Let me know

Thanks


OM
 
     Top
malky
Posted: Mar 17 2012, 01:28 PM


Advanced Member


Group: Members
Posts: 290
Member No.: 22386
Joined: 6-November 07



Assume the source is 25fps.

'Video' > 'Frame rate' > in 'Video Frame Rate Control', 'Source Rate Adjustment' 'Change Frame Rate to FPS' and enter 50
50 is 25 speeded up by 100%
Beneath that in the next section, 'Frame rate conversion' check 'Convert to' and insert 25 then OK.

To keep the audio pitch, (but speeded up and in sync) do this:
Click 'Audio' > 'Full processing' > 'Use Advanced Filtering' > 'Filters'.
Add the filters in order, 'Input' 'Time Stretch' 'Output'.
Double click on 'Time Stretch' and enter '.5' (25/50=.5).
Select audio compression (should be same as the source) e.g. mp3 48000, 128 stereo

Video > Compression and select a compressor.
Save file.
 
    Top
OM2
Posted: Mar 27 2012, 01:42 PM


Newbie


Group: Members
Posts: 2
Member No.: 34509
Joined: 17-March 12



malky: thanks a million for the reply

i didn't get notification of your reply - else i would have replied earlier
all that sounds awesome

any thoughts about automating and doing for several videos?
i have used virtualdub before, editing a script that was generated
that worked fine
just wanted to know the best way to process 100 videos, say

thanks


OM
 
     Top
malky
Posted: Mar 27 2012, 05:04 PM


Advanced Member


Group: Members
Posts: 290
Member No.: 22386
Joined: 6-November 07



Ideally, you would run VirtualDub without a video input and make the settings as required and 'save processing settings' and exit.
The source files would be in one folder with a new empty folder for the destination.
Run VDub again and 'load processing settings' then 'job control' > 'edit' > 'process directory' (the source) and 'target' directory.

The problem is if the source files are not 25fps or the audio has different sampling rates (the assumptions made in my initial response).
The fps being different means that the audio pitch would be shifted and if the source audio was a different sampling rate from the script, an error would be generated and the file wouldn't process.
You could get around the sampling rate problem by setting the audio in the script to uncompressed - larger audio, but if the fps was different the pitch would still be wrong.
I tried to get around the sampling rate by using audio conversion in the script - but found that advanced filtering and conversion won't work when an audio codec is also selected.

Sample file:
http://www.filedropper.com/c3
 
    Top
beans-on-toast
Posted: Apr 2 2012, 10:19 AM


Newbie


Group: Members
Posts: 1
Member No.: 34597
Joined: 2-April 12



To add a further question to this biggrin.gif
how do I apply the speed up to only a section of the clip?
I know with adding a filter you can use the curve editor to apply it to only some frames.
 
     Top
malky
Posted: Apr 3 2012, 10:22 AM


Advanced Member


Group: Members
Posts: 290
Member No.: 22386
Joined: 6-November 07



You can't do it for a batch using the job control method.
For a single file, load the source in VirtualDub:

Select/highlight the the first segment;set Video to Full processing and choose a compressor - save P1.
Press the delete key to remove P1.

Select P2, set the frame rate as discussed previously (the video compression is the same as P1).
Set the audio for the advanced filtering as previously discussed.
Save P2.
Press the delete key to remove P2.

For P3, reset the frame rate back to the original settings (the video compression stays the same as P1 and P2).
Set the audio to direct stream copy.
Save P3.

Close and re-open VirtualDub.
Load P1 - Append P2, P3 should load automatically.
Set video to direct stream copy and save.

http://www.filedropper.com/all_1
 
    Top
malky
Posted: Apr 3 2012, 10:24 AM


Advanced Member


Group: Members
Posts: 290
Member No.: 22386
Joined: 6-November 07



Double post - PS update notification doesn't work.

This post has been edited by malky on Apr 3 2012, 10:26 AM
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
6 replies since Mar 17 2012, 01:29 AM Track this topic | Email this topic | Print this topic

<< Back to Newbie Questions