Active
Project:
FFmpeg Wrapper
Version:
6.x-1.1-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 May 2009 at 11:25 UTC
Updated:
4 Oct 2011 at 16:54 UTC
Hi guys,
I would like to know if it is possible to extract the duration of an FLV video file using the FFMPEG Wrapper module and how I can do that?
Any help will be highly appreciated!
Cheers,
Comments
Comment #1
sndev commentedffmpeg_wrapper_file_duration(path, timecode, output) is the function that is used.
Comment #2
WildKitten commentedsubscribe
Comment #3
arthurf commentedIn ffmpeg_wrapper 2.x you have two options:
ffmpeg_wrapper_get_file_duration($filepath)
or for more complete information
ffmpeg_wrapper_get_file_data($filepath)