You are here

constant VIDEO_RENDERING_PENDING in Video 5

Same name in this branch
  1. 5 plugins/video_ffmpeg_helper/video_ffmpeg_helper.module \VIDEO_RENDERING_PENDING
  2. 5 plugins/video_ffmpeg_helper/video_scheduler.php \VIDEO_RENDERING_PENDING
  3. 5 plugins/video_ffmpeg_helper/video_render.php \VIDEO_RENDERING_PENDING
Same name and namespace in other branches
  1. 6.5 video.module \VIDEO_RENDERING_PENDING
  2. 6 plugins/video_ffmpeg_helper/video_ffmpeg_helper.module \VIDEO_RENDERING_PENDING
  3. 6 plugins/video_ffmpeg_helper/video_scheduler.php \VIDEO_RENDERING_PENDING
  4. 6 plugins/video_ffmpeg_helper/video_render.php \VIDEO_RENDERING_PENDING
  5. 6.2 plugins/video_ffmpeg_helper/video_ffmpeg_helper.module \VIDEO_RENDERING_PENDING
  6. 6.2 plugins/video_ffmpeg_helper/video_scheduler.php \VIDEO_RENDERING_PENDING
  7. 6.2 plugins/video_ffmpeg_helper/video_render.php \VIDEO_RENDERING_PENDING
  8. 6.3 types/uploadfield/uploadfield_convert.inc \VIDEO_RENDERING_PENDING
  9. 7.2 video.module \VIDEO_RENDERING_PENDING

Define some constants

3 uses of VIDEO_RENDERING_PENDING
video_scheduler_select in plugins/video_ffmpeg_helper/video_scheduler.php
Select VIDEO_RENDERING_FFMPEG_INSTANCES jobs from the queue
_video_ffmpeg_helper_add_rendering in plugins/video_ffmpeg_helper/video_ffmpeg_helper.module
Add a video conversion rendering process to the queue
_video_ffmpeg_helper_is_being_processed in plugins/video_ffmpeg_helper/video_ffmpeg_helper.module
Returns true if the video is being encoded or queeded

File

plugins/video_ffmpeg_helper/video_render.php, line 42
Renders a video. This script is called concurrently by video_scheduler.php This script has to be launched with "php video_render.php nid vid" If you are not using sites/default/settings.php as your settings file, add an optional parameter…

Code

define('VIDEO_RENDERING_PENDING', 1);