buggedcom / phpvideotoolkit-v2

PHP Video Toolkit version 2 helps take the voodoo out of ffmpeg and provides a convenient object oriented wrapper around the ffmpeg programme.
Other
260 stars 86 forks source link

slow readVideoComponent() due to volumedetect in getFileRawInformation() #107

Open tsmgeek opened 7 years ago

tsmgeek commented 7 years ago

I am using readVideoComponent() to ultimately get the video resolution/SAR/DAR etc, this should be a quick task but not due to the underlying getFileRawInformation() doing "-af volumedetect". I understand this is required for audio info and also for abstraction you are doing it in one action but its a killer to processing speed. Cant the getFileRawInformation be split in two so for simple tasks like getting dims etc its quick.