mopurist
23rd September 2008, 17:14
OK, so I'm probably just stupid...
I'm using CoreAVC via directshowsource in a script. After finding desired cut points with VDubMod, I use those frame numbers with Trim() to assemble a final video.
The cuts are frame-accurate, but...
Where a new sequence starts in the final video I get a large amount of blocking for a fraction of a second, and sometimes fragments of the video supposedly removed by Trim appear in some of the blocks. The video must be referencing frames that were removed by trim.
Why? As a frameserver, shouldn't the video be completely decoded and then sent as a stream of complete, self-contained frames? Apparently, Trim() doesn't function as I thought it would.
The source videos don't have many I or IDR frames, so h264tscutter doesn't give any better results, plus it is gui-only.
Short of transcoding the video into a huge yuv file and editing that, is there a way to get clean, accurate cuts?
I am doing the transcoding, audio cutting, and merging all via a script on linux running avisynth via avs2yuv. Maybe the problem lies with my setup. Can anyone confirm that they get clean cuts when using Trim() on h264 video with avisynth under windows?
Thanks.
I'm using CoreAVC via directshowsource in a script. After finding desired cut points with VDubMod, I use those frame numbers with Trim() to assemble a final video.
The cuts are frame-accurate, but...
Where a new sequence starts in the final video I get a large amount of blocking for a fraction of a second, and sometimes fragments of the video supposedly removed by Trim appear in some of the blocks. The video must be referencing frames that were removed by trim.
Why? As a frameserver, shouldn't the video be completely decoded and then sent as a stream of complete, self-contained frames? Apparently, Trim() doesn't function as I thought it would.
The source videos don't have many I or IDR frames, so h264tscutter doesn't give any better results, plus it is gui-only.
Short of transcoding the video into a huge yuv file and editing that, is there a way to get clean, accurate cuts?
I am doing the transcoding, audio cutting, and merging all via a script on linux running avisynth via avs2yuv. Maybe the problem lies with my setup. Can anyone confirm that they get clean cuts when using Trim() on h264 video with avisynth under windows?
Thanks.