View Full Version : Missed frames in Xvid 1.0 rc1
LowTech
3rd February 2004, 13:37
Hi,
just dealing with some MPEG2 issues of Pinnacle Studio software. A little 10 sec DV test clip, with 250 numbered frames, helped a lot. Got following problem after converting this small video to avi (with VirtualDubMod 1.5.4.1 and Xvid 1.0 rc1):
- using no B-VOPs -> the resulting avi is complete and has all 250 frames
- with 1 max consecutive B-VOPs -> the avi is complete too
- with 2 max consecutive B-VOPs -> last frame is missing, avi has 249 frames
- with 3 max consecutive B-VOPs -> last two frames are missing, avi has 248 frames
- with 4 max consecutive B-VOPs -> last three frames are missing, avi has 247 frames
A interesting point seems to be, that the last two (missed) frames are key-frames! Tried to attach the clip (~500kb), but forum did not allow. I can mail it on request.
mikeX
3rd February 2004, 13:53
AFAIK this is a virtualdub(mod) issue, it doesn't hack it's way around multiple xvid b-frames correctly
LowTech
3rd February 2004, 14:21
Replaced VDM by Pinnacle Studio. Again with 3 (and 4) max consecutive B-VOPs. Got now 250 frames. But four (five) times the first frame and without the last three (four) frames!
Is there any program, we can trust in encoding whith xvid and b-frames?
BTW, the video has 248 black frames with big green counting numbers. Frame 249 is red and the last one is yellow. Without b-frames the xvid encoder decides to make the last two frames as key frames.
Ark
3rd February 2004, 14:27
AFAIK AVS2AVI is the only choice to solve this
I've tested AVS2AVI and it encodes all frames even in movies with more than 1 consecutive B-VOPS
I hope this can help you, I haven't now the link to get AVS2AVI, but a small search in google should solve all!:)
buzzqw
3rd February 2004, 15:29
google response : http://daveel.leffe.dnsalias.com/
bye
BHH
LowTech
3rd February 2004, 15:55
Big thanks to all!
Just converted the clip with AVS2AVI and got 250 perfect frames. I am only unsure if it took the (in VDM last used/changed) xvid options? There is an command line switch to load xvid settings from a file, but I have no idea how this file should look like.
Maurizio
3rd February 2004, 17:00
Such a file is generated by the same program with the -s option.
If you issue the command :
avs2avi file.avs file-avi -s params.xxx
then you can subsequently start it whith the command
avs2avi file.avs file-avi -l params.xxx
Regards
Maurizio
LowTech
3rd February 2004, 17:58
Thanks Maurizio .. got it :)
mikeson
4th February 2004, 08:18
@LowTech:
You can safely use VirtualDub <= 1.5.4.
LowTech
4th February 2004, 18:06
.. sorry mikeson, but in my tests VD 1.5.3 and 1.5.4 missed the same frames like VDM 1.5.4.1.
lamer_de
16th March 2004, 13:22
I just encountered this bug aswell with RC3.
Processing chain was
avisynth 2.54 (Jan 26th)
Virtualdubmod 1.5.4.1 (build 2066)
XviD-1.0-RC3-29022004.exe from Koepi
Got a video with the last frame missing when using 2 b-frames.
Anybody knows if this is an avisynth, vdubmod or xvid issue?
I don't remember encountering this problem with the alpha version of xvid, so my guess would be xvid is the culprit (or rather the communication between vdubmod and xvid), but I didn't investigated this in extensio, so I might be wrong :D
Using avs2avi to re-encode the video now, let's see if I get the missing frame back ^_^
CU,
lamer_de
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.