CN115514982A - FFmpeg-based education live broadcast method and system - Google Patents
FFmpeg-based education live broadcast method and system Download PDFInfo
- Publication number
- CN115514982A CN115514982A CN202210951854.2A CN202210951854A CN115514982A CN 115514982 A CN115514982 A CN 115514982A CN 202210951854 A CN202210951854 A CN 202210951854A CN 115514982 A CN115514982 A CN 115514982A
- Authority
- CN
- China
- Prior art keywords
- live broadcast
- education live
- video
- ffmpeg
- education
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000008569 process Effects 0.000 claims abstract description 53
- 230000005236 sound signal Effects 0.000 claims description 16
- 238000004458 analytical method Methods 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 238000004806 packaging method and process Methods 0.000 claims description 8
- 230000009286 beneficial effect Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000004075 alteration Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8358—Generation of protective data, e.g. certificates involving watermark
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Electrically Operated Instructional Devices (AREA)
Abstract
The invention provides an ffmpeg-based education live broadcast method, which comprises the following steps: acquiring a plurality of education live broadcast video sources based on a preset ffmpeg process program; converting and matching the formats of the education live broadcast video source and the output interfaces, and playing the education live broadcast video played by the education live broadcast video source successfully matched with the formats; receiving a command of a control terminal based on the ffmpeg process, and extracting effective image files from the plurality of education live broadcast videos through the command; and transmitting the effective image file back to a video acquisition module and printing a watermark.
Description
Technical Field
The invention relates to the technical field of live broadcast, in particular to an ffmpeg-based education live broadcast method and system.
Background
At present, the direct education broadcasting is a new teaching mode, and is based on the rapid development of the internet direct broadcasting technology, the conventional methods include an AMS (automatic reference system), an SRS (sounding reference signal) and a Red5 streaming media server, but the conventional mainstream method deeply depends on the hardware performance, and is complex in structure and heavy in framework.
Disclosure of Invention
The invention provides an ffmpeg-based education live broadcast method and system, which are used for solving the problems in the background art.
The technical scheme provides an ffmpeg-based education live broadcast method, which is characterized by comprising the following steps of:
acquiring a plurality of education live broadcast video sources based on a preset ffmpeg process program;
converting and matching the formats of the education live broadcast video source and the output interfaces, and playing the education live broadcast video played by the education live broadcast video source successfully matched with the formats;
receiving a command of a control terminal based on the ffmpeg process, and extracting effective image files from the plurality of education live broadcast videos through the command;
and transmitting the effective image file back to a video acquisition module and printing a watermark.
As an embodiment of the present technical solution, the converting and format matching the formats of the education live video source and the plurality of output interfaces includes:
acquiring interface format information of an output interface format based on a preset ffmpeg process program;
acquiring and analyzing the education live broadcast video source, and acquiring video source format information;
generating a request command through the interface format information and the video source format information;
sending the request command to a server for analysis, and acquiring an output interface format type;
matching the video source format information with the output interface format type, and determining an output interface with the optimal matching and a corresponding playing format;
and converting and format matching the education live broadcast video source and a plurality of output interfaces based on the playing format.
As an embodiment of the present technical solution, the playing of the education live broadcast video played by the education live broadcast video source successfully matched includes:
acquiring an audio signal and an image signal of a live education video played by a successfully-matched live education video source through a preset embedded device; wherein,
the device at least comprises a camera, a microphone, a video analog-to-digital converter, an audio analog-to-digital converter, a Digital Signal Processor (DSP) and a programmable gate array (FPGA) through an embedded device;
and based on a preset ffmpeg process program, compressing and packaging the audio signal and the image signal to determine the education live broadcast video.
As an embodiment of the present technical solution, the receiving a command from a control terminal based on an ffmpeg process, and extracting an effective image file from the plurality of education live videos through the command includes:
receiving a command of a control terminal;
transmitting the command to an ffmpeg process, collecting effective information positioning from the plurality of education live broadcast videos, and determining positioning information; wherein,
the positioning information at least comprises positioning time and a positioning area;
frame taking is carried out on the plurality of education live videos through the positioning information, and a frame image is determined;
and extracting effective information and effective areas of the frame image and determining an effective image file.
The method is used as an embodiment of the technical scheme and used for collecting a plurality of education live broadcast video sources based on a preset ffmpeg process program;
the video format conversion module is used for converting and format-matching the education live video source and the plurality of output interfaces and playing the education live video played by the education live video source which is successfully matched;
the video capture module is used for receiving a command of a control terminal based on the ffmpeg process and extracting effective image files from the plurality of education live videos through the command;
and the video watermarking module is used for transmitting the effective image file back to the video acquisition module and watermarking.
As an embodiment of the present technical solution, the video format conversion module includes:
the interface format information unit is used for acquiring and matching the video source format information and the interface format information of the output interface format based on a preset ffmpeg process program;
the signal acquisition unit is used for acquiring audio signals and image signals of the education live broadcast videos broadcast by the education live broadcast video sources which are successfully matched through a preset embedded device; wherein,
the embedded device at least comprises a camera, a microphone, a video analog-to-digital converter and an audio analog-to-digital converter
The device comprises a converter, a Digital Signal Processor (DSP) and a programmable gate array (FPGA);
and the education live broadcast video unit is used for compressing and packaging the audio signal and the image signal based on a preset ffmpeg process program to determine an education live broadcast video.
As an embodiment of the present technical solution, the interface format information unit includes:
the interface format information unit is used for acquiring interface format information of an output interface format based on a preset ffmpeg process program;
the video source format information unit is used for acquiring and analyzing the education live broadcast video source and acquiring video source format information;
the request command unit is used for generating a request command through the interface format information and the video source format information;
the player type unit is used for sending the request command to a server for analysis and acquiring an output interface format type;
the playing format unit is used for matching the video source format information with the output interface format type and determining the optimal output interface format and the corresponding playing format;
and the matching unit is used for converting and matching the formats of the education live broadcast video source and the plurality of output interfaces based on the playing format.
As an embodiment of the present technical solution, the video capture module includes:
a command receiving unit for receiving a command of a control terminal;
the positioning information unit is used for transmitting the command to the ffmpeg process, collecting effective information positioning from the plurality of education live broadcast videos and determining positioning information; wherein,
the positioning information at least comprises positioning time and a positioning area;
the frame image unit is used for taking frames from the plurality of education live broadcast videos through the positioning information and determining frame images;
and the effective image file unit is used for extracting effective information and an effective area of the frame image and determining an effective image file.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a diagram of a system for live education based on ffmpeg according to an embodiment of the present invention;
fig. 2 is a flowchart of a direct education broadcasting method based on ffmpeg according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it should be understood that they are presented herein only to illustrate and explain the present invention and not to limit the present invention.
It will be understood that when an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or be indirectly connected to the other element. When an element is referred to as being "connected to" another element, it can be directly or indirectly connected to the other element.
It will be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like, as used herein, refer to an orientation or positional relationship indicated in the drawings that is solely for the purpose of facilitating the description and simplifying the description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and is therefore not to be construed as limiting the invention.
Moreover, it is noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions, and "a plurality" means two or more unless specifically limited otherwise. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Example 1:
the embodiment of the invention provides an ffmpeg-based education live broadcast method, which comprises the following steps:
acquiring a plurality of education live broadcast video sources based on a preset ffmpeg process program;
converting and matching the formats of the education live broadcast video source and the output interfaces, and playing the education live broadcast video played by the education live broadcast video source successfully matched with the formats;
receiving a command of a control terminal based on the ffmpeg process, and extracting effective image files from the plurality of education live broadcast videos through the command;
and transmitting the effective image file back to a video acquisition module and printing a watermark.
The working principle and the beneficial effects of the technical scheme are as follows:
the embodiment of the invention provides an ffmpeg-based education live broadcast method, which comprises the following steps: acquiring a plurality of education live broadcast video sources based on a preset ffmpeg process program; converting and matching formats of the education live broadcast video source and the plurality of output interfaces, and playing the education live broadcast video played by the education live broadcast video source successfully matched; receiving a command of a control terminal based on the ffmpeg process, and extracting effective image files from the plurality of education live broadcast videos through the command; and transmitting the effective image file back to a video acquisition module and printing a watermark.
Example 2:
in one embodiment, said converting and format matching said educational live video source and a plurality of output interfaces comprises:
acquiring interface format information of an output interface format based on a preset ffmpeg process program;
acquiring and analyzing the education live broadcast video source, and acquiring video source format information;
generating a request command through the interface format information and the video source format information;
sending the request command to a server for analysis, and acquiring an output interface format type;
matching the video source format information with the output interface format type, and determining an output interface with the optimal matching and a corresponding playing format;
and converting and format matching the formats of the education live broadcast video source and the plurality of output interfaces based on the playing format.
The working principle and the beneficial effects of the technical scheme are as follows:
the technical scheme converts and matches the formats of the education live broadcast video source and the output interfaces, and comprises the following steps: acquiring interface format information of an output interface format based on a preset ffmpeg process program; acquiring and analyzing the education live broadcast video source, and acquiring video source format information; generating a request command through the interface format information and the video source format information; sending the request command to a server for analysis, and acquiring an output interface format type; matching the video source format information with the output interface format type, and determining an output interface with the optimal matching and a corresponding playing format; and converting and format matching the education live broadcast video source and a plurality of output interfaces based on the playing format.
Example 3:
in one embodiment, the playing of the education live video matching the education live video played by the successful education live video source comprises:
acquiring an audio signal and an image signal of an education live video played by an education live video source which is successfully matched through a preset embedded device; wherein,
the device at least comprises a camera, a microphone, a video analog-to-digital converter, an audio analog-to-digital converter, a Digital Signal Processor (DSP) and a programmable gate array (FPGA) through an embedded device;
and based on a preset ffmpeg process program, compressing and packaging the audio signal and the image signal to determine the education live broadcast video.
The working principle and the beneficial effects of the technical scheme are as follows:
according to the technical scheme, through playing the education live broadcast video played by the successfully matched education live broadcast video source, the audio signal and the image signal of the education live broadcast video played by the successfully matched education live broadcast video source are obtained through the preset embedded device; the device at least comprises a camera, a microphone, a video analog-to-digital converter, an audio analog-to-digital converter, a Digital Signal Processor (DSP) and a programmable gate array (FPGA) through an embedded device; and based on a preset ffmpeg process program, compressing and packaging the audio signal and the image signal to determine the education live broadcast video.
Example 4:
in one embodiment, the receiving a command of a control terminal based on the ffmpeg process, and extracting an effective image file from the plurality of education live videos through the command comprises the following steps:
receiving a command of a control terminal;
transmitting the command to an ffmpeg process, collecting effective information positioning from the plurality of education live broadcast videos, and determining positioning information; wherein,
the positioning information at least comprises positioning time and a positioning area;
frame taking is carried out on the plurality of education live videos through the positioning information, and a frame image is determined;
and extracting effective information and effective areas of the frame image and determining an effective image file.
The working principle and the beneficial effects of the technical scheme are as follows:
the technical scheme is based on the ffmpeg process, receives a command of a control terminal, extracts effective image files from a plurality of education live broadcast videos through the command, and comprises the following steps: receiving a command of a control terminal; transmitting the command to an ffmpeg process, collecting effective information positioning from the plurality of education live broadcast videos, and determining positioning information; wherein the positioning information at least comprises positioning time and a positioning area; obtaining frames from the plurality of education live broadcast videos through the positioning information, and determining frame images; and extracting effective information and effective areas of the frame image and determining an effective image file.
Example 5:
in one embodiment, the method comprises the following steps:
the video acquisition module is used for acquiring a plurality of education live broadcast video sources based on a preset ffmpeg process program;
the video format conversion module is used for converting and format-matching the education live video source and the plurality of output interfaces and playing the education live video played by the education live video source which is successfully matched;
the video capture module is used for receiving a command of a control terminal based on the ffmpeg process and extracting effective image files from the plurality of education live videos through the command;
and the video watermarking module is used for transmitting the effective image file back to the video acquisition module and watermarking.
The working principle and the beneficial effects of the technical scheme are as follows:
the video acquisition module of the technical scheme is used for acquiring a plurality of education live broadcast video sources based on a preset ffmpeg process program; the video format conversion module is used for converting and format-matching the education live video source and the plurality of output interfaces and playing the education live video played by the education live video source which is successfully matched; the video capture module is used for receiving a command of a control terminal based on the ffmpeg process and extracting effective image files from the plurality of education live videos through the command; and the video watermarking module is used for transmitting the effective image file back to the video acquisition module and watermarking.
Example 6:
in one embodiment, the video format conversion module includes:
the interface format information unit is used for acquiring and matching the video source format information and the interface format information of the output interface format based on a preset ffmpeg process program;
the signal acquisition unit is used for acquiring audio signals and image signals of the education live broadcast videos broadcast by the education live broadcast video sources which are successfully matched through a preset embedded device; wherein,
the embedded device at least comprises a camera, a microphone, a video analog-to-digital converter, an audio analog-to-digital converter, a Digital Signal Processor (DSP) and a programmable gate array (FPGA);
and the education live broadcast video unit is used for compressing and packaging the audio signal and the image signal based on a preset ffmpeg process program to determine an education live broadcast video.
The working principle and the beneficial effects of the technical scheme are as follows:
the video format conversion module of the technical scheme comprises: the interface format information unit is used for acquiring and matching the video source format information and the interface format information of the output interface format based on a preset ffmpeg process program; the signal acquisition unit is used for acquiring audio signals and image signals of the education live broadcast video broadcast by the education live broadcast video source which is successfully matched through a preset embedded device; the embedded device at least comprises a camera, a microphone, a video analog-to-digital converter, an audio analog-to-digital converter, a Digital Signal Processor (DSP) and a programmable gate array (FPGA);
and the education live broadcast video unit is used for compressing and packaging the audio signal and the image signal based on a preset ffmpeg process program to determine an education live broadcast video.
Example 7:
in one embodiment, the interface format information unit includes:
the interface format information unit is used for acquiring interface format information of an output interface format based on a preset ffmpeg process program;
the video source format information unit is used for acquiring and analyzing the education live broadcast video source and acquiring video source format information;
the request command unit is used for generating a request command through the interface format information and the video source format information;
the player type unit is used for sending the request command to a server for analysis and acquiring an output interface format type;
the playing format unit is used for matching the video source format information with the output interface format type and determining the output interface format which is matched with the optimal format and the corresponding playing format;
and the matching unit is used for converting and matching the formats of the education live broadcast video source and the plurality of output interfaces based on the playing format.
The working principle and the beneficial effects of the technical scheme are as follows:
the interface format information unit of the technical scheme comprises: the interface format information unit is used for acquiring interface format information of an output interface format based on a preset ffmpeg process program; the video source format information unit is used for acquiring and analyzing the education live broadcast video source and acquiring video source format information; the request command unit is used for generating a request command through the interface format information and the video source format information; the player type unit is used for sending the request command to a server for analysis and acquiring an output interface format type; the playing format unit is used for matching the video source format information with the output interface format type, and determining the output interface format which is matched with the optimal format and the corresponding playing format; and the matching unit is used for converting and matching the formats of the education live broadcast video source and the plurality of output interfaces based on the playing format.
Example 8:
in one embodiment, the video capture module comprises:
a command receiving unit for receiving a command of a control terminal;
the positioning information unit is used for transmitting the command to the ffmpeg process, collecting effective information positioning from the plurality of education live broadcast videos and determining positioning information; wherein,
the positioning information at least comprises positioning time and a positioning area;
the frame image unit is used for taking frames from the plurality of education live broadcast videos through the positioning information and determining frame images;
and the effective image file unit is used for extracting effective information and an effective area of the frame image and determining an effective image file.
The working principle and the beneficial effects of the technical scheme are as follows:
the video capture module of the technical scheme comprises: the command receiving unit is used for receiving a command of the control terminal; the positioning information unit is used for transmitting the command to the ffmpeg process, collecting effective information positioning from the plurality of education live broadcast videos and determining positioning information; wherein the positioning information at least comprises positioning time and a positioning area; the frame image unit is used for taking frames from the plurality of education live broadcast videos through the positioning information and determining frame images; and the effective image file unit is used for extracting effective information and an effective area of the frame image and determining an effective image file.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (8)
1. An ffmpeg-based education live broadcast method is characterized by comprising the following steps:
acquiring a plurality of education live broadcast video sources based on a preset ffmpeg process program;
converting and matching the formats of the education live broadcast video source and the output interfaces, and playing the education live broadcast video played by the education live broadcast video source successfully matched with the formats;
receiving a command of a control terminal based on the ffmpeg process, and extracting effective image files from the plurality of education live broadcast videos through the command;
and transmitting the effective image file back to a video acquisition module and watermarking.
2. The FFmpeg-based education live broadcast method according to claim 1, wherein the converting and format matching the education live broadcast video source and the plurality of output interfaces comprises:
acquiring interface format information of an output interface format based on a preset ffmpeg process program;
acquiring and analyzing the education live broadcast video source, and acquiring video source format information;
generating a request command through the interface format information and the video source format information;
sending the request command to a server for analysis, and acquiring an output interface format type;
matching the video source format information with the output interface format type, and determining an output interface with the optimal matching and a corresponding playing format;
and converting and format matching the education live broadcast video source and a plurality of output interfaces based on the playing format.
3. The FFmpeg-based education live broadcast method according to claim 1, wherein the playing of the education live broadcast video matched with the successful education live broadcast video source comprises the following steps:
acquiring an audio signal and an image signal of an education live video played by an education live video source which is successfully matched through a preset embedded device; wherein,
the embedded device at least comprises a camera, a microphone, a video analog-to-digital converter, an audio analog-to-digital converter, a Digital Signal Processor (DSP) and a programmable gate array (FPGA);
and based on a preset ffmpeg process program, compressing and packaging the audio signal and the image signal to determine the education live broadcast video.
4. The FFmpeg-based education live broadcast method according to claim 1, wherein the FFmpeg process receives a command of a control terminal, and the command is used for extracting effective image files from the plurality of education live broadcast videos, and the method comprises the following steps:
receiving a command of a control terminal;
transmitting the command to an ffmpeg process, collecting effective information positioning from the plurality of education live broadcast videos, and determining positioning information; wherein,
the positioning information at least comprises positioning time and a positioning area;
obtaining frames from the plurality of education live broadcast videos through the positioning information, and determining frame images;
and extracting effective information and effective areas of the frame image and determining an effective image file.
5. An ffmpeg-based educational direct broadcasting system, comprising: the video acquisition module is used for acquiring a plurality of education live broadcast video sources based on a preset ffmpeg process program;
the video format conversion module is used for converting and format-matching the education live video source and the plurality of output interfaces and playing the education live video played by the education live video source which is successfully matched;
the video capture module is used for receiving a command of a control terminal based on the ffmpeg process and extracting effective image files from the plurality of education live videos through the command;
and the video watermarking module is used for transmitting the effective image file back to the video acquisition module and watermarking.
6. The FFmpeg-based education live broadcast system according to claim 5, wherein the video format conversion module comprises:
the interface format information unit is used for acquiring and matching the video source format information and the interface format information of the output interface format based on a preset ffmpeg process program;
the signal acquisition unit is used for acquiring audio signals and image signals of the education live broadcast videos broadcast by the education live broadcast video sources which are successfully matched through a preset embedded device; wherein,
the embedded device at least comprises a camera, a microphone, a video analog-to-digital converter, an audio analog-to-digital converter, a Digital Signal Processor (DSP) and a programmable gate array (FPGA);
and the education live broadcast video unit is used for compressing and packaging the audio signal and the image signal based on a preset ffmpeg process program to determine an education live broadcast video.
7. The FFmpeg-based education living broadcast system according to claim 6, wherein the interface format information unit includes:
the interface format information unit is used for acquiring interface format information of an output interface format based on a preset ffmpeg process program;
the video source format information unit is used for acquiring and analyzing the education live broadcast video source and acquiring video source format information;
the request command unit is used for generating a request command through the interface format information and the video source format information;
the player type unit is used for sending the request command to a server for analysis and acquiring an output interface format type;
the playing format unit is used for matching the video source format information with the output interface format type and determining the output interface format which is matched with the optimal format and the corresponding playing format;
and the matching unit is used for converting and matching the formats of the education live broadcast video source and the plurality of output interfaces based on the playing format.
8. The FFmpeg-based education live broadcast method according to claim 5, wherein the video capture module comprises:
a command receiving unit for receiving a command of a control terminal;
the positioning information unit is used for transmitting the command to the ffmpeg process, collecting effective information positioning from the plurality of education live broadcast videos and determining positioning information; wherein,
the positioning information at least comprises positioning time and a positioning area;
the frame image unit is used for taking frames from the plurality of education live videos through the positioning information and determining frame images;
and the effective image file unit is used for extracting effective information and an effective area of the frame image and determining an effective image file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210951854.2A CN115514982A (en) | 2022-08-09 | 2022-08-09 | FFmpeg-based education live broadcast method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210951854.2A CN115514982A (en) | 2022-08-09 | 2022-08-09 | FFmpeg-based education live broadcast method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115514982A true CN115514982A (en) | 2022-12-23 |
Family
ID=84501114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210951854.2A Pending CN115514982A (en) | 2022-08-09 | 2022-08-09 | FFmpeg-based education live broadcast method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115514982A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116886955A (en) * | 2023-07-24 | 2023-10-13 | 北京泰策科技有限公司 | Video analysis method and system based on ffmpeg and yolov5 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1949839A (en) * | 2005-10-11 | 2007-04-18 | 美国博通公司 | Video processing system, set-top box and method for treating audio/video information |
US20080284905A1 (en) * | 2007-05-17 | 2008-11-20 | Inventec Multimedia & Telecom Corporation | Schedulable multiple-formal video converting apparatus |
CN104284141A (en) * | 2013-07-08 | 2015-01-14 | 株式会社日立制作所 | Video monitoring system |
CN111654674A (en) * | 2020-06-04 | 2020-09-11 | 上海鸢安智能科技有限公司 | Method, software system and terminal for processing multiple video sources in parallel based on single ffmpeg process |
-
2022
- 2022-08-09 CN CN202210951854.2A patent/CN115514982A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1949839A (en) * | 2005-10-11 | 2007-04-18 | 美国博通公司 | Video processing system, set-top box and method for treating audio/video information |
US20080284905A1 (en) * | 2007-05-17 | 2008-11-20 | Inventec Multimedia & Telecom Corporation | Schedulable multiple-formal video converting apparatus |
CN104284141A (en) * | 2013-07-08 | 2015-01-14 | 株式会社日立制作所 | Video monitoring system |
CN111654674A (en) * | 2020-06-04 | 2020-09-11 | 上海鸢安智能科技有限公司 | Method, software system and terminal for processing multiple video sources in parallel based on single ffmpeg process |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116886955A (en) * | 2023-07-24 | 2023-10-13 | 北京泰策科技有限公司 | Video analysis method and system based on ffmpeg and yolov5 |
CN116886955B (en) * | 2023-07-24 | 2024-04-16 | 北京泰策科技有限公司 | Video analysis method and system based on ffmpeg and yolov5 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6984596B2 (en) | Audiovisual processing equipment and methods, as well as programs | |
CN102906818B (en) | Method and the system of display corresponding to the frame of video of video frequency abstract of store video summary | |
CN100539667C (en) | Image picking-up apparatus, method for recording captured image data and captured image data processing apparatus and method | |
CN104301596B (en) | A kind of method for processing video frequency and device | |
US20090097818A1 (en) | Contents Playing Method and Apparatus With Play Starting Position Control | |
CN110691204B (en) | Audio and video processing method and device, electronic equipment and storage medium | |
US8020188B2 (en) | Frame specifying method | |
JP6216169B2 (en) | Information processing apparatus and information processing method | |
CN111656275B (en) | Method and device for determining image focusing area | |
KR20160119218A (en) | Sound image playing method and device | |
CN108965746A (en) | Image synthesizing method and system | |
CN115514982A (en) | FFmpeg-based education live broadcast method and system | |
US12069405B2 (en) | Video surveillance system | |
US8139124B2 (en) | Erroneous erasure determination apparatus, method and computer program product, and image file generation apparatus | |
CN105814905A (en) | Method and system for synchronizing usage information between device and server | |
CN107734212A (en) | A kind of automatic recorded broadcast director system | |
CN101939988A (en) | A broadcasting system, a transmission apparatus and a transmission method, a reception apparatus and a reception method as well as a program | |
JPH11153977A (en) | Advertisement effect confirming system | |
WO2018205991A1 (en) | Method, apparatus and system for video condensation | |
CN117319765A (en) | Video processing method, device, computing equipment and computer storage medium | |
CN102428701A (en) | Method of capturing digital images and image capturing apparatus | |
JP2018006826A (en) | Audio signal processing device and audio signal processing method | |
CN115499677A (en) | Audio and video synchronization detection method and device based on live broadcast | |
JP6099511B2 (en) | Document creation device | |
JP4256250B2 (en) | DATA RECORDING SYSTEM, DATA RECORDING DEVICE, DATA TRANSMITTING DEVICE, DATA RECORDING METHOD, RECORDING PROGRAM, AND RECORDING MEDIUM RECORDING THE SAME |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221223 |