Video player module.
The codec used for the video compression is very important. To explain simply, a compressed video flow is made of key frames, also known as an intra-frames followed by modified frames.
A key frame is a frame in which a complete image is stored in the data stream. In video compression, only changes that occur from one frame to the next are stored in the data stream, in order to greatly reduce the amount of information that must be stored. See Wikipedia.
This means that, in a compressed video, you can't access directly to any frame but only key frames which can occur, for example only every seconds.
Another consequence is that a compressed video can't be played in reverse.
If you want to play a video in reverse, you must export it into separate images and use the video-player-image module.
If you want to access to any frames at any time, you can use uncompressed videos or use motion-jpeg compression. The motion jpeg format contains only key frames.
You can use a conversion tools to convert you videos to motion-jpeg, for example the free FFmpeg, and use the following command line:
ffmpeg -i input.mov -c:v mjpeg -q:v 3 -an output.mov
Activates or deactivates the module.
Video output flow(s).
Audio output flow(s).
Shows the files list.
Output intensity.
Gives the state of the audio buffer. Should be as highest as possible for a smooth audio playing.
Enables or not the audio decoding if the file contains audio.
Sets the video reading speed.
When On, the master timecode follows the current timecode.
Plays the file in loop mode until you stop it.
Synchronization options.
Forces to restart from the beginning, on play or on activation of the patch.
Plays the file.
Only when the play loop is OFF.
Stops the file.
Only when the play loop switch is OFF.
Determines what happen when the parent patch is activated. do nothing: when parent patch is activated nothing is done, play once: when patch activated the file is played once.
Determines what happens when the sample or MIDI sequence reach it's end.
Sends a 1 value when the module is playing. 0 otherwise.
Sends 1 value each time the current file is starting or re-starting.
Works properly only when loop mode = synchro.
If ON, freezes the last frame when the player stops.
Pauses the playing (stops without restarting from the beginning)
Original file duration before the pitch is applied.
Gets the number of audio channels of the selected file.
Frame Rate (Number of Frames per seconds) of the original video.
Video duration in ms of the video.
the duration is calculated according the speed, start pos, end pos parameters.
Video duration in ms of the entire video.
unlike the duration the original duration doesn't take care of the speed, start pos, end pos parameters.
Gets the number of frames of the current file.
Name of the video codec.
Reduction size factor applied to the original size of the video.
This is useful to
- reduce the size of video and therefore reduce the CPU consumption of video filters,
- fit to the output display resolution.
This can reduce efficiently the number of pixels to process in the video flow and then reduce the CPU load of video effects.
A 1920 × 1080 (2073600 pixels per frame) video with a size factor of 2/3 gives a 1280 x 720 resolution (921600 pixel per frame) so the CPU load will be reduced by 50%.
Determines if the aspect ration must follow the settings of setup-panel-tab-video out format or not. When ON the image aspect ratio is adapted to the setup setting aspect ratio. When OFF the setup setting is ignored and the aspect ration is not changed.
Video resolution width (once reduction factor applied).
Video resolution height (once reduction factor applied).
Start reading position.
End reading position.
the file is read between the start and end position
Sets or gets the current reading position.
The pos inlet is not suitable for precise random access to file position, use current frame num instead.
Gets or set the current frame number.
The current frame num inlet can be used for precise random access to file position, especially if you set speed=0 and only for motion-jpeg or uncompressed videos. See About compression format above.
Jump the reading position only to Key frames when pos or current frame num are changed. See About compression format above.
Gives the state of the video buffer. Should be as highest as possible for a smooth playing.
Send 1 when the envelope is currently playing.
Selects the next file in the list.
Selects the previous file in the list.
Random selection of a file in the list.
Gives only the name of the file, without the path and extension.
Gives the full name of the file, included the path.
Set this value with a filename to add a new file in the list (this applies to the sampler, video player and Piano-Roll).
See using-drag-drop.
Input to set the file list with a comma-text.
Clears the files list. When you press saverand or savename the recorded file is automatically added to the files list. With the clear list button you can clear the list directly.
Deletes the last element of the files list
Output value of the user curve. Can be used to synchronize processing with the current video.
Thumbnail video output: size reduced version as appears in the video panel.
Determines the way the files are read
File number combobox.
The numerical value corresponds to the selected file number in files list.
Gives the number of files in the list.
Determines if parameters of this object are saved in the preset-panel.
Parameters of the this object can cross faded when you recall a preset in the grid.
Optional setting, does not appear on all objects.
Hint text displayed on mouse over.
Background color of the control.
transparent option must be OFF.
Blue background color example.
Determines if the background of the control is transparent or not.
Example, the first module is transparent.
Background color when the control is modified by a remote (MIDI,OSC,etc.).
Optional Filename of the background image.
Only PNG, JPEG and BMP formats are supported.
Use [ctrl+click] to reset.
Example on an panel-xy-pad.
Force the image file to adapt its displayed size to the size of the object.
See manipulate-bitmaps.
Background bitmap input.
Use [CTRL + Click] to reset the input.
Background bitmap output.
Displays or not the border of the control.
8 pixels border on an panel-xy-pad.
Sets the border width of the control in pixel.
8 pixels border on an panel-xy-pad.
Border color of the control.
a yellow border on an panel-xy-pad.
Border color when the control is OFF.
a black OFF border on a switch.
Border color when the control is ON.
a white ON border on a switch.
Thickness of rounded corners.
0 = no rounded corners.
Example on a panel-shape.
Enables or disables the drawing of a border when the control is selected with the mouse.
Displays or not the caption.
Example on a fader.
Caption alignment of the control, left, center or right.
Vertical alignment of the caption, center, top or bottom.
Example on knob: Center, top and bottom.
Example on switch.
Size multiplication factor applied to the caption font.
Example on switch.
Font name of the control caption.
Example with 3 different fonts on switch.
Color of the caption font.
Example on switch.
Italic style for caption font.
Example on switch.
Bold style for caption font.
Example on switch.
Underline style for the caption font.
Example on switch.
See using-drag-drop.
Enables the drag on this control.
Enables or disables the drag&drop possibilities on this control.
Name of the dropped file.
Clears the latest dropped file name.
Determines if the control can be modified by the user. When OFF, the mouse interaction and modifications are disabled so the user can't change the value.
Sets or get the visibility of the control.
Global color of the control. Usine will choose the best contrasted colors according the global color.
When ON the global color of the control is not affected (is isolated) when the parent control global color changes.
Name of the snapshot (which contains the visual properties) loaded when the object is created. By default the snapshots files are located in /Resources/Snapshots/
or /Config/Snapshots
.
the snapshot name can be without extension ie. LIGHT CLASS
instead of LIGHT CLASS.tuknob_tab_design
Determines the Z-order of the control
Example with the first knob on top.
Opacity value of the control.
0 will give a totally transparent control so invisible.
Blur amount applied to the object.
Example of blur.
Be careful, the blur softness use shaders which are not supported by all graphic cards.
It can crash Usine.
Displays or not the header on the panel.
Example on sequenced-lines.
Height of the header in pixels.
Background color of the header.
Determines if the header is drawn as a plain bar (HH5 style) or as small bar in the upper left corner.
plain ON
plain OFF
Determines if the horizontal scroller is visible or not.
The scroller appears only if the container is smaller than the controls inside.
Example of horizontal scroller
Height of the scroller in pixels.
Scroller color.
Scroller opacity.
visible only in god mode, see setup-panel-tab-expert.
Current private id for this control.
If you experience difficulties in Polyphonic mode, try to recreate new id(s) with this button.
Each Patch shared on the local network uses its own ID (identification number). If you experience issues of Patches that don't send information to the good target, this button will rebuild all these id's.
Opens the web browser to display information's or help about the selected object, if it exists.
For more details about information/help creation, see create-help-file.
Determines where the object is visible.
When the location is set to a container which doesn't exist in the patch, Usine try to find in parent patches, the first container available. If no container is available an error message is displayed.
Sets the control as an additional container so any other control can be placed into that container. The additional container is identified by a number.
a button inside a listbox
When ON, will also be visible in the interface-builder-panel.
Gives the mouse state of the control:
In multi-touch environment, can be an array of [0..1] values.
Gives the mouse wheel speed and direction, -1,-2,-3,...=forward, 1,2,3,...=backward.
Enables or disable the mouse wheel action.
Sends a 1 value if the user has [dbl-clicked] on the control.
Determines if the mouse is active on the control.
Gives the mouse X position on the control in relative coordinates from 0=most-left to 1=most-right.
In multi-touch environment, can be an array of [0..1] values.
Gives the mouse Y position on the control in relative coordinates form 0=top to 1=bottom.
In multi-touch environment, can be an array of [0..1] values.
Pressure value on touch-screens.
The pressure value is not available on all touch screens.
Gesture information's.
In touch and multi-touch environment, returns an array of the fingers movements See multi-touch
When ON, the value of the control is reset automatically on mouse up.
When ON, move up-down to rotate a knob, left-right when OFF.
Sends a 1 value when the control is hovered with the mouse.
Sends 1 when the control is mouse overed.
Sends 1 when the control is selected.
Top position of the control in pixels.
Left position of the control in pixels.
Height of the control in pixels.
Width of the control in pixels.
Horizontal position in % [0..1] relative to the parent panel.
Vertical position in % [0..1] relative to the parent panel.
Height in % [0..1] relative to the parent panel.
Width in % [0..1] relative to the parent panel.
Top position in pixels in the interface-builder-panel.
Left position in pixels in the interface-builder-panel.
Width in pixels in the interface-builder-panel.
Height in pixels in the interface-builder-panel.
Rotation angle of the control.
Rotates this control in vertical position.
Zoom scale of the control.
Determines is the control can be zoomed with the wheel mouse.
Determines if the control can be resized with the resize grip.
Determines if the control is minimized or not.
Determines if the control is movable on X axis.
Determines if the control is movable on Y axis.
When ON the control stays inside the parent on X axis.
When ON the control stays inside the parent on Y axis.
TpgControl_Button.floating content parent y
Determines if the control can be resized on its left hand.
Determines if the control can be resized on its right hand.
Determines if the control can be resized on its top hand.
Determines if the control can be resized on its bottom hand.
See physics-engine
Enables physics-engine in this panel.
The physics speed of the control in physics-engine.
When ON, the physics-engine starts with a random speed for each child controls.
When ON, all controls have the same masses in the physics-engine.
The position control is not affected by the physics-engine.
Friction factor in the physics-engine.
Energy conservation coefficient on collision.
Gravity factor on the X axis.
Gravity factor on the Y axis.
Position of the object when the physics engine is reset on X axis.
Position of the object when the physics engine is reset on Y axis.
Angular speed of the control in the physical engine.
Sends a 1 value when the control collides with another control or a border.
Gives information about the collide state in the physics-engine.
Speed vector value on the X axis in the physics-engine.
Speed vector value on the Y axis in the physics-engine.
Automatically reorganize positions of controls in the panel.
Left margin used in reorganization, in pixels.
Interspace between controls used in reorganization, in pixels.
Resizes panels automatically when child controls are moved or resized. Switch it OFF if you use floating panels inside.
Margin in pixel used for the auto resize option.
Adjust the panel width to a multiple of the default rack width.
In unlock mode, snap the control to a grid.
Grid size in pixels when snap to grid is ON.
Displays the toolbar with its icons.
Example ON and OFF
Height of the toolbar % of the global height.
Example toolbar size on a panel.
Displays a small cursor indicator at current position.
Color of the cursor.
Cursor width in pixels.
2 and 8 pixels cursor on a data-generator-sequenced-steps.
Opacity of the cursor.
version 6.0.240115
Edit All Pages