a new question

When i'm working with item in project panel, i need to know if the item is an images sequence or a single image ...
i try to list item to check link and work with it, i need to know which entry are a sequence entry ...
I've try several solution but i can find the good one :
item.duration : give me positive return with image sequence and video file ...
item.mainSource.isStill : give me only the possibility to extract single image but in this case i can't filter video file
... I hope i'm clear in my explanation

can i retrieve the file type for a video or image (codec, compression, ... or something like) that without use the extension ?
Tks for your help
Mr