View Single Post
Old 1st February 2009, 02:38   #1  |  Link
halsboss
likes to tinker
 
Join Date: Jan 2004
Location: girt by sea
Posts: 635
how to call ffmpegsource V2 ?

Had a look at the FFmpegSource2 Documentation and wasn't sure how to apply specifically for re-indexing if necessary. I wasn't clear on how to get FFVideoSource() to accept an index from ffmsindex.exe for example.

The issue: Over at http://forum.videohelp.com/topic363395.html (since the doom9 forums were down for a bit) an issue is outlined with a xvid .AVI clip. Briefly, a problem .AVI something to do with badly indexed keyframes, or more particularly non packed bitstream .AVI returning frames out of order under certain circumstances.

That's unusual and very very unhelpful when trying to use temporal filters and/or MT, as the output becomes jerky.

jagabo and poisondeathray kindly diagnosed it and mentioned that ffmpegsource to open the .avi may deal with it.

So, can anyone please clarify (a tad more than the doco) with an example if possible, how to use FFVideoSource() (on such a problem .avi) and then how to separately use the external ffmsindex.exe and feed it's result into FFVideoSource() in case I need to do that ?

Lastly, how does FFIndex() fit into that picture (ie how/when to use it) ?

Hopefully this clarification will be of use to other less technically inclined avisynth users too.

Thanks.

Last edited by halsboss; 1st February 2009 at 02:41.
halsboss is offline   Reply With Quote