Home > Back-end >  Realized DSPACK control, with video cameras and time on the video camera (read computer date/time)
Realized DSPACK control, with video cameras and time on the video camera (read computer date/time)

Time:09-15

I want to use DSPACK control, to achieve with video cameras, after time on the video camera (read computer date/time) MTPlay. Rar, consult everybody can help to solve, just on the video display the current time there is no problem, but after save the video file is not shown above,

CodePudding user response:

Is usually surveillance video, the video file, save the date/time information, so play, again through the date controls, reflected in the playback screen,

You said, is to change the date/time, compound on the video, the need to save the video file, will date/time to merge into the video,

CodePudding user response:

A great god, and I just need to dellphi implementing now save the video file, will date/time to merge into the video, please help,

CodePudding user response:

Lyhoo163: a great god, and I just need to dellphi implementing now save the video file, will date/time to merge into the video, please help,

CodePudding user response:

The question you said usually, not in the server (video) end processing, because composite date/time, need to image processing, a picture of a slow, most weight, at this point of time with him to video time is not consistent,
Because the camera and video files, there is a time lag, so, date/time of the overlay, usually on the camera, by the hardware processing, date/time superimposed on the image directly,

Most cameras have parameter Settings, date/time can be superimposed on the image,

CodePudding user response:

Lyhoo163: a great god, I if you want to use Delphi to USB camera video directly on the composite words how do ah?

CodePudding user response:

Used DSPACK control
1. Open the camera, connect a SampleGrabber Filter,
With CaptureGraph as IcaptureGraphBuilder2 do RenderStream (@ PIN_CATEGORY_PREVIEW, nil, VideoSourceFilter as IBaseFilter, SampleGrabber as IBaseFilter, VideoWindow1 as IBaseFilter);
2, enable the thread, to capture the image in the thread, SampleGrabber. GetBitmap (GCameraBmp), the image displayed
3, directly in the picture on date/time words
4, used when recording avifil32. DLL function library, to write image into AVI files, audio recording at the same time, the last merge
Is simply this, of course, audio and video synchronization is relatively difficult, in addition to the function AVIFileCreateStream series, AVI files can be compressed

CodePudding user response:

SampleGrabber. GetBitmap (GCameraBmp)
Writes frames is frame grabbing, but time, time synchronization is a problem,

CodePudding user response:

The
reference 7 floor lyhoo163 response:
SampleGrabber. GetBitmap (GCameraBmp)
Writes frames is frame grabbing, but time, time synchronization is a problem,


Processing good, almost no sync problem

CodePudding user response:

Better to do, is through the camera hardware, directly to the date/time, written in the book of the video,

CodePudding user response:

Masters, please help me, now haven't solve the problem of decoration, hardware and add the date plan won't work, because it is a USB camera! Problem is resolved, thanks!

CodePudding user response:

Use FFVCL, coolies, look at my video camera written
http://www.dxmylove.com/download/JyCamera.exe
  • Related