CN112351233A - Recording method and device for classroom teaching environment, storage medium and education all-in-one machine - Google Patents

Recording method and device for classroom teaching environment, storage medium and education all-in-one machine Download PDF

Info

Publication number
CN112351233A
CN112351233A CN202011194383.2A CN202011194383A CN112351233A CN 112351233 A CN112351233 A CN 112351233A CN 202011194383 A CN202011194383 A CN 202011194383A CN 112351233 A CN112351233 A CN 112351233A
Authority
CN
China
Prior art keywords
education
machine
access equipment
data
video data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011194383.2A
Other languages
Chinese (zh)
Inventor
陈龙
彭和平
劳冠华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lango Electronic Science and Technology Co Ltd
Original Assignee
Guangzhou Lango Electronic Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Lango Electronic Science and Technology Co Ltd filed Critical Guangzhou Lango Electronic Science and Technology Co Ltd
Priority to CN202011194383.2A priority Critical patent/CN112351233A/en
Publication of CN112351233A publication Critical patent/CN112351233A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/06Electrically-operated educational appliances with both visual and audible presentation of the material to be studied
    • G09B5/065Combinations of audio and video presentations, e.g. videotapes, videodiscs, television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/77Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Electrically Operated Instructional Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a classroom teaching environment recording method, a device, a storage medium and an education all-in-one machine based on the education all-in-one machine, wherein the method comprises the following steps: before a classroom begins, detecting access equipment currently accessed to an education integrated machine; starting the detected access equipment based on the education integrated machine, acquiring audio data and video data by using the started access equipment, and storing the acquired audio data and video data to a preset position; the education all-in-one machine starts a recording program of the education all-in-one machine, records screen data of the education all-in-one machine and stores the recorded screen data to a preset position; and after the classroom is finished, synthesizing the audio data, the video data and the screen data which are stored in the preset positions in the education integrated machine to obtain synthesized teaching video data. In the embodiment of the invention, the classroom teaching video is recorded at lower cost, the classroom teaching scene is restored, and high-quality teaching video content is provided for the education backward areas.

Description

Recording method and device for classroom teaching environment, storage medium and education all-in-one machine
Technical Field
The invention relates to the technical field of education integrated machines, in particular to a classroom teaching environment recording method and device based on an education integrated machine, a storage medium and the education integrated machine.
Background
In the recording of current teaching video, need erect a plurality of high definition digtal camera and carry out the real-time recording of the process of making a lesson to still can't catch the clear content of the courseware of making a lesson, and can't shoot the panorama in classroom, generally can only shoot mr's lecture, can't restore the classroom condition and the atmosphere of making a lesson at present, follow-up student who utilizes these teaching video can't feel the same thing.
At present, education all-in-one machines are on the same line, two-line cities are relatively popular devices, most of excellent education resources are concentrated in the cities, namely, the current education all-in-one machine devices are used for recording teaching videos, and the purpose that high-quality teaching contents can be shared by the internet to vast education lag areas is achieved.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a classroom teaching environment recording method, a classroom teaching environment recording device, a storage medium and an education all-in-one machine based on the education all-in-one machine, which realize the recording of classroom teaching videos at lower cost, restore classroom teaching scenes and provide high-quality teaching video contents for education lagging areas.
In order to solve the technical problem, an embodiment of the present invention provides a recording method for classroom teaching environment based on an education all-in-one machine, which is characterized in that the method includes:
before a classroom begins, detecting access equipment currently accessed into an education all-in-one machine, wherein the access equipment comprises at least one path of MIC equipment and at least one path of camera equipment;
starting the detected access equipment based on the education integrated machine, acquiring audio data and video data by using the started access equipment, and storing the acquired audio data and video data to a preset position; at the same time, the user can select the desired position,
the education all-in-one machine starts a recording program of the education all-in-one machine, records screen data of the education all-in-one machine and stores the recorded screen data to a preset position;
and after the classroom is finished, synthesizing the audio data, the video data and the screen data which are stored in the preset positions in the education all-in-one machine to obtain synthesized teaching video data.
Optionally, the detecting the access device currently accessing the education integrator includes:
the method comprises the steps of monitoring the hot plug of a USB interface of the education all-in-one machine in real time, obtaining current access equipment of the education all-in-one machine according to a monitoring result, and obtaining the model and resolution information of the current access equipment when the current access equipment is camera equipment.
Optionally, the starting the detected access device based on the education integration machine includes:
the education all-in-one machine opens the equipment node of the current access equipment and carries out permission check; a
When the access equipment is checked to have the opening right of the access equipment, the access equipment is started;
and when the condition that the access equipment does not have the opening right is checked, submitting an opening application to the access equipment, and directly opening the access equipment after the application is approved.
Optionally, the collecting of the audio data and the video data by using the opened access device, and storing the collected audio data and video data to a preset position includes:
and encapsulating a UsbControlBlock module in the opened access equipment, and storing audio data and video data acquired by the opened access equipment to a preset position based on the UsbControlBlock module.
Optionally, the storing, based on the UsbControlBlock module, the audio data and the video data collected by the turned-on access device to a preset position includes:
when the started access equipment collects audio data and video data, feeding the collected video data back to a UVCCamera processing module and feeding the collected audio data back to a UVCMic processing module through the UsbControlBlock module;
the UVCCamera processing module adds a timestamp to the collected video data and stores the video data to a preset position, and the UVCMic processing module adds a timestamp to the collected audio data and stores the audio data to a preset position.
Optionally, the storing the recorded screen data to a preset location includes:
and adding a time stamp to the recorded screen data and storing the time stamp to a preset position.
Optionally, the synthesizing the audio data, the video data and the screen data stored in the preset position in the integrated education machine to obtain synthesized teaching video data includes:
respectively extracting corresponding video data and screen data at the preset position according to the time stamps;
merging the extracted corresponding video data and screen data into a video frame corresponding to the timestamp by using an FFmpeg open source program;
and extracting corresponding audio data according to the time stamp at the preset position and mixing the audio data with the video frame corresponding to the time stamp to form a video file.
In addition, the embodiment of the invention also provides a recording device for classroom teaching environment based on an education all-in-one machine, which comprises:
a detection module: the access equipment is used for detecting the current access equipment of the education all-in-one machine before a classroom begins, wherein the access equipment comprises at least one path of MIC equipment and at least one path of camera equipment;
an acquisition module: the system comprises an education all-in-one machine, a monitoring unit and a control unit, wherein the education all-in-one machine is used for starting detected access equipment based on the education all-in-one machine, acquiring audio data and video data by utilizing the started access equipment and storing the acquired audio data and video data to a preset position; at the same time, the user can select the desired position,
a recording module: the education all-in-one machine is used for starting a recording program of the education all-in-one machine, recording screen data of the education all-in-one machine and storing the recorded screen data to a preset position;
a synthesis module: and after the classroom is finished, synthesizing the audio data, the video data and the screen data which are stored in the preset positions in the education all-in-one machine to obtain synthesized teaching video data.
In addition, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the recording method in the classroom teaching environment as described in any one of the above.
In addition, an embodiment of the present invention further provides an education all-in-one machine, including:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: the classroom teaching environment recording method according to any one of the above is performed.
In the embodiment of the invention, before a classroom begins, access equipment which is currently accessed into an education all-in-one machine is detected, wherein the access equipment comprises at least one path of MIC equipment and at least one path of camera equipment; starting the detected access equipment based on the education integrated machine, acquiring audio data and video data by using the started access equipment, and storing the acquired audio data and video data to a preset position; meanwhile, the education all-in-one machine starts a recording program of the education all-in-one machine, records screen data of the education all-in-one machine and stores the recorded screen data to a preset position; and after the classroom is finished, synthesizing the audio data, the video data and the screen data which are stored in the preset positions in the education all-in-one machine to obtain synthesized teaching video data. The classroom teaching video can be recorded at low cost, classroom teaching scenes can be restored, and high-quality teaching video content is provided for education lagging areas.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a recording method of a classroom teaching environment based on an integrated education machine in an embodiment of the invention;
fig. 2 is a schematic structural composition diagram of a recording device for classroom teaching environment based on an integrated education machine in the embodiment of the invention;
fig. 3 is a schematic structural view of an educational all-in-one machine according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Examples
Referring to fig. 1, fig. 1 is a schematic flow chart of a recording method for a classroom teaching environment based on an integrated education machine according to an embodiment of the present invention.
As shown in fig. 1, a method for recording classroom teaching environment based on an educational machine, the method comprises:
s11: before a classroom begins, detecting access equipment currently accessed into an education all-in-one machine, wherein the access equipment comprises at least one path of MIC equipment and at least one path of camera equipment;
in a specific implementation process of the present invention, the detecting of the access device currently accessing the education integrator includes: the method comprises the steps of monitoring the hot plug of a USB interface of the education all-in-one machine in real time, obtaining current access equipment of the education all-in-one machine according to a monitoring result, and obtaining the model and resolution information of the current access equipment when the current access equipment is camera equipment.
Specifically, the access device is accessed to the education all-in-one machine device through the USB HUB or the relay device, the access device comprises at least one path of MIC device and at least one path of camera device, the paths of the MIC device and the camera device are the same, and generally speaking, the MIC device and the camera device are connected with the education all-in-one machine device through the USB HUB or the relay device.
An MIC control module of USBMonitor/USBb equipment exists in an Android system running on an education all-in-one machine, and is mainly used for obtaining USB equipment nodes (equipment information) of access equipment, namely monitoring hot plug of USB interface operation of the access equipment in real time in a software mode, and broadcasting monitoring results, wherein the monitoring results comprise connection and disconnection of the access equipment and the education all-in-one machine equipment and USB permission requests; therefore, the equipment signal of the access equipment is obtained, and when the access equipment is Camera equipment, the information of the current Camera model, equipment and specific resolution is obtained. Whether in a normal operating state, a list of current camera devices.
S12: starting the detected access equipment based on the education integrated machine, acquiring audio data and video data by using the started access equipment, and storing the acquired audio data and video data to a preset position;
in a specific implementation process of the present invention, the starting of the detected access device based on the education integration machine includes: the education all-in-one machine opens the equipment node of the current access equipment and carries out permission check; when the access equipment is checked to have the opening right of the access equipment, the access equipment is started; and when the condition that the access equipment does not have the opening right is checked, submitting an opening application to the access equipment, and directly opening the access equipment after the application is approved.
Further, the acquisition of audio data and video data is carried out to the access equipment that utilizes to open, audio data and video data that will gather save to preset position, include: and encapsulating a UsbControlBlock module in the opened access equipment, and storing audio data and video data acquired by the opened access equipment to a preset position based on the UsbControlBlock module.
Further, the storing of the audio data and the video data collected by the turned-on access device to a preset position based on the UsbControlBlock module includes: when the started access equipment collects audio data and video data, feeding the collected video data back to a UVCCamera processing module and feeding the collected audio data back to a UVCMic processing module through the UsbControlBlock module; the UVCCamera processing module adds a timestamp to the collected video data and stores the video data to a preset position, and the UVCMic processing module adds a timestamp to the collected audio data and stores the audio data to a preset position.
Specifically, the processing modules corresponding to the camera device and the MIC device comprise a UVCCamera processing module and a UVCMic processing module, and an abstract UVCCamera handler processing module is further included on an operating system of the all-in-one machine device; the Abstract UVCAmera handler processing module is responsible for controlling UVCCamera, state callbacks, data callbacks, codes of recorded video files and the like; the Abstract UVCCameramHandler processing module has two internal thread classes "Camera thread" and "Micthread", which control and open multiple devices, making the open logic very simple.
When the education all-in-one machine opens the equipment node of the current access equipment, the authority check is carried out; when the access equipment is checked to have the opening right of the access equipment, the access equipment is started; and when the access equipment does not have the opening right, submitting an opening application to the access equipment, and directly opening the access equipment after the application is approved.
In the started access equipment, a UsbControlBlock module (equipment data) is directly packaged in the method for opening the camera; then feeding back the collected video data to a UVCCamera processing module and feeding back the collected audio data to a UVCMic processing module through a UbControlBlock module; the UVCCamera processing module adds a timestamp to the collected video data and stores the video data to a preset position, and the UVCMic processing module adds a timestamp to the collected audio data and stores the audio data to a preset position.
S13: the education all-in-one machine starts a recording program of the education all-in-one machine, records screen data of the education all-in-one machine and stores the recorded screen data to a preset position;
in a specific implementation process of the present invention, the storing the recorded screen data to a preset location includes: and adding a time stamp to the recorded screen data and storing the time stamp to a preset position.
Specifically, at the same time, the education integrated machine equipment starts a recording program of the education integrated machine equipment, records screen data and system data of the education integrated machine equipment, adds a timestamp on the recorded screen data according to the system data of the education integrated machine equipment, and stores the timestamp on a preset position; and the subsequent merging processing is convenient.
S14: and after the classroom is finished, synthesizing the audio data, the video data and the screen data which are stored in the preset positions in the education all-in-one machine to obtain synthesized teaching video data.
In a specific implementation process of the present invention, the synthesizing the audio data, the video data and the screen data stored in the preset position in the integrated education machine to obtain synthesized teaching video data includes: respectively extracting corresponding video data and screen data at the preset position according to the time stamps; merging the extracted corresponding video data and screen data into a video frame corresponding to the timestamp by using an FFmpeg open source program; and extracting corresponding audio data according to the time stamp at the preset position and mixing the audio data with the video frame corresponding to the time stamp to form a video file.
Specifically, corresponding video data and screen data are respectively extracted in a preset position according to a timestamp, and when the corresponding video data and screen data are extracted, a source file to which audio belongs is read at the same time; then, combining the extracted corresponding video data and the screen data into a video frame corresponding to the timestamp by utilizing an FFmpeg open source program; and extracting corresponding audio data according to the time stamp at a preset position and mixing the audio data with the video frame corresponding to the time stamp to form a video file.
The merging method is as follows:
Ffmpeg-i"concat:f00282urkwd.321002.1.ts|f00282urkwd.321002.2.ts|f00282urkwd.321002.3.ts|f00282urkwd.321002.4.ts|f00282urkwd.321002.5.ts|f00282urkwd.321002.6.ts|f00282urkwd.321002.7.ts|f00282urkwd.321002.8.ts|f00282urkwd.321002.9.ts|f00282urkwd.321002.10.ts|f00282urkwd.321002.11.ts|f00282urkwd.321002.12.ts|f00282urkwd.321002.13.ts|f00282urkwd.321002.14.ts|f00282urkwd.321002.15.ts|f00282urkwd.321002.16.ts|f00282urkwd.321002.17.ts|"-ccopy output.mp4。
the video file synthesized by the above synthesis method is ffmpeg-i 1.mp4-i 1.m4 a-vocodec copy-acodec copy output. mp 4; i.e. an MP4 file.
In the embodiment of the invention, before a classroom begins, access equipment which is currently accessed into an education all-in-one machine is detected, wherein the access equipment comprises at least one path of MIC equipment and at least one path of camera equipment; starting the detected access equipment based on the education integrated machine, acquiring audio data and video data by using the started access equipment, and storing the acquired audio data and video data to a preset position; meanwhile, the education all-in-one machine starts a recording program of the education all-in-one machine, records screen data of the education all-in-one machine and stores the recorded screen data to a preset position; and after the classroom is finished, synthesizing the audio data, the video data and the screen data which are stored in the preset positions in the education all-in-one machine to obtain synthesized teaching video data. The classroom teaching video can be recorded at low cost, classroom teaching scenes can be restored, and high-quality teaching video content is provided for education lagging areas.
Examples
Referring to fig. 2, fig. 2 is a schematic structural composition diagram of a recording device for classroom teaching environment based on an integrated education machine according to an embodiment of the present invention.
As shown in fig. 2, an apparatus for recording a classroom teaching environment based on an educational machine, the apparatus comprising:
the detection module 21: the access equipment is used for detecting the current access equipment of the education all-in-one machine before a classroom begins, wherein the access equipment comprises at least one path of MIC equipment and at least one path of camera equipment;
in a specific implementation process of the present invention, the detecting of the access device currently accessing the education integrator includes: the method comprises the steps of monitoring the hot plug of a USB interface of the education all-in-one machine in real time, obtaining current access equipment of the education all-in-one machine according to a monitoring result, and obtaining the model and resolution information of the current access equipment when the current access equipment is camera equipment.
Specifically, the access device is accessed to the education all-in-one machine device through the USB HUB or the relay device, the access device comprises at least one path of MIC device and at least one path of camera device, the paths of the MIC device and the camera device are the same, and generally speaking, the MIC device and the camera device are connected with the education all-in-one machine device through the USB HUB or the relay device.
An MIC control module of USBMonitor/USBb equipment exists in an Android system running on an education all-in-one machine, and is mainly used for obtaining USB equipment nodes (equipment information) of access equipment, namely monitoring hot plug of USB interface operation of the access equipment in real time in a software mode, and broadcasting monitoring results, wherein the monitoring results comprise connection and disconnection of the access equipment and the education all-in-one machine equipment and USB permission requests; therefore, the equipment signal of the access equipment is obtained, and when the access equipment is Camera equipment, the information of the current Camera model, equipment and specific resolution is obtained. Whether in a normal operating state, a list of current camera devices.
The acquisition module 22: the system comprises an education all-in-one machine, a monitoring unit and a control unit, wherein the education all-in-one machine is used for starting detected access equipment based on the education all-in-one machine, acquiring audio data and video data by utilizing the started access equipment and storing the acquired audio data and video data to a preset position;
in a specific implementation process of the present invention, the starting of the detected access device based on the education integration machine includes: the education all-in-one machine opens the equipment node of the current access equipment and carries out permission check; when the access equipment is checked to have the opening right of the access equipment, the access equipment is started; and when the condition that the access equipment does not have the opening right is checked, submitting an opening application to the access equipment, and directly opening the access equipment after the application is approved.
Further, the acquisition of audio data and video data is carried out to the access equipment that utilizes to open, audio data and video data that will gather save to preset position, include: and encapsulating a UsbControlBlock module in the opened access equipment, and storing audio data and video data acquired by the opened access equipment to a preset position based on the UsbControlBlock module.
Further, the storing of the audio data and the video data collected by the turned-on access device to a preset position based on the UsbControlBlock module includes: when the started access equipment collects audio data and video data, feeding the collected video data back to a UVCCamera processing module and feeding the collected audio data back to a UVCMic processing module through the UsbControlBlock module; the UVCCamera processing module adds a timestamp to the collected video data and stores the video data to a preset position, and the UVCMic processing module adds a timestamp to the collected audio data and stores the audio data to a preset position.
Specifically, the processing modules corresponding to the camera device and the MIC device comprise a UVCCamera processing module and a UVCMic processing module, and an abstract UVCCamera handler processing module is further included on an operating system of the all-in-one machine device; the Abstract UVCAmera handler processing module is responsible for controlling UVCCamera, state callbacks, data callbacks, codes of recorded video files and the like; the Abstract UVCCameramHandler processing module has two internal thread classes "Camera thread" and "Micthread", which control and open multiple devices, making the open logic very simple.
When the education all-in-one machine opens the equipment node of the current access equipment, the authority check is carried out; when the access equipment is checked to have the opening right of the access equipment, the access equipment is started; and when the access equipment does not have the opening right, submitting an opening application to the access equipment, and directly opening the access equipment after the application is approved.
In the started access equipment, a UsbControlBlock module (equipment data) is directly packaged in the method for opening the camera; then feeding back the collected video data to a UVCCamera processing module and feeding back the collected audio data to a UVCMic processing module through a UbControlBlock module; the UVCCamera processing module adds a timestamp to the collected video data and stores the video data to a preset position, and the UVCMic processing module adds a timestamp to the collected audio data and stores the audio data to a preset position.
The recording module 23: the education all-in-one machine is used for starting a recording program of the education all-in-one machine, recording screen data of the education all-in-one machine and storing the recorded screen data to a preset position;
in a specific implementation process of the present invention, the storing the recorded screen data to a preset location includes: and adding a time stamp to the recorded screen data and storing the time stamp to a preset position.
Specifically, at the same time, the education integrated machine equipment starts a recording program of the education integrated machine equipment, records screen data and system data of the education integrated machine equipment, adds a timestamp on the recorded screen data according to the system data of the education integrated machine equipment, and stores the timestamp on a preset position; and the subsequent merging processing is convenient.
The synthesis module 24: and after the classroom is finished, synthesizing the audio data, the video data and the screen data which are stored in the preset positions in the education all-in-one machine to obtain synthesized teaching video data.
In a specific implementation process of the present invention, the synthesizing the audio data, the video data and the screen data stored in the preset position in the integrated education machine to obtain synthesized teaching video data includes: respectively extracting corresponding video data and screen data at the preset position according to the time stamps; merging the extracted corresponding video data and screen data into a video frame corresponding to the timestamp by using an FFmpeg open source program; and extracting corresponding audio data according to the time stamp at the preset position and mixing the audio data with the video frame corresponding to the time stamp to form a video file.
Specifically, corresponding video data and screen data are respectively extracted in a preset position according to a timestamp, and when the corresponding video data and screen data are extracted, a source file to which audio belongs is read at the same time; then, combining the extracted corresponding video data and the screen data into a video frame corresponding to the timestamp by utilizing an FFmpeg open source program; and extracting corresponding audio data according to the time stamp at a preset position and mixing the audio data with the video frame corresponding to the time stamp to form a video file.
The merging method is as follows:
Ffmpeg-i"concat:f00282urkwd.321002.1.ts|f00282urkwd.321002.2.ts|f00282urkwd.321002.3.ts|f00282urkwd.321002.4.ts|f00282urkwd.321002.5.ts|f00282urkwd.321002.6.ts|f00282urkwd.321002.7.ts|f00282urkwd.321002.8.ts|f00282urkwd.321002.9.ts|f00282urkwd.321002.10.ts|f00282urkwd.321002.11.ts|f00282urkwd.321002.12.ts|f00282urkwd.321002.13.ts|f00282urkwd.321002.14.ts|f00282urkwd.321002.15.ts|f00282urkwd.321002.16.ts|f00282urkwd.321002.17.ts|"-ccopy output.mp4。
the video file synthesized by the above synthesis method is ffmpeg-i 1.mp4-i 1.m4 a-vocodec copy-acodec copy output. mp 4; i.e. an MP4 file.
In the embodiment of the invention, before a classroom begins, access equipment which is currently accessed into an education all-in-one machine is detected, wherein the access equipment comprises at least one path of MIC equipment and at least one path of camera equipment; starting the detected access equipment based on the education integrated machine, acquiring audio data and video data by using the started access equipment, and storing the acquired audio data and video data to a preset position; meanwhile, the education all-in-one machine starts a recording program of the education all-in-one machine, records screen data of the education all-in-one machine and stores the recorded screen data to a preset position; and after the classroom is finished, synthesizing the audio data, the video data and the screen data which are stored in the preset positions in the education all-in-one machine to obtain synthesized teaching video data. The classroom teaching video can be recorded at low cost, classroom teaching scenes can be restored, and high-quality teaching video content is provided for education lagging areas.
The invention provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the recording method for classroom teaching environment in any one of the above embodiments. The computer-readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., a computer, a cellular phone), and may be a read-only memory, a magnetic or optical disk, or the like.
The embodiment of the invention also provides a computer application program which runs on a computer and is used for executing the classroom teaching environment recording method of any one of the embodiments.
In addition, fig. 3 is a schematic structural composition diagram of the education integrative machine equipment in the embodiment of the invention.
The embodiment of the invention also provides education integrated machine equipment, which is shown in figure 3. The educational unit device includes a processor 302, a memory 303, an input unit 304, a display unit 305, and the like. Those skilled in the art will appreciate that the educational kiosk apparatus construction devices illustrated in fig. 3 are not to be construed as limiting all of the apparatus, and may include more or less components than those illustrated, or some of the components may be combined. The memory 303 may be used to store the application 301 and various functional modules, and the processor 302 executes the application 301 stored in the memory 303, thereby performing various functional applications of the device and data processing. The memory may be internal or external memory, or include both internal and external memory. The memory may comprise read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a usb-disk, a magnetic tape, etc. The disclosed memory includes, but is not limited to, these types of memory. The disclosed memory is by way of example only and not by way of limitation.
The input unit 304 is used for receiving input of signals and receiving keywords input by a user. The input unit 304 may include a touch panel and other input devices. The touch panel can collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel by using any suitable object or accessory such as a finger, a stylus and the like) and drive the corresponding connecting device according to a preset program; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., play control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. The display unit 305 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 305 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 302 is a control center of the terminal device, connects various parts of the entire device using various interfaces and lines, and performs various functions and processes data by operating or executing software programs and/or modules stored in the memory 302 and calling data stored in the memory.
As one embodiment, the educational all-in-one machine device includes: one or more processors 302, a memory 303, one or more applications 301, wherein the one or more applications 301 are stored in the memory 303 and configured to be executed by the one or more processors 302, wherein the one or more applications 301 are configured to perform the classroom teaching environment recording method of any of the above embodiments.
In the embodiment of the invention, before a classroom begins, access equipment which is currently accessed into an education all-in-one machine is detected, wherein the access equipment comprises at least one path of MIC equipment and at least one path of camera equipment; starting the detected access equipment based on the education integrated machine, acquiring audio data and video data by using the started access equipment, and storing the acquired audio data and video data to a preset position; meanwhile, the education all-in-one machine starts a recording program of the education all-in-one machine, records screen data of the education all-in-one machine and stores the recorded screen data to a preset position; and after the classroom is finished, synthesizing the audio data, the video data and the screen data which are stored in the preset positions in the education all-in-one machine to obtain synthesized teaching video data. The classroom teaching video can be recorded at low cost, classroom teaching scenes can be restored, and high-quality teaching video content is provided for education lagging areas.
In addition, the method, the device, the storage medium and the integrated education machine for recording the classroom teaching environment based on the integrated education machine provided by the embodiment of the invention are described in detail, a specific example is adopted to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A classroom teaching environment recording method based on an education all-in-one machine is characterized by comprising the following steps:
before a classroom begins, detecting access equipment currently accessed into an education all-in-one machine, wherein the access equipment comprises at least one path of MIC equipment and at least one path of camera equipment;
starting the detected access equipment based on the education integrated machine, acquiring audio data and video data by using the started access equipment, and storing the acquired audio data and video data to a preset position; at the same time, the user can select the desired position,
the education all-in-one machine starts a recording program of the education all-in-one machine, records screen data of the education all-in-one machine and stores the recorded screen data to a preset position;
and after the classroom is finished, synthesizing the audio data, the video data and the screen data which are stored in the preset positions in the education all-in-one machine to obtain synthesized teaching video data.
2. The method for recording in a classroom teaching environment as described in claim 1 wherein said detecting a current access device to an educational kiosk comprises:
the method comprises the steps of monitoring the hot plug of a USB interface of the education all-in-one machine in real time, obtaining current access equipment of the education all-in-one machine according to a monitoring result, and obtaining the model and resolution information of the current access equipment when the current access equipment is camera equipment.
3. The method for recording in a classroom teaching environment as described in claim 1 wherein said enabling of said detected access device based on said educational hub comprises:
the education all-in-one machine opens the equipment node of the current access equipment and carries out permission check;
when the access equipment is checked to have the opening right of the access equipment, the access equipment is started;
and when the condition that the access equipment does not have the opening right is checked, submitting an opening application to the access equipment, and directly opening the access equipment after the application is approved.
4. The method as claimed in claim 1, wherein the collecting audio data and video data by using the opened access device, and storing the collected audio data and video data to a preset location comprises:
and encapsulating a UsbControlBlock module in the opened access equipment, and storing audio data and video data acquired by the opened access equipment to a preset position based on the UsbControlBlock module.
5. The method for recording the classroom teaching environment as described in claim 4, wherein said saving the audio and video data collected by said enabled access device to a predetermined location based on said UsbControlBlock module comprises:
when the started access equipment collects audio data and video data, feeding the collected video data back to a UVCCamera processing module and feeding the collected audio data back to a UVCMic processing module through the UsbControlBlock module;
the UVCCamera processing module adds a timestamp to the collected video data and stores the video data to a preset position, and the UVCMic processing module adds a timestamp to the collected audio data and stores the audio data to a preset position.
6. The method for recording in a classroom teaching environment as set forth in claim 1, wherein storing the recorded screen data in a predetermined location comprises:
and adding a time stamp to the recorded screen data and storing the time stamp to a preset position.
7. The method as claimed in claim 1, wherein the step of synthesizing the audio data, the video data and the screen data stored in the predetermined locations in the integrated education machine to obtain synthesized video data comprises:
respectively extracting corresponding video data and screen data at the preset position according to the time stamps;
merging the extracted corresponding video data and screen data into a video frame corresponding to the timestamp by using an FFmpeg open source program;
and extracting corresponding audio data according to the time stamp at the preset position and mixing the audio data with the video frame corresponding to the time stamp to form a video file.
8. A recording device for classroom teaching environment based on an educational all-in-one machine, the device comprising:
a detection module: the access equipment is used for detecting the current access equipment of the education all-in-one machine before a classroom begins, wherein the access equipment comprises at least one path of MIC equipment and at least one path of camera equipment;
an acquisition module: the system comprises an education all-in-one machine, a monitoring unit and a control unit, wherein the education all-in-one machine is used for starting detected access equipment based on the education all-in-one machine, acquiring audio data and video data by utilizing the started access equipment and storing the acquired audio data and video data to a preset position; at the same time, the user can select the desired position,
a recording module: the education all-in-one machine is used for starting a recording program of the education all-in-one machine, recording screen data of the education all-in-one machine and storing the recorded screen data to a preset position;
a synthesis module: and after the classroom is finished, synthesizing the audio data, the video data and the screen data which are stored in the preset positions in the education all-in-one machine to obtain synthesized teaching video data.
9. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the classroom teaching environment recording method as recited in any one of claims 1-7.
10. An educational all-in-one machine apparatus, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: the classroom teaching environment recording method as claimed in any one of claims 1-7 is performed.
CN202011194383.2A 2020-10-30 2020-10-30 Recording method and device for classroom teaching environment, storage medium and education all-in-one machine Pending CN112351233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011194383.2A CN112351233A (en) 2020-10-30 2020-10-30 Recording method and device for classroom teaching environment, storage medium and education all-in-one machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011194383.2A CN112351233A (en) 2020-10-30 2020-10-30 Recording method and device for classroom teaching environment, storage medium and education all-in-one machine

Publications (1)

Publication Number Publication Date
CN112351233A true CN112351233A (en) 2021-02-09

Family

ID=74356839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011194383.2A Pending CN112351233A (en) 2020-10-30 2020-10-30 Recording method and device for classroom teaching environment, storage medium and education all-in-one machine

Country Status (1)

Country Link
CN (1) CN112351233A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025157A (en) * 2022-01-05 2022-02-08 广州朗国电子科技股份有限公司 Identification method and system of all-in-one machine camera and all-in-one machine

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030092965A (en) * 2002-05-31 2003-12-06 엘지전자 주식회사 Learning system and method and a computer usable medium for storing computer readable program source of said method
CN101902580A (en) * 2009-05-26 2010-12-01 北京同步科技有限公司 Network multimedia tracking system for teaching
CN103177615A (en) * 2013-03-26 2013-06-26 北京新学道教育科技有限公司 Cloud-computing-technology-based recording and broadcasting system and method
WO2019075826A1 (en) * 2017-10-20 2019-04-25 深圳市鹰硕技术有限公司 Internet teaching platform-based accompanying teaching system
CN109788221A (en) * 2019-01-25 2019-05-21 新晨易捷(北京)科技有限公司 A kind of recorded broadcast method and device
CN110010164A (en) * 2018-11-13 2019-07-12 成都依能科技股份有限公司 Multi-channel sound video automated intelligent edit methods
CN110491221A (en) * 2019-09-11 2019-11-22 深圳市浪涛科技有限公司 A kind of Multifunctional smart education all-in-one machine and its application method
CN111627271A (en) * 2020-04-10 2020-09-04 北京文香信息技术有限公司 Synchronous classroom system and management platform thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030092965A (en) * 2002-05-31 2003-12-06 엘지전자 주식회사 Learning system and method and a computer usable medium for storing computer readable program source of said method
CN101902580A (en) * 2009-05-26 2010-12-01 北京同步科技有限公司 Network multimedia tracking system for teaching
CN103177615A (en) * 2013-03-26 2013-06-26 北京新学道教育科技有限公司 Cloud-computing-technology-based recording and broadcasting system and method
WO2019075826A1 (en) * 2017-10-20 2019-04-25 深圳市鹰硕技术有限公司 Internet teaching platform-based accompanying teaching system
CN110010164A (en) * 2018-11-13 2019-07-12 成都依能科技股份有限公司 Multi-channel sound video automated intelligent edit methods
CN109788221A (en) * 2019-01-25 2019-05-21 新晨易捷(北京)科技有限公司 A kind of recorded broadcast method and device
CN110491221A (en) * 2019-09-11 2019-11-22 深圳市浪涛科技有限公司 A kind of Multifunctional smart education all-in-one machine and its application method
CN111627271A (en) * 2020-04-10 2020-09-04 北京文香信息技术有限公司 Synchronous classroom system and management platform thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025157A (en) * 2022-01-05 2022-02-08 广州朗国电子科技股份有限公司 Identification method and system of all-in-one machine camera and all-in-one machine

Similar Documents

Publication Publication Date Title
US11962932B2 (en) Video generation based on predetermined background
US10133653B2 (en) Recording and playback of trace and video log data for programs
US9161238B2 (en) Mobile device monitoring and testing
CN104063305B (en) The method for testing pressure of intelligent terminal software, device and system
CN108920354A (en) Bury a management method, device, computer equipment and storage medium
CN104394437B (en) A kind of online live method and system that start broadcasting
CN110837474A (en) Script recording method, device, terminal and storage medium
US10148993B2 (en) Method and system for programmable loop recording
DE112018006727B4 (en) ELECTRONIC DEVICE FOR COMBINING MUSIC WITH PHOTOGRAPHY AND CONTROL METHODS THEREFOR
CN111901695B (en) Video content interception method, device and equipment and computer storage medium
CN112817790B (en) Method for simulating user behavior
JP2023521199A (en) Video stream playback control method, device and storage medium
CN107741902A (en) Program application detection method and program application detection means
CN109254709A (en) Screenshotss processing method, device, equipment and machine readable media
CN112188267A (en) Video playing method, device and equipment and computer storage medium
CN113987393A (en) Web page operation recorder, system, device and method
CN115665342A (en) Image processing method, image processing circuit, electronic device, and readable storage medium
WO2015184908A1 (en) Reverse debug method, device and debugger
CN112351233A (en) Recording method and device for classroom teaching environment, storage medium and education all-in-one machine
CN114051116A (en) Video monitoring method, device and system for driving test vehicle
WO2019015411A1 (en) Screen recording method and apparatus, and electronic device
CN111475423A (en) Data entry method and device, electronic equipment and readable storage medium
CN108882004B (en) Video recording method, device, equipment and storage medium
CN116723353A (en) Video monitoring area configuration method, system, device and readable storage medium
CN110569184B (en) Test method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 238, room 406, No.1, Yichuang street, Huangpu District, Guangzhou, Guangdong 510000

Applicant after: Guangzhou langguo Electronic Technology Co.,Ltd.

Address before: 510000 unit a and B, zone 02, 4th floor, No. 136, Gaopu Road, high tech Development Zone, Tianhe District, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU LANGO ELECTRONIC SCIENCE & TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210209