Hi,
i have implemented Alembik http API for video file processing in my system. It is working great. The only thing that i am not getting from Alembik is the duration of the processed video file.
Here are the input parameters that i am passing to Alembik:
Array
(
[target.transcodingParams.video] =>
[target.transformation.Streaming] =>
[target.transcodingParams.video.videoVisual.width] => 320
[target.transcodingParams.video.videoVisual.height] => 480
[target.profileID] => VIDEO_MEDIUM_MP4
[target.applicationSizeLimit] => 10000000
[source.location] => /sharedcontent/web/media/video/mp4/00000000/2330116_v.mp4
[source.extensionData.SourceProtocol] => FILE
[source.extensionData.noCopySource] => true
)
The constructed input url that is being passed to Alembik is:
http://alembik:8080/alembik/transcode?target.transcodingParams.video=&target.transformation.Streaming=&target.transcodingParams.video.videoVisual.width=320&target.transcodingParams.video.videoVisual.height=480&target.profileID=VIDEO_MEDIUM_MP4&target.applicationSizeLimit=10000000&source.location=%2Fsharedcontent%2Fweb%2Fmedia%2Fvideo%2Fmp4%2F00000000%2F2330116_v.mp4&source.extensionData.SourceProtocol=FILE&source.extensionData.noCopySource=true
When i hit the Alembik http API with CURL i get the following output wherein it returns the redirection URL for the processed video file:
HTTP/1.1 302 Moved Temporarily
Server: Apache-Coyote/1.1
Alembik-Status: 200
Location: http://alembik:8080/alembik/storage/N8602/N1545628602/tnsc-1901985874.mp4
Content-Length: 0
Date: Fri, 20 Jul 2012 06:48:23 GMT
Please let me know as to how to fetch the duration of the complete video from Alembik HTTP API. Please help me. Your help would be highly appreciated.