Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

How to distinguish image sequence from normal video layer via scripting?

$
0
0

I have a normal video layer and a jpg sequence layer inside my timeline. But how can I distinguish them?

My original method is that I can get its source file name, and distinguish them according to the file extension. For example, if its source file is a .mp4 file, it must be a normal video layer. If its source file is a .jpg file, then it must be a image sequence layer.

But the shortcoming is that we have so many image file extensions and video file extensions that can be imported into After Effects. To hardcode them all is not an efficient way, I think.

So, is there a better way to do this?

Guys, I need your help...


Viewing all articles
Browse latest Browse all 2143

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>