i'm looking for a way to trim an avi, preferably an xvid/divx mpeg4, using direct stream copy with more precision than keyframes (so forget virtualdub's editor). i'm pretty new to AviSynth scripting so any help would be appreciated.
here's what i have so far with an xvid avi:
when i open it in virtualdubmod, the trim is perfectly fine but it loads the video as yv12 and the audio as pcm. now i know i'm obviously missing code in my script cause AVISource's pixel_type's default is yv12 and the only other types are yuy2 and uncompressed rgb. as for the audio, the only method i know is WAVSource but that will obviously load the audio as pcm.Code:# Created by AVSEdit video = "clip1.avi" AVISource( video ) trim( 500, 1000 )
i searched the forum for this topic but to no avail so if anyone has any suggestions i would appreciate hearing them. also if i somehow missed this topic somewhere on the forum please direct me to it.
thanks!
+ Reply to Thread
Results 1 to 3 of 3
-
-
heh i had a feeling it wasn't achievable the way i wanted to do it.
oh well! i'll just have to work around it.
thanks for your help celtic_druid!
Similar Threads
-
No direct stream copy in vegas pro 11?
By supercain in forum EditingReplies: 13Last Post: 18th Dec 2011, 02:10 -
MKV to AVI direct stream copy problem...
By zovx in forum Video ConversionReplies: 26Last Post: 25th May 2011, 08:14 -
direct stream copy of a mkv file Q
By Information in forum EditingReplies: 5Last Post: 20th Jul 2009, 14:06 -
How do you direct stream copy in sony vegas pro 8.0?
By ZZen in forum EditingReplies: 3Last Post: 6th Jun 2009, 09:51 -
Direct Stream Copy for All Formats
By bigMach™ in forum EditingReplies: 10Last Post: 11th Jun 2008, 13:02