video2video

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Visualization
Introduced first in SolidGeometry 4.9, Creation date: 2020-03-11, Last change: 2025-09-14

creates an AVI in different size and speed from a video file

Description

This function is manly the same as video2anim.
The AVi file can be converted by many programs on PC or MAC to movie files.

See Also: image2video , videoCopyCutMovies , video2animatedGIF

Example Illustration

 missing image of video2video(fname,WName,sizecr,cutt,frames,accel)

Syntax

WName=video2video([fname,WName,sizecr,cutt,frames,accel])

Input Parameter

fname: Video file; default is ''=> selection by browser
WName: Name for animated GIF file; default is same as Video file name
sizecr: size columns by rows; default is unchanged; if scalar<10 => ratio if scalar>10 =>rows
cutt: [start time end time]; default is [0 inf]
frames: fps; default is unchanged; 10 is a useful value;
accel: integer acceleration factor > 1; default is 1

Output Parameter

WName: Name of written File

Examples

Just try
video2video('','',[1024 768],[2 3]) % select any video and cut between 2 and 3 seconds
video2video('','',0.5,[2 3]) % scaling ration 0.5
video2video('','',720 lines,[2 3]) % use 720 lines
video2video('','',720 lines,[2 3],10) % use 720 lines and 10 fps




Copyright 2020-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21