Video export in Vegas causes things to be off by a frame.

For help and discussion concerning Magix's (formerly Sony's) Movie Studio and Vegas Pro editing software.
Locked
User avatar
x_rex30
Joined: Tue Apr 10, 2001 4:30 pm
Org Profile

Video export in Vegas causes things to be off by a frame.

Post by x_rex30 » Thu Feb 15, 2007 2:57 pm

My saved video project in Vegas got screwed up but luckily I got an export of the video before that happened. I realized I wanted to change a few things in the video, so I went back, put the lossless version in the timeline and changed the parts I wanted change by cutting the video where I wanted to change it, I went frame by frame making sure each frame is exact like the original, and they were but when I exported it things were off by a single frame. It doesn't make sense since the video I put in the timeline was exactly a like when viewed in the vegas timeline as it was in virtual dub. I'd check a specific frame in vegas, lets say frame 4475 and check that exact frame in virtualdub. Everything looks good. OK then, I'll export it then, expecting the same results. That's not the case then, frames are off. In the original export frame 4475 is frame 4476 in the new export from vegas. I checked this by opening the two copies in two separate windows of Vdub. I tried seeing if it may be the codec settings so I tried exporting the original in vdub, and all the frames turn out to be just fine, so why is it when I try exporting in Vegas, frames are off by one? The frames look right in the timeline in vegas and all the codec settings/video template look fine, frame rate same as import, check. Same aspect ratio as import, check.. OK what the hell? I'm guessing this is going to be a tough one to figure out.

User avatar
CrackTheSky
has trust issues
Joined: Sun Aug 27, 2006 11:01 pm
Status: Maybe editing?
Location: Chicago
Org Profile

Post by CrackTheSky » Thu Feb 15, 2007 4:19 pm

Don't know what the problem is, but it shouldn't cause any muxing problems if you know for a fact that everything's late by one frame (assuming I understand the problem correctly).

User avatar
x_rex30
Joined: Tue Apr 10, 2001 4:30 pm
Org Profile

Post by x_rex30 » Fri Feb 16, 2007 4:07 pm

CrackTheSky wrote:Don't know what the problem is, but it shouldn't cause any muxing problems if you know for a fact that everything's late by one frame (assuming I understand the problem correctly).
No muxing problem, the audio is exactly where it's suppose to be, I even put the original audio with this new extracted audio and it looked fine. It's just the video portion that is off by a frame. I even tried extracting the video alone for the hell of it. The frames I mentioned above are the frames I go off of, there could be a lot more off frames but one or two is enough to tell there is a problem. I even put the original export in the timeline to see if that frame was off before I exported, exported and sure enough it was. Also tried exporting the original export again from vegas and it too caused a frame off difference. I need to fix this, I can't be editing if things are going to be off by a frame, it's very discouraging. :evil: I don't want to reset my system and want to avoid doing other drastic measures so need to figure out exactly what causes this.

User avatar
Willen
Now in Hi-Def!
Joined: Sun Jul 10, 2005 1:50 am
Status: Melancholy
Location: SOS-Dan HQ
Org Profile

Post by Willen » Sat Feb 17, 2007 4:42 am

So basically, there is an extra frame at the very beginning of the 2nd export (and the re-export) now?
Having trouble playing back videos? I recommend: Image

User avatar
x_rex30
Joined: Tue Apr 10, 2001 4:30 pm
Org Profile

Post by x_rex30 » Wed Feb 21, 2007 2:50 pm

Willen wrote:So basically, there is an extra frame at the very beginning of the 2nd export (and the re-export) now?
I went over it frame by frame, and there is only one repeated frame at frame 1782(exact time in video is 0:01:14.324) which is a duplicate of frame 1781(exact time is 0:01:14.283) and the frame rate is 23.976. Don't know if this will help figuring out why it showed up. I'm about to view it in Vegas to see if is actually there before export, which I doubt because the frames that I noticed duplicated before wasn't shown in the vegas timeline, they were exactly where they were suppose to be. Anyway, if you could help anymore that would be great. I would of been working on another video if this problem didn't come up.

User avatar
x_rex30
Joined: Tue Apr 10, 2001 4:30 pm
Org Profile

Post by x_rex30 » Wed Feb 21, 2007 3:34 pm

I checked the timeline and that duplicate frame isn't there. So when I export, everything right after that duplicate frame is off by a frame. Everything before it is fine.

User avatar
Willen
Now in Hi-Def!
Joined: Sun Jul 10, 2005 1:50 am
Status: Melancholy
Location: SOS-Dan HQ
Org Profile

Post by Willen » Thu Feb 22, 2007 7:36 am

You can try exporting the video in 2 chunks and attaching them together either in Vegas or VirtualDub/Mod.

Another option is to load your existing export in VirtualDub/Mod and select the offending frame and delete it. Then save the fixed video. Then you can remux the (original) audio back into the final video, achieving correct sync.
Having trouble playing back videos? I recommend: Image

User avatar
x_rex30
Joined: Tue Apr 10, 2001 4:30 pm
Org Profile

Post by x_rex30 » Thu Feb 22, 2007 5:05 pm

That should fix the video. I'll try that out. But I don't want this problem anymore, could the problem lie with editing in 23.976 frames a sec? I just started doing it and I heard that problems could happen but that issue was reported only with premiere, they didn't say wether problems could happen editing in 23.976 frames a second in Vegas. So this is a good suggestion to fix this video, but it isn't a good fix for editing. I'm afraid to edit now because I don't want this to happen. Also in the original project file for the video got messed up, it at some places right after a cut, I noticed it would pick up the previous frame that wasn't originally there. I'd end up seeing frames from scenes that happen before the scene in the anime I used. I'm guessing this has something to do with editing 23.976 frames, I think Zarxrax could figure this out.. I might try asking him latter if this doesn't get resolved, I don't want to bother him since I've done it quite a lot in the past through pms asking for his help.

I've also found out I've been having codec problems too

http://www.animemusicvideos.org/phpBB/v ... hp?t=76917

but I think we've figured that out. frames being out of place and junk must be another issue.

Thanks for this, it fixes the video but doesn't fix the problem I've been having with my video projects and exports from premiere and vegas.

User avatar
x_rex30
Joined: Tue Apr 10, 2001 4:30 pm
Org Profile

Post by x_rex30 » Sat Feb 24, 2007 10:57 pm

I'd like to note this is the first time I tried editing in 23.976 frames a second, I usually do the 24/29 frames a second settings so that's why I'm thinking that might be the main thing causing the problem. I've ran into this problem before from not having the same project/export settings as my import settings, but this is the first time I've got this when all the settings are the same. So the 23.976 must be the reasons of screwed up frames in the timeline and screwed up frames from exported videos when they didn't show up in the timeline.

Locked

Return to “Movie Studio & Vegas Pro”