Watch videos at higher playback speeds

April 2, 2009 | Leave a Comment

This is going to be a small, technical tutorial on how to save a lot of time by watching videos at higher playback rates.

I first read about this idea from my most favorite personal development blog at Steve Pavlina.com. In his post “Overclock Your Audio Learning” he says that he occasionally listens to audios at 4.1x. At this speed 4 hour video/audio can be listened in less 1 hour!

I personally found it impossible to understand anything at 4x speed. My optimal listening speed is 1.65x - 2.1x.

To speed up the videos you will first need to download and install AviSynth. AviSynth is kind of a video programming language with which you can do all kinds of manipulations to videos programmatically. If you are on Windows, then during the installation make sure to associate .avs file extension with Windows Media Player and not Notepad.

Next, create this AviSynth script, and place it in the same directory as your video. Name the script as “speedup.avs” or something similar. Make sure the extension is “.avs” if you are on Windows!

file = “file_name_of_video.avi”
speedup = 1.65
pitch = 100 

DirectShowSource(file) 

audio_rate = last.audiorate
video_rate = last.framerate 

AssumeSampleRate(int(audio_rate*speedup))
AssumeFPS(video_rate*speedup)
TimeStretch(pitch = pitch)

There are three variables that you can change in this simple script. The first is “file“. It should be the filename of the video you are about to watch. The next is “speedup“. It’s the new playback rate, you may set it to any value you wish. For example, if you set it to 2.0, then the video will play twice as fast as it normally would. And the last parameter to change is the “pitch“. You may change it to something lower than 100 when the video plays at higher speeds to make the speaker sound lower. I usually keep “speedup” at 1.65 and “pitch” at 75.

Once you have made your own configuration, just double click the .avs on Windows to play it at the new playback speed, or play it through mplayer on Linux!

Other suggested technique on how to watch videos is to use mplayer. Turns out it already has an option to play videos faster!

mplayer -speed 1.65 file.avi 

# use keys [ ], and { } to control the playback speed
# use backspace to reset video speed to normal.

Another technique suggested is to use MySpeed™ Plug-In for YouTube to speed up video on YouTube in real time.

Do you have any other techniques to speed up videos? I am also curious at what speeds do you feel the most comfortable watching the videos?

It would also be cool to create a hack that modifies youtube and google video players to make them play videos faster natively.

Best from Defcon 15

March 26, 2009 | Leave a Comment

Have fun!

Make Any Linux Directory an ISO File

November 13, 2008 | Leave a Comment

#mkisofs -V LABEL -r DIRECTORY | gzip > cdrom.iso.gz

Automatically backup a Web site using batch and Wget

June 14, 2008 | Leave a Comment

You can automatically make a backup of a Web site by using batch scripting in combination with a third party program called Wget. Wget will allow you to save a backup of every file of a Web site. You can download Wget from the Wget homepage. Create a folder at C:\ServerBackup and extract the contents of Wget into it. This is also the location where the contents of the Web site are going to be backed up.

Open Notepad and type the following on the first line:

cd C:\ServerBackup

and on the second line type:

wget -r -k -p http://www.YourSiteName.com

and save the file as ServerBackup.bat.

Similarly,
you can automate this process if you right click on the file, create a shortcut, and put that shortcut into your “Startup” folder. Whenever you log into Vista, a backup of a Web site will be made.

Next Page »