Hi,
I have this video file that plays choppy on my standalone
DVD player (as well as on the PC).
The stuttering frame(s) seem to occur in very precise intervals,
like every 2 seconds.
Is there a way to fix this, most preferrably without reencoding the video?
Thanks in advance.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 14 of 14
Thread
-
-
Originally Posted by Baldrick
Is it really that hard to fix?
Couldn't be a matter of removing duplicate frames? just guessing, I'm a newbie ..
Thanks again. -
How do you expect the program to know which frames are duplicates because of an encoding error and which are duplicates because of a still shot?
-
Originally Posted by jagabo
-
Originally Posted by dexter30
Post a few minutes of your video and I'll take a look at it. But I'm not aware of any software that will automatically figure out how many frames are duplicated and at what interval and remove them. And certainly not without reencoding. -
Originally Posted by jagabo
-
I'm not aware of any software that is designed specifically to remove N duplicate frames from a specific location within a group of M frames. This is not a common problem.
AviSynth has a TDecimate() function that can remove N frame from a group of M and it preferentially removes duplicate frames. But it will remove duplicates in still shots as well as the erroneous duplicates.
If the pattern is completely regular, say, out of every string of 20 frames the last 5 are duplicates, and this pattern repeats over and over again, exactly, you can use AviSynth's SelectEvery() function: SelectEvery(20, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14).
I suspect the only solution you will find is to use an editor to manually locate and delete the duplicates. Then reencode the video.
Open your video with VirtualDub and step through frames one by one to verify that there are groups of duplicates as we are surmising, and not that this is some kind of playback problem. -
Originally Posted by jagabo
I discovered that 1 duplicate frame occur exactly every 24 frames.
Please, take a look at the attached sample file and see if the AviSynth funcions you mentioned would work.
Also I donīt know how to use it, I will be grateful if you help me.
Thanks again.
test.avi -
It isn't as simple as every 24th frame. Here's a list of the duplicate frames (as numbered by VirtualDub, followed by the count to the next duplicate in parenthesis):
48 (25)
73 (24)
97 (25)
122 (24)
146 (24)
170 (25)
195 (24)
219 (25)
244 (24)
268 (24)
292
There isn't quite enough here to say exactly, but the pattern appears to be 25, 24, 25, 24, 24. That would mean there are 5 duplicates in every 122 frames. The source file is 25.00 fps. Removing the duplicates would change it to 23.975 fps (25 * 117 / 122). That is close enough to 23.976 fps to assume that somebody converted a 23.976 fps NTSC video to 25 fps PAL by duplicating frames. Actually, just seeing that every ~24 frames there is a duplicate is enough to assume this but I wanted to do a slightly more in depth analysis.
There are a lot of programs that can convert from 25 fps to 23.976 fps, but most of them will remove arbitrary frames (typically a fixed pattern of every 25th frame), not necessarily duplicates. Using AviSynth's TDecimate() function, which preferentially removes duplicates, I converted the rate to 23.976 and the result was pretty good.
AVISource("C:\Documents and Settings\John\Desktop\test.avi")
TDecimate(mode=7, rate=23.976)
23.976.avi
You might try TDecimate(mode=2, rate=23.976, maxndl=25) instead.
Note that this short clip had motion in all frames except for the slow fade-in at the start. I would expect more problems (occasional duplicates and skipped frames) with a longer video of mixed still/motion shots. -
Originally Posted by jagabo
TDecimate(mode=2, rate=23.976, maxndl=25) seems to be a bit better.
Since the changes deal only with deleted frames, is there a way to do it
without reencoding?
Thanks again. -
Originally Posted by dexter30
Similar Threads
-
Choppy video playback.
By Stealth3si in forum Media Center PC / MediaCentersReplies: 5Last Post: 2nd May 2014, 01:16 -
Video Playback is Stuttering/Choppy if the mouse is moved.
By cdubya in forum Newbie / General discussionsReplies: 2Last Post: 3rd Nov 2008, 18:10 -
choppy video playback
By RobotFood in forum Video ConversionReplies: 9Last Post: 15th Jul 2008, 07:40 -
Choppy Video Playback on Computer
By gbox in forum Newbie / General discussionsReplies: 13Last Post: 16th Feb 2008, 01:28 -
Choppy video when enabling audio playback
By Xytrasx in forum CapturingReplies: 1Last Post: 3rd Aug 2007, 06:01