Exporting Sped-Up Video

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
VLCUser382
New Cone
New Cone
Posts: 4
Joined: 19 Mar 2012 08:00

Exporting Sped-Up Video

Postby VLCUser382 » 19 Mar 2012 08:10

Hello all,

I am new to this forum.

I am wondering if there is a way I can import a video, and export a video at 200% playback speed of the original video. In other words, I need to double the speed of a video and export it.
I am hoping to do the same for an audio file.

This is going to be used to sing a song (a "cover") for a school Spanish project - we need to sing the song slowly to allow us time to fully enunciate all of the syllables and then increase the speed of the video we are filming. Spanish songs are extremely fast. When we edit the video project in Adobe Premier, we need to have the song we are singing (the published MP3 from the artist) playing in the background, thus we need to speed it up also.

Can anyone help me export a video at double speed? I can use either a Mac or a PC, if it makes a difference.

I have already tried using VLC's streaming feature, but I am unsure of how to use it while speeding up a song and exporting the sped-up version.

I appreciate any help anyone can give me.

Thank you!

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Exporting Sped-Up Video

Postby Rémi Denis-Courmont » 19 Mar 2012 08:25

There is no way to drop every second frame of video or audio without decoding and reencoding. This would be a lossy process, and thus nobody has cared to implement the needed code so far.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

VLCUser382
New Cone
New Cone
Posts: 4
Joined: 19 Mar 2012 08:00

Re: Exporting Sped-Up Video

Postby VLCUser382 » 19 Mar 2012 08:34

Thank you.

For my education, how does the speeding up feature currently work?

VLCUser382
New Cone
New Cone
Posts: 4
Joined: 19 Mar 2012 08:00

Re: Exporting Sped-Up Video

Postby VLCUser382 » 19 Mar 2012 08:39

By the way, I still love VLC!! Please keep up the good work.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Exporting Sped-Up Video

Postby Rémi Denis-Courmont » 19 Mar 2012 11:52

As I said, speed up is done on decoded signal. This only works fine for local playback.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Competern
New Cone
New Cone
Posts: 4
Joined: 20 Mar 2012 02:07

Re: Exporting Sped-Up Video

Postby Competern » 20 Mar 2012 11:54

Since VLC media player will play back at twice speed (audio and video) you should be able to use Snapzxpro on a mac to record video from the screen during play-back (at twice or whatever speed) and then export that. SnapzXPro is not free, but it I've found it good. You say that you can use Mac - good, because I understand that SnapzXPro is only for Mac - if not, someone please correct me. Incidentally Apple Technical Support told me to use VLC Media player when my then new MacBook Pro wouldn't play some DVDs using Apple supplied software.

As I understand it, speeding up or slowing down the video is fairly easy - to slow down, frames are repeated; so speed up frames are omitted. But however it is achieved, VLC Media player does this for you.

VLC Media player also does the audio processing for you, but it helps to know what the processing does so that you understand the limitations of speeding-up or slowing down audio. If the speed change is done by simply changing the clock/sampling rate that changes the pitch. To prevent pitch-change, the audio must be played back at normal speed (with normal clock/sampling rate) and short sections of audio must be snipped out to speed up: or repeated to slow down. The hard part, the art of it, is to snip out, or add in, short sections of audio such that the audio-joins are effectively silent, while the overall audio remains in sync with the video. To do this, the software has to match the cuts so that the magnitude and slope of the audio waveform matches on each side when the audio sections are spliced together. When this is done properly, the join is inaudible. If it is done poorly, it will sound noisy.

In practice audio is often very complex with different unrelated sounds and frequencies all mixed together. Hence, even though all individual splices in the audio may have no click or noise, and so the dominant theme or speech sounds OK, the background themes, background speech or background noise tend to sound weird as they wax and wane in an unpredictable manner.

The net result is that audio processing to keep the same pitch works reasonably well for clear speech, especially when there is only one person speaking and no background noise. But when the audio is complex with speech or singing plus music or other speech in the background, as in your intended use, the end result may sound strange and the speed-shifted audio quality may be noticeably worse. This is not a fault in the audio processing - it is simply a reflection of the fact that there is no perfect solution for a complex mixed-audio original.

So try out the sped-up playback first: check that the audio quality is acceptable to the intended audience: and then decide if you want to invest in Snapz Pro X to capture and then export the sped-up playback.

If the speed-change technique was done professionally, the way forward would be to record multi-track so that each track consists of a dominate theme with no background noise, so each track would be spliced in different places and then the different tracks mixed after the speed change. That's a mammoth task - but it helps you understand the problems.

VLCUser382
New Cone
New Cone
Posts: 4
Joined: 19 Mar 2012 08:00

Re: Exporting Sped-Up Video

Postby VLCUser382 » 21 Mar 2012 03:20

Thank you both! I ended up using Adobe Premier on a school computer.
Thank you for your help Remi, and thank you for an extremely detailed explanation Competern. You enlightened me!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests