| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
/* $Id: mm_ffmpeg.module,v 1.1.2.60.2.10 2008/12/11 03:36:39 arthuregg Exp $ */ |
/* $Id: mm_ffmpeg.module,v 1.1.2.60.2.11 2009/03/02 18:01:18 arthuregg Exp $ */ |
| 4 |
|
|
| 5 |
|
|
| 6 |
/* |
/* |
| 277 |
media_mover_api_set_file_perm($output_file); |
media_mover_api_set_file_perm($output_file); |
| 278 |
|
|
| 279 |
// can we get the mime type for this? |
// can we get the mime type for this? |
| 280 |
if (function_exists('mimedetect_mime')) { |
$file['data']['file']['mime'] = file_get_mimetype($output_file); |
| 281 |
$mime = mimedetect_mime($output_file); |
|
| 282 |
$file['data']['file']['mime'] = $mime; |
// get any meta data for this file |
| 283 |
} |
$file['data']['meta'] = ffmpeg_wrapper_file_data($output_file); |
| 284 |
|
|
| 285 |
// return the completed file |
// return the completed file |
| 286 |
return $output_file; |
return $output_file; |