I use VLC on windows xp, and I can increase the playback speed up to 4x and it still has audio. But when I go to the next speed (8x) there is no audio.
Is there a way, or another video software or something, to play a video back at 8x speed and still hear the audio?
Thanks!
+ Reply to Thread
Results 1 to 24 of 24
-
-
Thanks for the suggestion, however when I try to play them in mpchc all I get are still frames. I hit Play and it says Playing but I only see one frame with no sound (as if it is paused). So mpchc seems unable to play these files.
The videos I am playing are large 12.0MBit/sec (CBR) MPEG2, so like 3 gigs for a half hour video. So presumably that's why mpchc can't play them. (But VLC plays them fine.)
So I'm still looking for a solution. -
With a lot of modern video codecs, realtime high-speed playback is going to be limited by your CPU.
The "or something" option would be to pre-process the video - speed up then convert to one of the common framerates (25 or 29.97). Any decent video editor can do this, and you can speed up the video as much as you want without thrashing your CPU on playback. -
See this thread for a solution using Avisynth:
https://forum.videohelp.com/threads/344497-Best-method-for-time-lapse-video
You wouldn't need to create a new video file - just 'play' the Avisynth script instead of the original video. -
-
-
Using AviSynth to play an NTSC DVD VOB at 8x took about 20 percent CPU usage on my Core i5 2500K. Of course, with AviSynth running a single thread that may be close to the limit for smooth playback.
fast, high pitched audio:
Code:DirectShowSource("VTS_02_3.VOB") SelectEvery(8).AssumeFPS(30000,1001) ResampleAudio(6000).AssumeSampleRate(48000)
Code:DirectShowSource("VTS_02_3.VOB") SelectEvery(8).AssumeFPS(30000,1001) TimeStretch(tempo=800)
Last edited by jagabo; 4th May 2012 at 07:08.
-
smplayer almost does it. It will play it up to 4x, but when I go up to 5x it occasionally loops the audio like a record skipping (even though the video doesn't loop), and beyond 5x it constantly skips and can't handle it.
It's only taking 30% cpu, so it's not the cpu limiting it. I'm guessing it's maybe hard drive access that is limiting it. Regardless, it doesn't work.
Also, the 4x audio sounds "choppy" in smplayer whereas in VLC is sounds 'normal'. I am reviewing VHS captures to check for audio and video problems (since some of the tapes were acting up, and if I find problem parts I can actually go back and re-record them and sometimes they play back fine the 2nd time for some odd reason). So, with the choppy audio and the skipping/looping, the 5x is no good. So far 4x in VLC is the best method I have. -
If I understand you correctly you mean that I should open the videos in an editor, apply a filter (or whatever) to speed up the video, and then render out the video.
That would be a good idea if the goal was to create fast videos for playback later. But I'm just trying to review a bunch of vhs captures. The only reason I want to view at greater than 4x (with sound) is so it takes less time for me to check over the videos (to look for problems that would require me re-capturing since these tapes (or vcr?) are problematic in areas. So, with your suggestion, the added time for editing and rendering would negate the whole point. -
I downloaded AviSynth, and created a script file in the same folder as the video file:
DirectShowSource("myvideo.mpg")
SelectEvery(8).AssumeFPS(30000,1001)
TimeStretch(tempo=800)
I then opened that avs script file (as a video) in VirtualDubMod. Upon doing so, VirtualDub gives me a warning box saying:
"Couldn't locate decompressor for format "YV12" (unknown).
VirtualDub requires a Video for Windows (VFW) compatible codec to decompress
video. DirectShow codecs, such as those used by Windows Media Player, are not
suitable. Only "Direct stream copy' is available for this video."
Then if I hit play vdub crashes.
Can I make this work? -
Not necessarily. If you're running a quad core CPU and the program is single threaded it may only be able to use ~25 percent of the CPU. And when a media player gets behind, it will often try to skip forward requiring a disk seek to the next key frame. That will cause CPU usage to drop while it waits for disk I/O to complete.
-
That's right.
That would be a good idea if the goal was to create fast videos for playback later. But I'm just trying to review a bunch of vhs captures. The only reason I want to view at greater than 4x (with sound) is so it takes less time for me to check over the videos (to look for problems that would require me re-capturing since these tapes (or vcr?) are problematic in areas. So, with your suggestion, the added time for editing and rendering would negate the whole point.
The downside to this is you'd be throwing away 7 out of every 8 frames and might miss the very glitches you're trying to spot... -
-
I'm running dual core and the program is multi-threaded. I can see on the task manager chart that the cpu usage doesn't exceed something around 60% on either core, yet at a certain playback speed, the audio decides to start looping/skipping. So I can only assume that it's not the cpu limit, because you would expect to see those cpu usage charts going close to the top before you would say it's the cpu limit causing the problem.
Either way, we are both saying that the end problem seems to be disk I/O lag. (Which is certainly the worse bottle neck on this machine since I don't have solid state drives.) -
This is true, however I am also trying to limit the time in which the computer is being hogged by video processes, and limit the total calendar time to finish this stuff. Just installing the tools, figuring out how to process the videos etc would probably take hours :P (Would be better if I was already set up of course.) The conversion would probably take several nights, and besides, I don't really want to leave the computer on overnight because of heat issues and that the computer is in my bedroom hehe.
The type of glitches I am trying to spot would most likely be seen even with 7 out of every 8 frames cut. Like, the vcr would go to a blue screen for a half a second or so, or the audio would go like BRUUPPPBRUPPPP loudly.
With VLC, I can watch at 4x, and then if I notice anything, I can immediately pause, go back, and reduce the speed to 2x or 1x to really see how bad the glitch is. Obviously with a re-encoded video missing 7 out of every 8 frames I couldn't do that, although I suppose I could look at time codes and then go watch the original video. If I had many more videos than I do (I do have a bunch though) then I would seriously consider this method though.
I'm just kind of bummed, because if VLC would simply have audio at 8x, then problem solved, but VLC auto-mutes it. Perhaps there is a way to tell VLC to have audio at 8x? -
How do you know? And how do you know there's not one stage in the pipeline that isn't multithreaded? Just because both graphs in Task Manager show CPU usage doesn't mean there are two threads running. Windows will usually bounce a single thread back and forth between both (or more) cores. But that single thread will only ever be running on one core at a time. (The switching will be happening in very small time increments, much too small to show up in Task Mangager.) So on a dual core system a single thread will never consume more than 50 percent of the CPU. On a quad core system never more than 25 percent. Etc.
Playing media files is usually broken into more than one thread but a part of the pipeline (read file, split audio and video streams, decompress streams, render streams) could still be single threaded and a bottleneck.
Not really. In the case I outlined disk I/O only becomes a problem because the CPU couldn't keep up in the first place. Consider an 8 Mb/s DVD MPEG 2 file. That's 1 MB/s of data transfer rate, only 8 MB/s at 8x. Any hard drive made in the last 10 years can sustain that. If you're playing DV AVI (3.6 MB/s) files, losslessly compressed, or uncompressed files, disk I/O is more likely to be a problem. -
Is the audio always affected when you get these glitches? If the audio goes wrong in an obvious way (silence or static) you might be able to spot the errors just by looking at the audio waveform:
...not that it matters, but I originally missed where you said the videos were MPEG2... and MPEG2 certainly isn't a 'modern codec'...But I'm still not surprised that you're having problems trying to play at these speeds.
Last edited by intracube; 4th May 2012 at 23:24.
-
Yeah, I merely assumed it was multi-threaded because of what the chart showed. But it is now apparent that it is extremely likely you are right. In mplayer, the CPU can handle playing the *video* portion of the video at 8x, but not the audio. And then it chokes and probably has I/O problems. But, considering what you say about the cpu, it may be purely a cpu issue and not even causing a further i/o problem.
So it is highly likely that even if I could get VLC to have audio at 8x, or use some other program that can do 8x audio like mplayer, no solution would work; 4x is the max this system can do. -
No, unfortunately the potential audio issues are probably too random for that. (sometimes quiet, sometimes loud static). I mean, I could probably find a bunch of it that way, but, I don't even think Vegas can load these files and if it could they would probably be all slow and annoying. (Vegas being the only app I have where I could see those wave forms.)
So it looks like the solution to my original post is: Yes, there is a way to play videos (with audio) at 8x: Smplayer. But only if your cpu is fast enough to do it. (and mine isn't)
Thanks for the help -
Last edited by jagabo; 5th May 2012 at 07:07.
Similar Threads
-
video play's a bit faster than sound
By codemaster in forum DVD RippingReplies: 2Last Post: 22nd Mar 2011, 16:57 -
Need advice getting rid of buzz sound at end of every word of video sound
By OM2 in forum AudioReplies: 18Last Post: 30th Oct 2010, 11:58 -
mini dv tapes don't play sound, and video editing program can't locate time
By dave24 in forum Newbie / General discussionsReplies: 6Last Post: 1st Apr 2010, 18:58 -
WMP 11 can play video file and but produce distorted sound at 48Khz
By hulinning in forum Software PlayingReplies: 1Last Post: 13th Nov 2009, 21:02 -
MT2S files play video in MPC but no sound+Ultra Cyberdvd wont display video
By btvs2000 in forum Software PlayingReplies: 7Last Post: 22nd Sep 2008, 15:44