gamez
19th October 2007, 08:15
Hello,
I have found a strange behaviour of the different input filters one can use to read videos. I am trying to join (concatenate) three videos of type mpg, avi and wmv.
This works:
DirectShowSource("1.mpg")
\++DirectShowSource("2.avi")
and this works as well:
AVISource("2.avi")
\++DirectShowSource("3.wmv")
But this one fails
DirectShowSource("1.mpg")
\++AVISource("2.avi")
and this one also fails as well
DirectShowSource("2.avi")
\++DirectShowSource("3.wmv")
both with the Splice function reporting that the "video formats don't match".
Note: some resizing, fps- and audio resampling is performed after the import filters to align the characteristics of the three videos and allow splicing at all.
While I am also a bit curious about the difference between using DirectShowSource and AVISource on an avi video, my main question is: if I can join each of the two videos, why is it not possible to join all three?
Thx for your advice / help / explanations.
g.
:thanks:
I have found a strange behaviour of the different input filters one can use to read videos. I am trying to join (concatenate) three videos of type mpg, avi and wmv.
This works:
DirectShowSource("1.mpg")
\++DirectShowSource("2.avi")
and this works as well:
AVISource("2.avi")
\++DirectShowSource("3.wmv")
But this one fails
DirectShowSource("1.mpg")
\++AVISource("2.avi")
and this one also fails as well
DirectShowSource("2.avi")
\++DirectShowSource("3.wmv")
both with the Splice function reporting that the "video formats don't match".
Note: some resizing, fps- and audio resampling is performed after the import filters to align the characteristics of the three videos and allow splicing at all.
While I am also a bit curious about the difference between using DirectShowSource and AVISource on an avi video, my main question is: if I can join each of the two videos, why is it not possible to join all three?
Thx for your advice / help / explanations.
g.
:thanks: