PDA

View Full Version : Easy way to append 2 video segments with diff. fps, like 25.083 vs 25.012


junglemike
4th March 2003, 02:31
Hi everyone,
I'm truly sorry if this question was asked. I tried to search and found notheing.
Maybe anyone could help me with my problem
I'm capturing video using bt848 chip. As compression codec i use PicVideo Mjpeg (19 q-ty) or huffyuv loseless codec. As a result, every hour takes about 8-15gb of space.(res=768X576). I have 2 saparate harddisks, so if i want to capture whole movie (1h40+) i have to capture it in 2 parts. As a result fps of parts always differ and it is alwas "about" 25 like 25.089,24.976 and so on. The captures got fully cynchronized. Now the problem rises: I cannot merge the parts in Virtual Dub(mod) cos they have different fps.And if i try to change fps for both parts, to , say, 25.000 audio/video is lost in sync(of course) So i don't know what to do here. The only solution i found -(i know it is stupid) is to process each part in Tmpegenc using very huge bitrate(for not to lower q-ty) like 5000kbps. REsulting files(mpeg-1) are always exatctly 25.000 fps, and then i can merge them in Dub and compress to Xvid 2passes (or other mpeg-4).
But this solution is no good, cos it takes much space,time and cpu wastle. So does anyone know better solution for my problem?
Thanks in advance for any replies.

dilly
5th March 2003, 00:04
I can't remember what thread it was in, but I remember someone complaining about this before. He said that it happens in every AVI capturing program, even VirtualDub itself.. every one except AVI_IO. I'll see if I can find the link.

dilly
5th March 2003, 00:08
http://tinyurl.com/6v5s

Originally posted by McQuaid
As he said, try virtualdubsync, or better yet avi_io.
...

I tried all the wdm capture applications out there and all of them had problems with sync issues or frame rate. That was a few months ago, so things might have changed. Now, if someone out there says they use wdm capture apps and have no problems, do this test. Do a capture in your wdm proggie and open the captured file in vdub. Does it say the frame rate is 29.97 in both the first field and the 'change so video and audio durations match'? Every single program I tried failed this test except avi_io. Even vdub itself fails this test when vdub is used for the capturing and Avery Lee addressed this problem on a couple of posts.

I know the issue is usually timing with the sound card and video card, but even knowing it's a daunting task, I find it strange that the only program that captures successfully is avi_io.

...

junglemike
5th March 2003, 08:15
Thanks for info. I'll try tht avi_io. As i can remember once i tried it and i didn't have luch with it cos it doesn't have option to choose a specific channel in the case you have tv-card, like for example IUVCR or virtualVCR.

BaronVlad
5th March 2003, 11:17
Hi junglemike,

first you should use VDub sync to avoid drops.

Then why dont you use "Mulisegment Capture" in VDub, you can add two spill drives (HD c:\ first spill drive and d:\ second spill drive) VDub records since HD c is full then changes automatically to HD d, you can load the first file (i.g. capture00.000.avi) and the rest will be loaded automatically. Set your spill drive size to 1,99 GB, thats better for avis anyway, no matter you use NTFS or FAT32