Video Created has Blank (black) for 1st Frame

New product: VCL components for displaying and controlling IP cameras, webcams, video conferencing, video chats
Post Reply
john_siggy@yahoo.com
Posts: 9
Joined: Wed Jan 04, 2017 10:55 pm

Video Created has Blank (black) for 1st Frame

Post by john_siggy@yahoo.com » Sat Feb 17, 2018 12:35 am

Writing from 1) a camera or 2) user supplied images the first frame of all videos created is always blank (black).

Thanks for implementing the feature to create video from user supplied images. Your only competition in this area is http://www.delphiffmpeg.com and RVMedia works better and simpler than their Video Encoder.
Cheers,


John Sigoloff

Sergey Tkachenko
Site Admin
Posts: 14083
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Video Created has Blank (black) for 1st Frame

Post by Sergey Tkachenko » Sat Feb 17, 2018 9:32 am

It was made intentional. Recording is started immediately after assigning Recording = True, and frames (last frame received by recorder from the video source) are written every 1/VideoFramePerSec sec.
If video source is not ready, black frames are written at the beginning. To minimize this effect, start the camera before starting recording.

But, actually, it makes sense only when recording video with sound, to make them synchronized. In the next update, we will remove writing black frames at the beginning of silent videos.

oliver
Posts: 30
Joined: Mon Aug 28, 2017 4:42 am

Re: Video Created has Blank (black) for 1st Frame

Post by oliver » Fri Jul 27, 2018 4:21 am

I am starting the camera before starting the recording, but I still get a black frame at the beginning. I am capturing a continuous video stream to multiple files and in order to play them back seamlessly, that black frame at the beginning of each video file is a real problem.

Do you have a timeframe of when you will be able to fix this?

Oliver

Sergey Tkachenko
Site Admin
Posts: 14083
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Video Created has Blank (black) for 1st Frame

Post by Sergey Tkachenko » Fri Jul 27, 2018 11:05 am

As soon as possible, we are currently fixing another bug. I do not know how many time it will take, maybe we will fix it today, maybe after a week...

Post Reply