imageaudio2video
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Video/Audio/PDF
Introduced first in SolidGeometry 4.9, Creation date: 2020-03-28, Last change: 2025-09-14
creates video clips from an image and an audio file with the same name
Description
Audiofile by default is same name as image; The default video time without sound is 45 seconds
The clip is scaled and the image written with frame rate 1 fps in an AVI file. While the function image2video is able to adapt the frame rate, the fram erate here is always 1 fps.
See Also: , image2video
Example Illustration
Syntax
WName=imageaudio2video([IName,isize,AName])
Input Parameter
IName: | | Image file full name |
isize: | | number of rows or [c r]; default is 1080 |
AName: | | Audiofilename or number of default time seconds (45 Sec) |
Output Parameter
WName: | | Name of AVI file with audio track |
Examples
imfile=desktopdir('peppers.png'), copyfile(which('peppers.png'),imfile)
imageaudio2video(imfile)
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