iFlicks folder actions scripting

I need to modify the following script to do different things if the file is using H.264 or not. If it’s using H.264, I need it to use iTunes Compatible. However, if it’s not using H.264, I need to it to use either the Universal Preset of the new Apple TV and iPad preset.

Here’s the original code:

on adding folder items to thisFolder after receiving addedItems
repeat with movieFile in addedItems
tell application "iFlicks"
import movieFile without gui
end tell
end repeat
end adding folder items to

Is there a way to do this without depending on if the file has .264 in its name?

Model: 2010 Mac mini
AppleScript: Version 2.5 (138)
Browser: Safari 536.26.17
Operating System: Mac OS X (10.8)