/** * Imports a video * * @remarks * TIP: to ensure that your video starts as soon as possible, make sure to pre-process it with a tool like qt-faststart. There are many places where you can find it, but here are some suggestions: * * - download it from [https://pypi.org/project/qtfaststart/](https://pypi.org/project/qtfaststart/) * - download it from [https://manpages.debian.org/stretch/ffmpeg/qt-faststart.1.en.html](https://manpages.debian.org/stretch/ffmpeg/qt-faststart.1.en.html) * - with ffmpeg, you can use the following command line: `ffmpeg -i in.mp4 -c copy -map 0 -movflags +faststart out.mp4 ` In a future version of this node, it will also be possible to link it to a video tag that could already be in your html DOM. This way, you could sets multiple source tags (one with mp4 and one with ogv) instead of a single url. */ import { Constructor } from '../../../types/GlobalTypes'; import { TypedCopNode } from './_Base'; import { BaseParamType } from '../../params/_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { TextureParamsController } from './utils/TextureParamsController'; export declare function VideoCopParamConfig(Base: TBase): { new (...args: any[]): { /** @param url to fetch the video from */ url: import("../utils/params/ParamsConfig").ParamTemplate; /** @param reload the video */ reload: import("../utils/params/ParamsConfig").ParamTemplate; /** @param play the video */ play: import("../utils/params/ParamsConfig").ParamTemplate; /** @param set the video muted attribute */ muted: import("../utils/params/ParamsConfig").ParamTemplate; /** @param set the video loop attribute */ loop: import("../utils/params/ParamsConfig").ParamTemplate; /** @param set the video time */ videoTime: import("../utils/params/ParamsConfig").ParamTemplate; /** @param seek the video at the time specified in vide_time */ setVideoTime: import("../utils/params/ParamsConfig").ParamTemplate; }; } & TBase; declare const VideoCopParamsConfig_base: { new (...args: any[]): { tencoding: import("../utils/params/ParamsConfig").ParamTemplate; encoding: import("../utils/params/ParamsConfig").ParamTemplate; tmapping: import("../utils/params/ParamsConfig").ParamTemplate; mapping: import("../utils/params/ParamsConfig").ParamTemplate; twrap: import("../utils/params/ParamsConfig").ParamTemplate; wrapS: import("../utils/params/ParamsConfig").ParamTemplate; wrapT: import("../utils/params/ParamsConfig").ParamTemplate; wrapSep: import("../utils/params/ParamsConfig").ParamTemplate; tminfilter: import("../utils/params/ParamsConfig").ParamTemplate; minFilter: import("../utils/params/ParamsConfig").ParamTemplate; tmagfilter: import("../utils/params/ParamsConfig").ParamTemplate; magFilter: import("../utils/params/ParamsConfig").ParamTemplate; tanisotropy: import("../utils/params/ParamsConfig").ParamTemplate; useRendererMaxAnisotropy: import("../utils/params/ParamsConfig").ParamTemplate; anisotropy: import("../utils/params/ParamsConfig").ParamTemplate; useCameraRenderer: import("../utils/params/ParamsConfig").ParamTemplate; anisotropySep: import("../utils/params/ParamsConfig").ParamTemplate; tflipY: import("../utils/params/ParamsConfig").ParamTemplate; flipY: import("../utils/params/ParamsConfig").ParamTemplate; ttransform: import("../utils/params/ParamsConfig").ParamTemplate; offset: import("../utils/params/ParamsConfig").ParamTemplate; repeat: import("../utils/params/ParamsConfig").ParamTemplate; rotation: import("../utils/params/ParamsConfig").ParamTemplate; center: import("../utils/params/ParamsConfig").ParamTemplate; }; } & { new (...args: any[]): { /** @param url to fetch the video from */ url: import("../utils/params/ParamsConfig").ParamTemplate; /** @param reload the video */ reload: import("../utils/params/ParamsConfig").ParamTemplate; /** @param play the video */ play: import("../utils/params/ParamsConfig").ParamTemplate; /** @param set the video muted attribute */ muted: import("../utils/params/ParamsConfig").ParamTemplate; /** @param set the video loop attribute */ loop: import("../utils/params/ParamsConfig").ParamTemplate; /** @param set the video time */ videoTime: import("../utils/params/ParamsConfig").ParamTemplate; /** @param seek the video at the time specified in vide_time */ setVideoTime: import("../utils/params/ParamsConfig").ParamTemplate; }; } & typeof NodeParamsConfig; declare class VideoCopParamsConfig extends VideoCopParamsConfig_base { } export declare class VideoCopNode extends TypedCopNode { params_config: VideoCopParamsConfig; static type(): string; requiredModules(): Promise; private _video; private _texture_loader; readonly texture_params_controller: TextureParamsController; initializeNode(): void; cook(): Promise; private cook_for_video; resolved_url(): string; static PARAM_CALLBACK_video_update_time(node: VideoCopNode): void; static PARAM_CALLBACK_video_update_play(node: VideoCopNode): void; static PARAM_CALLBACK_video_update_muted(node: VideoCopNode): void; static PARAM_CALLBACK_video_update_loop(node: VideoCopNode): void; private video_update_time; private video_update_muted; private video_update_loop; private video_update_play; static PARAM_CALLBACK_reload(node: VideoCopNode, param: BaseParamType): void; private param_callback_reload; private _load_texture; } export {};