Controlling the Speed of YouTube, Flash, HTML5, and Desktop Videos with Deviare Hooks

Controlling Playback Speed

Our Deviare Hooking Engine can be used to speed up or slow down a video during playback using the code available here (github repository). This code is pretty small and clearly shows how Deviare handles the complexities of API hooking. Although this sample code deals only with video it is also possible to use Deviare to produce code for processing audio.

Controlling playback speed has multiple practical applications. The most obvious application is the classic “fast-forward”, but there are others. Studies done as far back as the late sixties indicated that listening to teaching materials that had been sped up by a factor of two twice is more effective than listening to them once at normal speed. Skeptical? see the Comprehension of Repeated Time-Compressed Recordings paper. Controlling the speed of a video is also a useful feature for learning. Slowing a video down may help when taking notes, while it can be sped up to skip unnecessary or redundant parts.

Our code can be used to modify the playback speed of videos on any site or application. Most internet video site do not allow you to control playback speed. YouTube is currently testing an HTML5 site that includes such controls. The desktop application VLC can also be used to stream YouTube videos at a couple of different speeds. The advantage of our solution is that it is independent of player capabilities.

Technical Details

The key to speeding up or slowing down a video is to convince multimedia players that our computer is slower or faster than it really is. If the application believes that the computer is faster than it really is, it slows down the video. If it thinks its slower, then the video will be played faster. For example, Adobe’s Flash technology relies on timeGetTime() to determine the time between each video-frame. If your computer is too slow to process a video-frame, then Flash increments the frame rate to keep it synchronized with the audio. If we make Flash believe that the elapsed time is shorter, the video will play more slowly.

Related Microsoft Windows Information

Some applications desgined to alter playback speed hook the functions timeBeginPeriod(), timeEndPeriod(), which affect a global Windows setting. Windows uses the lowest value (e.g: highest resolution) requested by any process. Setting a higher resolution can improve the accuracy of time-out intervals in wait functions. However, it can also reduce overall system performance, because the thread scheduler switches tasks more often. High resolutions can also keep the CPU power management system from entering power-saving modes. Setting a higher resolution does not improve the accuracy of the high-resolution performance counter.

Business Opportunities

If you are interested in building applications which control the speed of video playback, drop us a line or engage on a discussion in our forums.

Further Research

Accelerating audio poses some interesting challenges that are the subject of much research. One is how to increase the audio speed while keeping it intelligible. This is used in many fields: from learning to advertising. In advertising, it is used to convey the same audio message in a shorter period of time. Since time is money, this saves millions in big campaigns. The Techniques, Perception, and Applications of Time-Compressed Speech paper provides a good overview of this topic.

Related Services

  1. Reverse Engineering
  2. Interception and Filter Drivers Services
  3. Application Virtualization and Packaging

See Also

  1. Logging Printer Activity
  2. DirectSound Capture Using Deviare
  • mena99260

    ncrease the audio speed while keeping it intelligible. This is used in
    many fields: from learning to advertising. In advertising, it is used to
    convey the same audio message in a shorter period of time. S
    best cookware
    sets

  • mena99260

    Happy new year 2015 images fill your mood and sets an amazing ambience of celebration around you. H.. adynatisma

  • mena99260

    Happy new year 2015 images fill your mood and sets an amazing ambience of celebration around you….
    Going Here

  • mena99260

    There is a strong conflict of interest between criticizing companies and
    developing software for their platform prisons. People talk too much
    about the “user experience” and not enough about the “hacker
    experience”.
    West Palm Beach Escorts

  • mena99260

    There is a strong conflict of interest between criticizing companies and
    developing software for their platform prisons. People talk too much
    about the “user experience” and not enough about the “hacker
    experience”
    allergic asthma treatment

  • mena99260

    There is a strong conflict of interest between criticizing companies and
    developing software for their platform prisons. People talk too much
    about the “user experience” and not enough about the “hacker
    experience”

    twitter accounts

  • Ashar Arain

    CPU power management system from entering power-saving modes. Setting a
    higher resolution does not improve the accuracy of the high-resolution
    performance counter…
    Free PDF Links

  • ehtisham khan

    Simply wanted to inform you that you have people like me who appreciate your work.

    industrial pressure washers

  • Ashar Arain

    In advertising, it is used to convey the same audio message in a shorter period of time…
    feminized
    marijuana seeds for sale

  • ehtisham khan

    that aggressive tumors tend to have blood vessels that are small,
    irregular and primitive in cross-section, while vessels in indolent
    tumors look more normal.
    medical marijuana ri

  • ehtisham khan

    Westmoreland Chamber leaders the facility was a community asset of which we should be proud.
    fibromyalgia
    natural treatment diet

  • Imtiaz Ali

    Chamber leaders the facility was a community asset of which we should be proud…
    http://www.riverbendtreasures.com/

  • Black Men

    Slowing a video down may help when taking notes, while it can be sped up to skip unnecessary or redundant parts.loft conversions london

  • Imtiaz Ali

    for this weblog to get newest updates, so where /
    PVA Accounts

  • Imtiaz Ali

    is used to convey the same audio message in a shorter period..
    jaipur to delhi
    cab

  • Imtiaz Ali

    In advertising, it is used to convey the same audio message in a shorter period of time. Since time is money/.
    top blogging
    sites

  • Imtiaz Ali

    challenges that are the subject of much research. One is how to increase the audio speed while keeping it intelligible.
    rajasthan tour
    packages from jaipur

  • Imtiaz Ali

    If search results can be used as a measure of success, a search for each..

    historical racing in idaho

  • Imtiaz Ali

    Want
    Higher Ranking In Google?? Nothing Is Better Than HIGH PR BLOG COMMENTING
    SERVICE. Google Love These Kinds Of Back Links Because Your Website Is
    Linking To Authority Site That Is Already Index In Search Engines. This
    Service Is A WIN For Both Your Site, And Sites Where We Will Place Your Link
    With Additional Unique Content.
    seo link building
    services

  • Ashar Arain

    Thank you very much! My friends and family members will be happy after hearing about this…
    free credit reports from all 3 bureaus

  • Imtiaz Ali

    just before final reviews were to begin, several students in Wentworth Institute of Technology’s graduate architecture..
    Nanatsu No Taizai

    ..

  • imtiaz

    Is there really only the way to upload via Dropbox itself
    and than attach it to my mail..
    car from delhi to
    jaipur

  • imtiaz

    I needs to spend some time studying more or understanding more ..
    buy email list

  • imtiaz

    reading in a class and we are looking at this subject in the next week.
    open source support ticket system I will be assign my student to look at
    your post for good information….

    email opt in

  • imtiaz

    the Python Win32 Extensions installer should recognize your Python installation..
    target bulk email marketing

  • https://twitter.com/SeoComenting SEO Commenting

    And he in fact ordered me dinner because I -idblogs it for him… lol. So allow me to reword this. psd-loft.com

  • imtiaz

    the Python Win32 Extensions installer should recognize your Python installation.
    how to start
    a blog

  • imtiaz

    dictates the scalability of your deployment using the solution. Large scale deployment with either a large number of sites,
    email marketing

  • peterseo

    if they begin viewing the full image rather than targeting outsourcing .

    buy email list

  • https://twitter.com/SeoComenting John SEO

    If you are interested in the finest vets inside Shropshire you then need Playground Issa. This leading veterinary service can provide your pets every one of the health care they want…
    GramiChicago.com

  • https://twitter.com/SeoComenting John SEO

    I appreciate everything you have added to my knowledge base.Admiring the
    time and effort you put into your blog and detailed information you
    offer Thanks.
    salvia for sale

  • https://www.fiverr.com/blackman111 Black Men

    The desktop application VLC can also be used to stream YouTube videos at
    a couple of different speeds. The advantage of our solution is that it
    is independent of player capabilities.auto news

  • https://www.facebook.com/ SEO Worker

    There is a lot of information here that can help any business get started with a successful social networking campaign!

    Marketing1on1 offers the best SEO backlinks on the
    market

  • https://www.facebook.com/ SEO Worker

    The same aliens popped up in a (much) earlier strip, too, involving a married couple whose kids have finally gone to College, so they can at last be themselves.
    how to
    unlock phone with code

  • https://www.facebook.com/ SEO Worker

    This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!
    email market