Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
hr= EditStreamCopy(source_editable_stream,&p,&pl,&pAvi_trimed);
  ::AVIStreamInfo(pAvi_trimed,&m_AviInfo,sizeof(AVISTREAMINFO));

   hr=AVISave(lpFileName_save, NULL, NULL, 1, pAvi_trimed, NULL);


now if i set "p=0" and pl="any long value"
i get proper trimmed video.

but if i set "p=any other value than 0"

i got E_FAIL during AVISave
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900