Forums
Problems copying video file using TVLLACVideoLogger and TVLLACVideoPlayer - Printable Version

+- Forums (http://mitov.com/forum)
+-- Forum: FireMonkey Components (/forum-5.html)
+--- Forum: VideoLab (/forum-18.html)
+--- Thread: Problems copying video file using TVLLACVideoLogger and TVLLACVideoPlayer (/thread-3609.html)



Problems copying video file using TVLLACVideoLogger and TVLLACVideoPlayer - wikooko - 06-19-2019 03:33 AM

I tried to make a simple copy program for video files, just connecting a TVLLVAVideoplayer to a TVLLVAVideoLogger. Videoopins and Audiopins are connected properly. Filenames are given and both components are disabled initially. A TVLImageDisplay component is added to allow observing what happens.

Logger compression is AutoSelect.


A click on a button executes the following code:

VLLAVVideoPlayer1.open;
VLLAVVideoPlayer1.start;
VLLAVVideoLogger1.enabled := true;

What follows is a short flicker of the video and then an error message ("could not open video codec.....").
Pressing CONTINUE an message integer divide by zero at... appears.

Just showing the video not connecting the logger is OK.

The problem appears in VCL and FMX.

Where is my mistake?

Thanks for any help

Wilfried