Double-channel video synchronous recording and playback device

By designing a dual-channel video synchronous admission and playback device, using H.264 encoding and Ethernet synchronization, the problem of out-of-synchronization of dual-channel video recording and playback in video admission devices is solved, and the synchronization of video files is achieved and efficient storage is improved. Reliability of admission and replay.

CN118945433APending Publication Date: 2024-11-12TIANJIN JINHANG COMP TECH RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410971202.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Existing video admission devices cannot guarantee the synchronization of dual-channel videos when recording and playing back video data, especially when the video input source signal is abnormal or the playback progress bar changes, resulting in the recording and playback being out of synchronization.

Method used

A dual-channel video synchronous admission and playback device is designed to automatically synchronize the video signals output by the two monitors of the console through the video admission device. It adopts H.264 standard compression encoding and converts it into MP4 format, and uses Ethernet to maintain the device. Time synchronization, real-time monitoring of video signals and filling the idle signals with pure blue pictures when necessary, realizing cyclic storage and synchronous playback of video files.

Benefits of technology

Ensure that the duration difference between the two video files admitted is within 500ms, realizes synchronousness of video recording and playback, and allows synchronous fast forwarding, reversing or dragging to the same moment during playback, improving the convenience of video admission and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945433A_ABST
    Figure CN118945433A_ABST
Patent Text Reader

Abstract

The invention relates to a double-channel video synchronous recording and playback device, and belongs to the technical field of Ethernet communication technology and video source coding. When the input source signal of the double-channel video is abnormal or the playing progress bar of any channel of video is changed when the double-channel video is played back, the device not only can completely and synchronously record the double-channel video data of the console, but also can ensure the synchronism when the double-channel video is played back. According to the double-channel video synchronous recording and playback device provided by the invention, the problem of asynchronous double-channel video recording or video playback caused by abnormal video input source signals or change of a playing progress bar of any channel of video is perfectly solved. The device provided by the invention not only can ensure that the playing duration difference of the recorded video files of the two displays is within 500ms, but also can realize synchronous fast forward, synchronous fast backward or synchronous dragging to the same moment when the recorded video files of the two displays are played, so that complete synchronization of playing of the two video files is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of Ethernet communication technology and video source coding technology, and in particular relates to a dual-channel video synchronous recording and playback device. Background Art

[0002] The console of a control system consists of two monitors, a mouse and keyboard operating platform, a console computer case, and a video recording device. Each monitor has a VGA interface and a DVI interface. The console computer outputs two DVI video signals that enter the two monitors respectively, and the console computer outputs two VGA video signals that enter the video recording device.

[0003] The video recording device is used to save the video images output by the two monitors of the console in a file, so as to facilitate the synchronous playback of the video content of the two monitors later. Existing video recording devices have certain drawbacks when recording and playing back video data. On the one hand, when the two-way video input source signal is abnormal and the video signal cannot be output normally, the duration of the two video files recorded by the video recording device is different, and the synchronization of the two-way video recording cannot be guaranteed. On the other hand, when playing back the stored two-way video files, when dragging the playback progress bar of one of the videos, the playback progress of the other video does not change, resulting in the two-way video playing different video images at the same time, and the synchronization of the two-way video playback cannot be guaranteed. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] The present invention provides a dual-channel video synchronous recording and playback device to solve the problem of "dual-channel video recording or video playback being out of sync due to abnormal video input source signals or changes in the playback progress bar of any video channel". The device can realize the complete recording and synchronous playback of videos output by two displays of a console by a video recording device.

[0006] (II) Technical solution

[0007] In order to solve the above technical problems, the present invention provides a dual-channel video synchronous recording and playback device, including a video recording device arranged in a console, a console computer and two displays;

[0008] The console computer, the two displays of the console and the video recording device are powered on at the same time. After the video recording device is powered on, it automatically starts to synchronously collect and store the dual-channel VGA video signals output by the two displays of the console; the video recording device names and stores the video files recorded by the two displays of the console respectively, first compresses and encodes the collected VGA signals according to the H.264 standard, and then converts the video file format into MP4 format and stores it;

[0009] The console computer sends the time of the console computer to the video recording device via Ethernet to keep the time of the two devices synchronized; when the video recording device starts to generate a new video file for storing MP4 format files, it obtains the current system time in the format of "xx year xx month xx day xx hour xx minute xx second", and the naming specification of the newly generated first display video file is: current system time + N001, that is, "xx year xx month xx day xx hour xx minute xx second N001"; the naming specification of the newly generated second display video file is: current system time + N002, that is, "xx year xx month xx day xx hour xx minute xx second N002";

[0010] When the video recording device receives a "start recording video" command sent by the console computer via Ethernet, the video recording device generates two new video files named in the current system time format, and stores the video signals acquired in real time and converted in format in the video files; when the video recording device receives a "stop recording video" command sent by the console computer via Ethernet, the video recording device stops recording the two currently opened video files and closes the two video files;

[0011] Wherein, when the size of a single video file stored in the video recording device is greater than a certain value, the video recording device automatically generates a new video file named with the current system time, and can realize the circular storage of the video file; the principle of circular storage is: when generating a new storage video file, if the remaining storage space of the solid state hard disk is within the range of (15%, 20%), the earliest stored video file is deleted until the remaining storage space of the solid state hard disk is greater than 20%;

[0012] When the video recording device receives a "start recording video" command sent by the console computer but does not receive a "stop recording video" command sent by the console computer, it monitors two video source signals in real time; when it is detected that one of the input sources has a video signal output, while the other input source has no video signal output, a pure blue picture is continuously encoded into a video stream in H264 format at the output end without a video signal using the ffmpeg command and outputted to the original collected video file F; when the input source changes from "no video signal output" to "video signal output", the real-time collected video data continues to be output to the current video file F, so as to realize the synchronous recording of dual-channel video data;

[0013] When the console computer plays back the dual-channel video file stored in the video recording device, it first sends a "stop recording video" command to the video recording device via Ethernet, and then accesses and retrieves the video file stored in the video recording device via "disk folder sharing"; wherein the retrieval condition is the complete video file name or a part of the video file name;

[0014] Among them, after the console computer retrieves the video files that meet the conditions, it selects any one of the video files to play, and sends the file name information of the video file to the video recording device via Ethernet; the video recording device queries another video file in the same time period based on the file name information of the video file, and sends the file name information of the other video file to the console computer via Ethernet; after the console computer receives the file name information of the other video file via Ethernet, it opens and plays the two video files in two players at the same time, respectively, to achieve synchronous playback of two video files in the same time period.

[0015] Preferably, when the console computer synchronously plays back the stored dual-channel video files, it is set to output any one of the video images through the player to one display of the console, and the other video image is output through the player to another display of the console, ensuring that video images are output on both displays and the content is not repeated.

[0016] Preferably, the console computer can realize synchronous playback of video content in two players; the console computer controls the two players to fast forward and rewind simultaneously while playing the video content, or controls the playback of video content in the two players to be completely synchronized by dragging the playback progress bar on the console computer.

[0017] Preferably, the two players share the following playback components: a playback progress bar, a fast-forward button, a fast-rewind button, a play button, a pause button and a stop button.

[0018] Preferably, after the console computer has finished playing back the dual-channel video file content, the two players are automatically closed, and the console computer sends a "start recording video" command to the video recording device via Ethernet.

[0019] Preferably, the video recording device comprises:

[0020] The self-check module 11 is used to check the working status of the video acquisition module and the video storage module of the video recording device after the video recording device is powered on;

[0021] A video acquisition module 12, connected to the self-test module 11, for real-time acquisition of dual-channel VGA signals output by two displays in the console;

[0022] The video storage module 13 is connected to the video acquisition module 12 and is used for converting the acquired dual-channel VGA video signal into a video format, generating and naming a video file, segmenting the video file, and storing the video file.

[0023] Preferably, the working status check performed by the self-check module 11 includes a power-on initialization self-check and a periodic self-check after power-on, and the self-check content includes the hardware status, working status, health status and remaining storage capacity of each module in the video recording device; after each self-check is completed, the check result is sent to the application software in the console computer in the console via Ethernet.

[0024] Preferably, the console computer comprises:

[0025] A first video file list retrieval module 21 is used to obtain video file list information in a video recording device;

[0026] The first video file playing module 22 is connected to the first video file list searching module 21, and is used for playing and stopping the stored video files.

[0027] Preferably, when it is monitored that one of the input sources has a video signal output, while the other input source has no video signal output for 500ms, a pure blue picture is continuously encoded into a video stream in H264 format using the ffmpeg command at the output end without the video signal and output to the original captured video file F.

[0028] The invention also provides an application of the device in the technical field of Ethernet communication and video source coding.

[0029] (III) Beneficial effects

[0030] The advantages of the present invention compared with the prior art are:

[0031] 1. The device can ensure that the playback time difference of the video files of the two recorded displays is within 500ms, ensuring the authenticity and synchronization of the two video files;

[0032] 2. The video files recorded on the two displays can be fast-forwarded, rewinded or dragged to the same time synchronously during playback, ensuring that the playback of the two video files is completely synchronized. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a connection diagram of the dual-channel video synchronous recording and playback device of the present invention;

[0034] Figure 2It is a schematic diagram of the structure of the video recording device of the present invention;

[0035] Figure 3 It is a schematic diagram of the console computer structure of the present invention. DETAILED DESCRIPTION

[0036] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.

[0037] Figure 1 This is a connection diagram of a dual-channel video synchronous recording and playback device proposed by the present invention. When the input source signal of the dual-channel video in the device is abnormal or the playback progress bar of any video changes during the dual-channel video playback, the device can not only completely and synchronously record the dual-channel video data of the console, but also ensure the synchronization of the dual-channel video playback.

[0038] Only by adopting the solution of the present invention can the problem of "dual-channel video recording or video playback being out of sync due to abnormal video input source signals or changes in the playback progress bar of any video channel" be perfectly solved. The dual-channel video synchronous recording and playback device proposed by the present invention improves the convenience and reliability of video recording.

[0039] like Figure 1 , Figure 2 As shown, this embodiment provides a dual-channel video synchronous recording and playback device, including a video recording device arranged in a console, a console computer and two displays;

[0040] The video recording device comprises:

[0041] The self-check module 11 is used to check the working status of the video acquisition module and the video storage module of the video recording device after the video recording device is powered on;

[0042] A video acquisition module 12, connected to the self-test module 11, for real-time acquisition of dual-channel VGA signals output by two displays in the console;

[0043] The video storage module 13 is connected to the video acquisition module 12 and is used for converting the acquired dual-channel VGA video signal into a video format, generating and naming a video file, segmenting the video file, and storing the video file.

[0044] Among them, the working status check includes power-on initialization self-test and power-on periodic self-test. The self-test content includes the hardware status, working status, health status and remaining storage capacity of each module in the video recording device; after each self-test is completed, the inspection results will be sent to the application software in the console computer in the console via Ethernet.

[0045] The console computer, the two displays of the console and the video recording device are powered on at the same time. After being powered on, the video recording device automatically starts to synchronously collect and store the dual-channel VGA video signals output by the two displays of the console; the video recording device names and stores the video files recorded by the two displays of the console separately, first compresses and encodes the collected VGA signals according to the H.264 standard, and then converts the video file format into MP4 format and stores it.

[0046] The console computer sends the time of the console computer to the video recording device via Ethernet to keep the time of the two devices (console computer, video recording device) synchronized. When the video recording device starts to generate a new video file for storing MP4 format files, it obtains the current system time in the format of "xx year xx month xx day xx hour xx minute xx second". The naming specification of the newly generated first display video file is: current system time + N001, that is, "xx year xx month xx day xx hour xx minute xx second N001"; the naming specification of the newly generated second display video file is: current system time + N002, that is, "xx year xx month xx day xx hour xx minute xx second N002".

[0047] When the video recording device receives a "start recording video" command sent by the console computer via Ethernet, the video recording device generates two new video files named in the current system time format, and stores the video signals acquired in real time and converted in format in the video files; when the video recording device receives a "stop recording video" command sent by the console computer via Ethernet, the video recording device stops recording the two currently opened video files and closes the two video files.

[0048] Among them, when the size of a single video file stored in the video recording device is greater than 1000MB (software configurable), the video recording device automatically generates a new video file named with the current system time, and can realize circular storage of video files; the principle of circular storage is: when generating a new storage video file, if the remaining storage space of the solid-state hard disk is in the range of (15%, 20%), the earliest stored video file is deleted until the remaining storage space of the solid-state hard disk is greater than 20%.

[0049] Among them, when the video recording device receives the "start recording video" command sent by the console computer but does not receive the "stop recording video" command sent by the console computer, it monitors the signals of two video sources (input sources) in real time; when it is detected that one of the input sources has a video signal output, while the other input source has no video signal (no video signal output for 500ms continuously), at the output end without video signal, a pure blue picture is continuously encoded into a video stream in H264 format using the ffmpeg command and output to the original collected video file F; when the input source changes from "no video signal output" to "video signal output", the real-time collected video data continues to be output to the current video file F, so as to realize the synchronous recording of dual-channel video data.

[0050] like Figure 3 As shown, this embodiment provides a console computer in a dual-channel video synchronous recording and playback device, comprising:

[0051] A first video file list retrieval module 21 is used to obtain video file list information in a video recording device;

[0052] The first video file playing module 22 is connected to the first video file list searching module 21, and is used for playing and stopping the stored video files.

[0053] When the console computer plays back the dual-channel video files stored in the video recording device, it first sends a "stop recording video" command to the video recording device via Ethernet, and then accesses and retrieves the video files stored in the video recording device via "disk folder sharing"; wherein the retrieval condition is the complete video file name or part of the video file name.

[0054] Among them, after the console computer retrieves the video files that meet the conditions, it selects any one of the video files to play, and sends the file name information of the video file to the video recording device via Ethernet; the video recording device queries another video file in the same time period based on the file name information of the video file, and sends the file name information of the other video file to the console computer via Ethernet; after the console computer receives the file name information of the other video file via Ethernet, it opens and plays the two video files in two players at the same time, thereby realizing the synchronous playback of two video files in the same time period.

[0055] Among them, when the console computer synchronously plays back the stored dual-channel video files, it can be set to output any one of the video images through the player to be displayed on one display of the console, and the other video image can be output through the player to be displayed on another display of the console, ensuring that video images are output on both displays and the content is not repeated.

[0056] The console computer can play video content synchronously in two players; the console computer can control the two players to fast forward and rewind at the same time while playing the video content, or control the video content playing in the two players to be completely synchronized by dragging the play progress bar on the console computer. The two players share the following play components: a play progress bar, a fast forward button, a rewind button, a play button, a pause button and a stop button. When the console computer finishes playing back the dual-channel video file content, the two players are automatically closed, and the console computer sends a "start recording video" command to the video recording device via Ethernet.

[0057] It can be seen that the dual-channel video synchronous recording and playback device of the present invention can achieve the consistency of the start recording time and the stop recording time of the dual-channel video, the time difference of the recorded dual-channel video is no more than 500ms, and the dual-channel video can play back the video content recorded at the same time, thereby ensuring the synchronization of dual-channel video recording and video playback.

[0058] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A dual-channel video synchronous recording and playback device, It is characterized in that It includes a video recording device, a console computer and two monitors arranged in a console; The console computer, the two displays of the console and the video recording device are powered on at the same time. After the video recording device is powered on, it automatically starts to synchronously collect and store the dual-channel VGA video signals output by the two displays of the console; the video recording device names and stores the video files recorded by the two displays of the console respectively, first compresses and encodes the collected VGA signals according to the H.264 standard, and then converts the video file format into MP4 format and stores it; The console computer sends the time of the console computer to the video recording device via Ethernet to keep the time of the two devices synchronized; when the video recording device starts to generate a new video file for storing MP4 format files, it obtains the current system time in the format of "xx year xx month xx day xx hour xx minute xx second", and the naming specification of the newly generated first display video file is: current system time + N001, that is, "xx year xx month xx day xx hour xx minute xx second N001"; the naming specification of the newly generated second display video file is: current system time + N002, that is, "xx year xx month xx day xx hour xx minute xx second N002"; When the video recording device receives a "start recording video" command sent by the console computer via Ethernet, the video recording device generates two new video files named in the current system time format, and stores the video signals acquired in real time and converted in format in the video files; when the video recording device receives a "stop recording video" command sent by the console computer via Ethernet, the video recording device stops recording the two currently opened video files and closes the two video files; Wherein, when the size of a single video file stored in the video recording device is greater than a certain value, the video recording device automatically generates a new video file named with the current system time, and can realize the circular storage of the video file; the principle of circular storage is: when generating a new storage video file, if the remaining storage space of the solid state hard disk is within the range of (15%, 20%), the earliest stored video file is deleted until the remaining storage space of the solid state hard disk is greater than 20%; Wherein, when the video recording device receives a "start recording video" command sent by the console computer but does not receive a "stop recording video" command sent by the console computer, it monitors the two-way video source signal in real time; when it is detected that one of the input sources has a video signal output, while the other input source has no video signal output, a pure blue picture is continuously encoded into a video stream in H264 format at the output end without video signal using the ffmpeg command and output to the original collected video file F; when the input source changes from "no video signal output" to "video signal output", the real-time collected video data continues to be output to the current video file F, so as to realize the synchronous recording of dual-way video data; When the console computer plays back the dual-channel video file stored in the video recording device, it first sends a "stop recording video" command to the video recording device via Ethernet, and then accesses and retrieves the video file stored in the video recording device via "disk folder sharing"; wherein the retrieval condition is the complete video file name or a part of the video file name; Among them, after the console computer retrieves the video files that meet the conditions, it selects any one of the video files to play, and sends the file name information of the video file to the video recording device via Ethernet; the video recording device queries another video file in the same time period based on the file name information of the video file, and sends the file name information of the other video file to the console computer via Ethernet; after the console computer receives the file name information of the other video file via Ethernet, it opens and plays the two video files in two players at the same time, respectively, to achieve synchronous playback of two video files in the same time period.

2. The device according to claim 1, It is characterized in that When the console computer synchronously plays back the stored dual-channel video files, it is set to output any one of the video images to one display of the console through the player, and the other video image is output to another display of the console through the player, ensuring that video images are output on both displays and the content is not repeated.

3. The device according to claim 1, It is characterized in that The console computer can play the video content synchronously in two players; The console computer controls the two players to fast forward and rewind at the same time while playing the video content, or controls the two players to play the video content completely synchronously by dragging the play progress bar on the console computer.

4. The device as claimed in claim 3, It is characterized in that The two players share the following playback components: a playback progress bar, a fast-forward button, a fast-rewind button, a play button, a pause button, and a stop button.

5. The device according to claim 1, It is characterized in that When the console computer finishes playing back the contents of the dual-channel video files, the two players are automatically closed, and the console computer sends a "start recording video" command to the video recording device via Ethernet.

6. The device according to claim 1, It is characterized in that The video recording device comprises: The self-check module 11 is used to check the working status of the video acquisition module and the video storage module of the video recording device after the video recording device is powered on; A video acquisition module 12, connected to the self-test module 11, for real-time acquisition of dual-channel VGA signals output by two displays in the console; The video storage module 13 is connected to the video acquisition module 12 and is used for converting the acquired dual-channel VGA video signal into a video format, generating and naming a video file, segmenting the video file, and storing the video file.

7. The device according to claim 6, It is characterized in that The working status check performed by the self-check module 11 includes power-on initialization self-check and power-on periodic self-check. The self-check content includes the hardware status, working status, health status and remaining storage capacity of each module in the video recording device; after each self-check is completed, the check result is sent to the application software in the console computer in the console via Ethernet.

8. The device according to claim 1, It is characterized in that The console computer comprises: A first video file list retrieval module 21 is used to obtain video file list information in a video recording device; The first video file playing module 22 is connected to the first video file list searching module 21, and is used for playing and stopping the stored video files.

9. The device according to claim 1, It is characterized in that When it is detected that one of the input sources has video signal output, while the other input source has no video signal output for 500ms, the ffmpeg command is used at the output end without video signal to continuously encode a pure blue picture into a video stream in H264 format and output it to the original captured video file F.

10. Application of the device according to any one of claims 1 to 8 in the technical fields of Ethernet communication and video source coding.