View Single Post
Old 16th December 2011, 19:19   #4  |  Link
redfordxx
Registered User
 
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
So, what you are saying if it is MPEG2, it is better to use DGIndex and friend than FFMS, even if FFMS can read the file?
So, can I put it like this? Even when the extension suggests that it is not MPEG2, still try it:
Code:
try{MPEG2Source(*.whateverextension)}
catch(errmsg){FFVideoSource(*.whateverextension)}
(the trying does not make sense in some obvious cases but it is easier to code than testing various file extensions)
Are there any important about the and friends area? For example I understand MPEGDecoder does not require indexing, which would be good for my "automagic" stuff. However are there any disadvantages?

Last edited by redfordxx; 16th December 2011 at 19:26.
redfordxx is offline   Reply With Quote