cail
8th July 2007, 10:07
Hi all,
Hope someone already rushed through the stuff I'm stuck in and can help me.
What I'm trying to do is to edit my 1080i footage from Canon HV10 in NLE (Ulead MSP) and get on output an HD and SD mpeg2.
With HD everything is fine. Uleads works good (at most) with smart rendering and forwards all the mpeg streams without reencoding (except transitions and clip edges of course).
The final HD mpg is ok, playing fine on any software player.
What I'm trying next is using smthng. like
input = MPEG2Source("Devil's Lake - Mountains [HDV].d2v")
last = input.SeparateFields.SelectEvery(2,1).LanczosResize(720, 480)
AssumeFrameBased
last
ConvertToYV12
(this should give me a progressive 29.97 SD video)
and feed this into quEnc.
The SD mpg output then is out of sync with audio (which is original mpa from hdv).
The problem is not in quenc, or avisynth. I've even tried feeding the source HD mpg directly into Canopus. Video is still out of sync.
As far as I understood (reading forum and googling), the problem I have is with PTS stamps in original HD clips, which is mixed after feeding clips via Ulead MSP. The delays are actually in a target video stream, it becomes slower than the corresponding mpa stream. It's difficult to determine any constant scale factor, some times (depending on source clip) it looks like a random (probably depends on a number of PTS breakages?).
I've tried to use ProjectX to analyze the target HD mpg, it really shows PTS mix up, but after demuxing/repairing the thing gets even worse - even the final HD mpg is corrupted - it becomes 10 min. instead of 3 min., audio gets out of sync, etc. - I can do nothing with this video.
The thing I can't understand is why any s/w player keeps video in sync fine, but DGMPGDec (or even ffdshow via DirectShowSource() ) can't give me a correct synchronization. Hope someone can clarify this to me.
The question is, obviously, how to overcome this (PTS?) problem. Probably a software exist (or some projectX settings I'm not aware of), which can fix the stream according to PTS info?
PS. just to be clear - I really need the NLE, and I really need a smart rendering (my pc will just die if I start HD rerendering on it). I'm aware of mpeg2 editors (womble and video redo), not sure if they'll help and if they'll fit my editing needs. Still have to try.
--
Igor
Hope someone already rushed through the stuff I'm stuck in and can help me.
What I'm trying to do is to edit my 1080i footage from Canon HV10 in NLE (Ulead MSP) and get on output an HD and SD mpeg2.
With HD everything is fine. Uleads works good (at most) with smart rendering and forwards all the mpeg streams without reencoding (except transitions and clip edges of course).
The final HD mpg is ok, playing fine on any software player.
What I'm trying next is using smthng. like
input = MPEG2Source("Devil's Lake - Mountains [HDV].d2v")
last = input.SeparateFields.SelectEvery(2,1).LanczosResize(720, 480)
AssumeFrameBased
last
ConvertToYV12
(this should give me a progressive 29.97 SD video)
and feed this into quEnc.
The SD mpg output then is out of sync with audio (which is original mpa from hdv).
The problem is not in quenc, or avisynth. I've even tried feeding the source HD mpg directly into Canopus. Video is still out of sync.
As far as I understood (reading forum and googling), the problem I have is with PTS stamps in original HD clips, which is mixed after feeding clips via Ulead MSP. The delays are actually in a target video stream, it becomes slower than the corresponding mpa stream. It's difficult to determine any constant scale factor, some times (depending on source clip) it looks like a random (probably depends on a number of PTS breakages?).
I've tried to use ProjectX to analyze the target HD mpg, it really shows PTS mix up, but after demuxing/repairing the thing gets even worse - even the final HD mpg is corrupted - it becomes 10 min. instead of 3 min., audio gets out of sync, etc. - I can do nothing with this video.
The thing I can't understand is why any s/w player keeps video in sync fine, but DGMPGDec (or even ffdshow via DirectShowSource() ) can't give me a correct synchronization. Hope someone can clarify this to me.
The question is, obviously, how to overcome this (PTS?) problem. Probably a software exist (or some projectX settings I'm not aware of), which can fix the stream according to PTS info?
PS. just to be clear - I really need the NLE, and I really need a smart rendering (my pc will just die if I start HD rerendering on it). I'm aware of mpeg2 editors (womble and video redo), not sure if they'll help and if they'll fit my editing needs. Still have to try.
--
Igor