User User name Password  
   
Thursday 14.8.2025 / 05:44
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital video > video - everything else > speeding up playback rate of an xvid .avi by a percentage?
Show topics
 
Forums
Forums
Speeding up playback rate of an xvid .avi by a percentage?
  Jump to:
 
Posted Message
n_black
Newbie
_
1. September 2008 @ 13:53 _ Link to this message    Send private message to this user   
Hey all. I've got a couple of video files I need to speed up. The DVDs they were ripped from (the Reboot movies if you're familiar) were improperly encoded by the releaser, and as a result playback was reduced by 4% speed. I order to correct this in the video files, I need to increase playback speed of both audio and video by 4.28% (actually 4.27(repeating), but you can't put a repeating number into most programs).

I'm hoping there's a way to do this speedup without actually reencoding the video. If there's not, what is the best way to speed up the video and recompress it with minimal quality loss?
Advertisement
_
__
Senior Member
_
1. September 2008 @ 19:18 _ Link to this message    Send private message to this user   
Are you talking about the 4% PAL speedup Vs. NTSC?
Are you trying to go from 23.976 frame rate > 25
(or vice versa)
n_black
Newbie
_
1. September 2008 @ 20:07 _ Link to this message    Send private message to this user   
Originally posted by davexnet:
Are you talking about the 4% PAL speedup Vs. NTSC?
Are you trying to go from 23.976 frame rate > 25
(or vice versa)
It doesn't much matter. The end result is that I have two xvid files on my computer that play back at 96% of the speed they should, and to play at the normal speed, I'd have to increase their current speed by 4.28%

If you really need to know the reason, it's because the company that made the DVDs these were ripped from messed up and encoded the 25fps source as though it were 24fps. There's more info here:http://en.wikipedia.org/wiki/ReBoot#VHS_and_DVD_release

All I want to do, though, is increase the playback speed of an AVI and its sound by 4.27%.
AfterDawn Addict
_
2. September 2008 @ 06:14 _ Link to this message    Send private message to this user   
You can change the frame rate in VirtualDub by adding 4.28% to the current rate and saving the file.
The video would play faster, but the audio would be async.
For the audio to match, it would have to be demuxed as a wav, loaded into the likes of Audacity and the tempo tool used to match the audio length to the new video length and saved as a new wav file, then the new audio would be loaded into Virtualdub and saved with the new video.

It's covered here.
http://www.hello-online.org/lofiversion/index.php/t4867.html
Good luck.
n_black
Newbie
_
2. September 2008 @ 14:52 _ Link to this message    Send private message to this user   
Thanks!
n_black
Newbie
_
2. September 2008 @ 16:44 _ Link to this message    Send private message to this user   
I've got a new problem. I also need to resize to 16:9 (whoever encoded it forgot to correct for the aspect ratio), and keep it compressed. When I "save as avi" in virtualdub, it gives me an error about compressing to xvid:

First it says "statsfile no found!"
and then it says "Cannot start vdeo conversion: the operation is not supported (error code -1)"
AfterDawn Addict
_
2. September 2008 @ 17:07 _ Link to this message    Send private message to this user   
I'm not sure why it cannot save the file - since the video is being saved as 'direct stream copy' - if it can load it it should save it unless you are using a filter to modify it..
Use Gspot to identify the type of video, which codec it uses and if the codec is installed on the PC.



[img]
n_black
Newbie
_
2. September 2008 @ 17:50 _ Link to this message    Send private message to this user   
Originally posted by attar:
I'm not sure why it cannot save the file - since the video is being saved as 'direct stream copy' - if it can load it it should save it unless you are using a filter to modify it..
Use Gspot to identify the type of video, which codec it uses and if the codec is installed on the PC.



[img]

I am using the resize filter to make it 16:9. Right now it's at some random incorrect size.
AfterDawn Addict
_
2. September 2008 @ 17:58 _ Link to this message    Send private message to this user   
So your selecting 'Full processing mode', choosing a compressor and the compressor (codec) is installed?
n_black
Newbie
_
2. September 2008 @ 18:01 _ Link to this message    Send private message to this user   
Originally posted by attar:
So your selecting 'Full processing mode', choosing a compressor and the compressor (codec) is installed?
Yep. I'm choosing the most current xvid, but it can't seem to deal with resizing. If I disable resizing and just do the framerate increase it works fine, but then there's no point in recompressing. Is there some other way to resize to 16:9 after I deal with the audio issues?
n_black
Newbie
_
2. September 2008 @ 18:24 _ Link to this message    Send private message to this user   
Wait, I think I figured it out. XVID will only encode things in ARs that are multiples of 2, so I specified an absolute resolution of 854x480 rather than simply telling vdub "16x9".
n_black
Newbie
_
2. September 2008 @ 20:58 _ Link to this message    Send private message to this user   
Okay, after a lot of square dancing and a couple virgin sacrifices I now have a video file that is the proper AR at the proper speed.

But it's 4.2 gigabytes. I can't get Virtualdub or Virtualdubmod to do a two-pass encode with XVid (it still complains about a missing statsfile). How do I get this filesize down?
AfterDawn Addict
_
2. September 2008 @ 21:01 _ Link to this message    Send private message to this user   
Are you compressing the audio.
n_black
Newbie
_
2. September 2008 @ 22:54 _ Link to this message    Send private message to this user   
Yes. The problem is that vdub won't do two passes for compression, so the filesize is pretty nonoptimal.
Senior Member
_
3. September 2008 @ 00:17 _ Link to this message    Send private message to this user   
The stats file is created during the first pass.
Are you sure you're not selecting 2nd pass before you did the first
pass?
n_black
Newbie
_
3. September 2008 @ 01:52 _ Link to this message    Send private message to this user   
Originally posted by davexnet:
The stats file is created during the first pass.
Are you sure you're not selecting 2nd pass before you did the first
pass?
D'oh. That's exactly what I was doing! Once I do the first pass, do I do the second pass from the save file?
Advertisement
_
__
 
_
Senior Member
_
3. September 2008 @ 12:00 _ Link to this message    Send private message to this user   
I don't think you need to do anything special.
Just set 2nd pass in the xvid options,
and file/save avi. (if the 1st pass created an avi, it
is useless and can be deleted)

The stats file created from the 1st pass is on your HD
somewhere and will be used in the 2nd pass to allocate
the bit rate.
Related links
Download XviD codec from here.
 
Related forum topics Posts Last post Forum room
where do i find xvid codecs for 360 2 29. November 2013 Xbox 360 - Everything else
Xvid file stops playing after a few seconds 5 26. August 2012 Video - Everything else
AVI / Xvid media player 5 5. July 2012 Sony PSP - Homebrew software
Xvid upgrading to Virtualdub 2 24. June 2012 Video - Everything else
Xvid resets to Xvid mobile after/while AutoGK 3 15. March 2012 Convert DVD to another format
End of Xvid movies suddenly cutting off? 5 17. February 2012 Video playback problems
New guide: Encode DVDs to XviD with MeGUI 1 11. February 2012 News comments
.mkv 720p to .avi 720p (matroska to XviD) 2 30. January 2012 Convert video to another format
Changing resolution with xvid 3 24. December 2011 Convert video to another format
DVD to AVI/Xvid oddities 2 2. November 2011 Convert DVD to another format

 
afterdawn.com > forums > digital video > video - everything else > speeding up playback rate of an xvid .avi by a percentage?
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork