CN109889895A - Video broadcasting method, device, storage medium and electronic device - Google Patents
Video broadcasting method, device, storage medium and electronic device Download PDFInfo
- Publication number
- CN109889895A CN109889895A CN201910190442.XA CN201910190442A CN109889895A CN 109889895 A CN109889895 A CN 109889895A CN 201910190442 A CN201910190442 A CN 201910190442A CN 109889895 A CN109889895 A CN 109889895A
- Authority
- CN
- China
- Prior art keywords
- display area
- target
- video
- resolution ratio
- gop sequence
- 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
Abstract
The invention discloses a kind of video broadcasting method, device, storage medium and electronic devices.Wherein, this method comprises: determining destination display area in multiple display areas of display equipment, wherein multiple display areas are corresponding with multi-channel video channel, and each display area is for showing video data all the way;According to the resolution ratio of the destination display area, the resolution ratio of the video frame picture to be shown in the initial picture group GOP sequence of the target road video data in the destination display area is lowered, target GOP sequence is obtained;The target GOP sequence is subjected to Reverse Play in the destination display area.The present invention solves video broadcasting method in the related technology due to memory consumption excessive caused the technical issues of reducing equipment runnability.
Description
Technical field
The present invention relates to computer fields, in particular to a kind of video broadcasting method, device, storage medium and electricity
Sub-device.
Background technique
In monitoring device, for example, NVR (Network Video Recorder, network hard disk video recorder) and DVR
(Digital Video Recorder, hard disk video recorder), on put that show be by the real-time Reverse Play of video pictures upside down in real time.
The scheme that following two is put upside down in real time is provided in the related technology.For scheme one, in video code flow, there are GOP
(Group of Pictures, picture group) sequence, will realize and put upside down in real time, need sequence that GOP sequential decoding is come out, and will
Decoded original YUV (" Y " indicates brightness, " U " and " V " expression coloration, concentration) picture is saved, and when picture playing carries out
Reverse Play.The determination of scheme one saves original YUV picture, needs to consume huge memory, code stream resolution ratio is bigger, number
More consumings are then bigger.For scheme two, in video code flow, there are GOP sequences, to realize and put upside down in real time, need sequence GOP
Sequential decoding comes out, and carries out decoded original YUV picture to be encoded into I frame or JPEG picture saves, picture playing
When carry out single frames decoding and Reverse Play.The program can reduce much compared to scheme one, the memory of consumption, but will save
YUV picture encoded, be finally decoded again before display, seriously reduce image quality.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
A kind of video broadcasting method, device, storage medium and electronic device are provided in the embodiment of the present invention, at least to solve
Certainly video broadcasting method in the related technology is due to memory consumption excessive caused the technical issues of reducing equipment runnability.
According to an aspect of an embodiment of the present invention, a kind of video broadcasting method is provided, comprising: in the more of display equipment
Destination display area is determined in a display area, wherein multiple display areas are corresponding with multi-channel video channel, each described
Display area is for showing video data all the way;According to the resolution ratio of the destination display area, lower to be shown in the mesh
The resolution ratio for marking the video frame picture in the initial picture group GOP sequence of the target road video data in display area, obtains mesh
Mark GOP sequence;The target GOP sequence is subjected to Reverse Play in the destination display area.
Optionally, it according to the resolution ratio of the destination display area, lowers to be shown in the destination display area
The resolution ratio of the video frame picture in the initial GOP sequence of target road video data, obtains the target GOP
Sequence includes: that the resolution ratio of the video frame picture in the initial GOP sequence is successively adjusted to mesh by initial resolution
Resolution ratio is marked, the target GOP sequence is obtained, wherein the target resolution is greater than or equal to the destination display area
Resolution ratio is less than the initial resolution.
Optionally, it in the resolution ratio according to the destination display area, lowers to be shown in the destination display area
Target road video data the initial GOP sequence in the video frame picture resolution ratio, obtain the target
After GOP sequence, the method also includes: the target GOP sequence is stored in the display caching area of the display equipment.
Optionally, before determining the destination display area in multiple display areas of the display equipment, institute
State method further include: the region to be shown of target number is selected from multiple display areas, wherein the area to be shown
Domain is for display of putting upside down video data corresponding with the region to be shown, described in the region to be shown of target number includes
Destination display area.
Optionally, after determining the destination display area in multiple display areas of the display equipment, institute
State method further include: determine the area size of the destination display area;According to the area size and the display equipment
Screen display precision determines the resolution ratio of the destination display area.
According to another aspect of an embodiment of the present invention, a kind of video play device is additionally provided, comprising: first determines list
Member, for determining destination display area in multiple display areas of display equipment, wherein multiple display areas and multichannel
Video channel is corresponding, and each display area is for showing video data all the way;Adjustment unit, for aobvious according to the target
Show the resolution ratio in region, lowers the initial picture group GOP of the target road video data to be shown in the destination display area
The resolution ratio of video frame picture in sequence obtains target GOP sequence;Broadcast unit, in the destination display area
The target GOP sequence is subjected to Reverse Play.
Optionally, the adjustment unit includes: adjustment module, for successively by the view in the initial GOP sequence
The resolution ratio of frequency frame picture is adjusted to target resolution by initial resolution, obtains the target GOP sequence, wherein the mesh
The resolution ratio that resolution ratio is greater than or equal to the destination display area is marked, the initial resolution is less than.
Optionally, described device further include: storage unit, in the resolution ratio according to the destination display area, under
Adjust the video in the initial GOP sequence of the target road video data to be shown in the destination display area
The target GOP sequence after obtaining the target GOP sequence, is stored in the display equipment by the resolution ratio of frame picture
In display caching area.
Optionally, described device further include: selection unit, for true in multiple display areas of the display equipment
Before the fixed destination display area, the region to be shown of target number is selected from multiple display areas, wherein institute
Region to be shown is stated for display of putting upside down video data corresponding with the region to be shown, the area to be shown of target number
Domain includes the destination display area.
Optionally, described device further include: the second determination unit, in multiple viewing areas of the display equipment
After determining the destination display area in domain, the area size of the destination display area is determined;Third determination unit, is used for
According to the screen display precision of the area size and the display equipment, the resolution ratio of the destination display area is determined.
Another aspect according to an embodiment of the present invention, additionally provides a kind of storage medium, and above-mentioned storage medium is stored with meter
Calculation machine program, above-mentioned computer program are arranged to execute above-mentioned method when operation.
According to another aspect of an embodiment of the present invention, a kind of electronic device, including memory, processor are additionally provided, on
It states and is stored with computer program in memory, it is above-mentioned to be arranged to execute above-mentioned method by the computer program.
In embodiments of the present invention, by the way of the resolution ratio for lowering video frame picture according to the size of display window,
By determining destination display area in multiple display areas of display equipment, wherein multiple display areas and multi-channel video are logical
Road is corresponding, and each display area is for showing video data all the way;According to the resolution ratio of destination display area, lower it is to be shown
The resolution ratio of video frame picture in the initial GOP sequence of target road video data in destination display area, obtains target GOP
Sequence;Target GOP sequence is subjected to Reverse Play in destination display area, has reached the consumption for reducing video play-reverse to memory
Purpose and then solve video playing side in the related technology to realize the technical effect for improving equipment runnability
Method is due to memory consumption excessive caused the technical issues of reducing equipment runnability.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of the monitoring device of video broadcasting method of the embodiment of the present invention;
Fig. 2 is a kind of flow chart of optional video broadcasting method according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of optional monitoring device according to an embodiment of the present invention;
Fig. 4 is the flow chart of another optional video broadcasting method according to an embodiment of the present invention;
Fig. 5 is a kind of structural block diagram of optional video play device according to an embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment 1
Embodiment of the method provided in the present embodiment can be filled in monitoring device, terminal or similar operation
Set middle execution.For operating in monitoring device, Fig. 1 is a kind of monitoring device of video broadcasting method of the embodiment of the present invention
Hardware block diagram.As shown in Figure 1, monitoring device 10 may include one or more (only showing one in Fig. 1) processors
102 (processing units that processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc.) and use
In the memory 104 of storing data, optionally, above-mentioned monitoring device can also include the transmission device 106 for communication function
And input-output equipment 108.It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, it is not right
The structure of above-mentioned monitoring device causes to limit.For example, monitoring device 10 may also include than shown in Fig. 1 more or less groups
Part, or with the configuration different from shown in Fig. 1.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair
The corresponding computer program of video broadcasting method in bright embodiment, processor 102 are stored in memory 104 by operation
Computer program realizes above-mentioned method thereby executing various function application and data processing.Memory 104 may include
High speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or its
His non-volatile solid state memory.In some instances, memory 104 can further comprise remotely setting relative to processor 102
The memory set, these remote memories can pass through network connection to monitoring device 10.The example of above-mentioned network includes but not
It is limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of monitoring device 10 provide.In an example, transmitting device 106 includes a NIC
(Network Interface Controller, network adapter), can be connected by base station with other network equipments to
It can be communicated with internet.In an example, transmitting device 106 can be RF (Radio Frequency, radio frequency) mould
Block is used to wirelessly be communicated with internet.
A kind of video broadcasting method for running on above-mentioned monitoring device is provided in the present embodiment, and Fig. 2 is according to this hair
The flow chart of a kind of optional video broadcasting method of bright embodiment, as shown in Fig. 2, the process includes the following steps:
Step S202 determines destination display area, wherein multiple display areas in multiple display areas of display equipment
Corresponding with multi-channel video channel, each display area is for showing video data all the way;
Step S204 lowers the target road to be shown in destination display area according to the resolution ratio of destination display area
The resolution ratio of video frame picture in the initial GOP sequence of video data, obtains target GOP sequence;
Target GOP sequence is carried out Reverse Play in destination display area by step S206.
Through the above steps, destination display area is determined in multiple display areas of display equipment, wherein multiple displays
Region is corresponding with multi-channel video channel, and each display area is for showing video data all the way;According to point of destination display area
Resolution lowers the video frame picture in the initial GOP sequence of the target road video data to be shown in destination display area
Resolution ratio obtains target GOP sequence;Target GOP sequence is subjected to Reverse Play in destination display area, solves related skill
Video broadcasting method in art improves equipment due to memory consumption excessive caused the technical issues of reducing equipment runnability
Runnability.
Optionally, the executing subject of above-mentioned steps can for monitoring device, display equipment comprising multiple display areas etc.,
But not limited to this.
Optionally, in step S202, display equipment determines target viewing area in multiple display areas of display equipment
Domain, wherein multiple display areas are corresponding with multi-channel video channel, and each display area is for showing video data all the way.
Above-mentioned display equipment can be monitoring device, and monitoring device includes multiple display areas, and each display area is corresponding
In video channel all the way, for showing video data all the way.The corresponding relationship of video channel and display area can be one-to-one
Relationship, be also possible to a pair of multiple relationships (for example, main display area is for showing complete video data, secondary display area
Domain is for showing that the corresponding video data of the regional area of the main display area, regional area can according to the user's choice really
It is fixed, can also be determined according to preparatory configuration).
Monitoring device can be connected by network with multiple monitoring parts (for example, camera, infrared photography head etc.), each
Monitoring part corresponds to data channel all the way, which is that the monitoring part is logical by the video
The real-time monitoring data that road is sent.
The mode of monitoring device playing video data can be normal play, be also possible to Reverse Play.Inverted order is broadcast
The scene put, the video data that monitoring device can choose all road video channels are put upside down, can also will be from all roads
The video data in the partial video channel selected in video channel is put upside down, and the video data of other road video channels is normal
It plays.
For example, monitoring device has 8 tunnel video channels, 8 road video datas, the administrator of monitoring device can be played in real time
The video data that member can choose all 8 tunnels video channel is put upside down, the part that can also be selected from 8 tunnel video channels
The video data of (for example, 3 tunnel video channels) is put upside down.
Select the mode of one or more video channel may is that receive other equipment is sent to monitoring device match confidence
Breath reads the configuration information in the configuration file of monitoring device, and it is logical that configuration information is used to configure one or more video put upside down
Road (alternatively, one or more display areas), is also possible to: the interface UI by showing equipment is grasped according to the selection detected
Make, determines one or more video channel (alternatively, one or more display areas).Based on video channel and display area
Corresponding relationship, choosing one or more display areas may be considered one or more video channel of selection.For video channel
Relationship with display area is one-to-many relationship, and a display area corresponding with video channel is selected to may be considered selection
Whole display area corresponding with video channel.
It optionally, can be from multiple displays before determining destination display area in multiple display areas of display equipment
The region to be shown of target number is selected in region, wherein region to be shown is corresponding with region to be shown for display of putting upside down
Video data, the region to be shown of target number includes destination display area.
Above-mentioned technical proposal through the embodiment of the present invention, by the use for selecting target number from multiple display areas
In the display area for showing video data of putting upside down, the diversity of video data broadcasting can be increased, meet different scene demands,
Improve user experience.
After receiving the video data that monitoring part is sent by data channel all the way, monitoring device can be by the view
Frequency evidence plays out in display area corresponding with the road video channel according to scheduled broadcast mode.
The scene for corresponding to a display area for video channel all the way, receives all the way by video channel all the way
After video data (video code flow), destination display area corresponding with the road video channel is determined.
Determining mode can include but is not limited at least one of: according to the port and viewing area for receiving video data
The corresponding relationship in domain, according to the corresponding relationship of the gap marker of video channel and display area, according to the suitable of reception video data
Sequence and the corresponding relationship of display area etc., specific method of determination, which can according to need, to be determined, and the present embodiment does not make this
It is specific to limit.
Step S204 lowers the target road to be shown in destination display area according to the resolution ratio of destination display area
The resolution ratio of video frame picture in the initial picture group GOP sequence of video data, obtains target GOP sequence.
After receiving video data, which can normally be decoded, obtain video frame picture (example
Such as, YUV picture).For the video frame picture decoded, which can be lowered according to the resolution ratio of destination display area
The resolution ratio of picture, the video frame picture after being lowered.
Before the resolution ratio for lowering video frame picture, the resolution ratio of destination display area can be determined.Target viewing area
The resolution ratio in domain can determine that (configuration information can be stored in the configuration file that display equipment pre-saves according to configuration information
In), configuration information can be the resolution ratio of destination display area, be also possible to the area size and display equipment of target area
Screen display precision (can be the number of pixels of unit length, for example, Pixels per inch, ppi, per inch are possessed
Number of pixels).
Optionally, after determining destination display area in multiple display areas of display equipment, it can determine that target is aobvious
Show the area size in region;According to the screen display precision of area size and display equipment, point of destination display area is determined
Resolution.
By the above-mentioned technical proposal of the embodiment of the present application, shown according to the area size of destination display area and screen
Precision determines the resolution ratio of destination display area, can accurately determine the display precision of destination display area, and can be with
The scene variable suitable for the area size of destination display area, improves the applicability of video playing.
Putting upside down for video frame picture can be as unit of a GOP sequence, can be by being lowered in initial GOP sequence respectively
Video frame picture resolution ratio, obtain target GOP sequence.
Optionally, according to the resolution ratio of destination display area, the target road view to be shown in destination display area is lowered
The resolution ratio of video frame picture in the initial GOP sequence of frequency evidence, obtain target GOP sequence may include: successively will be initial
The resolution ratio of video frame picture in GOP sequence is adjusted to target resolution by initial resolution, obtains target GOP sequence,
In, target resolution is greater than or equal to the resolution ratio of destination display area, is less than initial resolution.
By the above-mentioned technical proposal of the embodiment of the present application, will be adjusted under the resolution ratio of video frame picture more than or equal to mesh
The resolution ratio of display area is marked, initial resolution is less than, it is ensured that while reducing video frame picture to EMS memory occupation, no
It will affect the image quality of video playing.
Video frame picture after downward can save in memory, after obtaining target GOP sequence, by target GOP sequence
Column copy in display Buffer.
Optionally, in the resolution ratio according to destination display area, the target road to be shown in destination display area is lowered
The resolution ratio of video frame picture in the initial GOP sequence of video data can be by target GOP after obtaining target GOP sequence
Sequence is stored in the display caching area of display equipment.
Target GOP sequence being stored in the display caching area of display equipment can refer to: in initial GOP sequence
Video frame picture after downward is saved directly to show by each video frame picture after the resolution ratio for lowering the video frame picture
Show in buffer area, rather than behind be first saved in memory a region, then copy in display caching area.
By the above-mentioned technical proposal of the embodiment of the present application, by the way that target GOP sequence is stored directly in display equipment
In display caching area, reduce the copy function of video data, vision operation improves video playing to the occupancy of system resource
Efficiency.
It should be noted that corresponding to the scene of multiple display areas for video channel all the way, in multiple display areas
Each display area show that the mode of video data corresponds to the display mode class of a display area with video channel all the way
Seemingly, this will not be repeated here.
Above-mentioned video broadcasting method is illustrated below with reference to alternative embodiment.As shown in figure 3, monitoring device is (that is, aobvious
Show equipment) it include multiple display areas.
For the video play-reverse scheme one provided in the related technology, during putting upside down in real time, the picture of preservation is YUV
Picture, YUV are uncompressed original graphs, and the GOP sequence of one group of real-time code stream reaches 60 frame of 50 frames or frame, as 1080P is differentiated
Rate, the size of 1 frame reaches 3MB, thus every 1 tunnel video channel will consume the memory of 150MB or 180MB, if at monitoring device
Putting upside down in real time for 8 tunnel video channels is managed, the memory of 1GB will be consumed.And the YUV picture that will be saved is needed to scale before display
And copy in display Buffer (buffer area), there is a copy procedures.For the video play-reverse provided in the related technology
Scheme two encodes decoded original graph, and the picture of preservation is the picture after coding, and the memory of consuming is smaller, but
It is to need first to be decoded the picture after coding, the more than once coding and decoding of whole process in display, it will serious drop
Low image quality.It zooms in and out, needs to copy in the picture of scaling on display Buffer after I frame is saved before display,
There is also primary copies.
As shown in figure 4, the video broadcasting method provided in alternative embodiment of the present invention the following steps are included:
Step S402, decoding channels.
For video channel all the way, after the decoder module of monitoring device receives the video code flow of the road video channel, carry out
Normal decoding.
Step S404 obtains the corresponding window area size of the video channel.
Step S406 is scaled by the resolution ratio of each channel display window.
Step S408 caches one group of GOP sequence.
For the YUV picture (video frame picture) decoded, zooms to and window size, target memory use display
Buffer is directly zoomed on display Buffer, and saves and (save one group of GOP sequence) display Buffer.
Step S410, (inverted order) display.
When playing, it will show that the GOP sequence saved in Buffer carries out Reverse Play.
Compared with the video play-reverse scheme provided in the related technology, the target memory after scaling, can using display Buffer
To reduce by a data copy.Picture after each channel-decoded carries out the size for once zooming to same window area, Bu Huiying
Ring image quality.The memory of caching is display Buffer size, is put upside down in a screen, what all window sizes added up
The size of one frame picture is without departing from entire screen size, therefore display screen can show how many road, and putting upside down in real time, it is more to can be achieved with
Few road, and memory consumption is fixed, and total memory consumption does not exceed: the size * GOP frame number of screen resolution.
Compared with the video play-reverse scheme one provided in the related technology, what video play-reverse scheme one saved is decoded original
Beginning YUV will consume huge memory in this way, and channel number is more, and the memory of consumption is bigger.And alternative embodiment of the present invention
Video playing scheme caching is display Buffer memory, and the memory size of the consumption of putting upside down in real time of any number is consistent, and subtracts
Primary copy is lacked.
Compared with the video play-reverse scheme two provided in the related technology, the video playing scheme of alternative embodiment of the present invention is slow
The display Buffer memory deposited, each channel, by image scaling to display Buffer, will not influence in this way by primary scaling
Image quality when display.If saving I frame data, then before display using the video play-reverse scheme two provided in the related technology
It also needs to decode, and zooms in and out again, image quality, and more than once copy will be will affect in display.
The above-mentioned technical proposal of alternative embodiment through the invention, put upside down in real time caching display Buffer picture (preservation
Yuv data is display Buffer), the memory maximum memory of consumption is screen resolution * GOP sequence frame per second, and each channel is
Data after scaling are stored in display Buffer, can be realized falling in real time for any number in the case where memory is fixed
It puts and does not influence image quality (only by primary scaling after each channel-decoded), while reducing primary copy before display.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
A kind of video-unit is additionally provided in the present embodiment, and the device is for realizing above-described embodiment and preferred implementation side
Formula, the descriptions that have already been made will not be repeated.As used below, the software of predetermined function may be implemented in term " module "
And/or the combination of hardware.Although device described in following embodiment is preferably realized with software, hardware or soft
The realization of the combination of part and hardware is also that may and be contemplated.
Fig. 5 is a kind of structural block diagram of optional video play device according to an embodiment of the present invention, as shown in figure 5, should
Device includes:
First determination unit 502, is connected with adjustment unit 504, for determining in multiple display areas of display equipment
Destination display area, wherein multiple display areas are corresponding with multi-channel video channel, and each display area is for showing video all the way
Data;
Adjustment unit 504 is connected, for according to destination display area with the first determination unit 502 and broadcast unit 506
Resolution ratio lowers the video in the initial picture group GOP sequence of the target road video data to be shown in destination display area
The resolution ratio of frame picture obtains target GOP sequence;
Broadcast unit 506 is connected with adjustment unit 504, for falling target GOP sequence in destination display area
Sequence plays.
Optionally, adjustment unit 504 may include: adjustment module, for successively drawing the video frame in initial GOP sequence
The resolution ratio in face is adjusted to target resolution by initial resolution, obtains target GOP sequence, wherein target resolution be greater than or
Equal to the resolution ratio of destination display area, it is less than initial resolution.
Optionally, above-mentioned apparatus can also include: storage unit, in the resolution ratio according to destination display area, under
The resolution ratio of the video frame picture in the initial GOP sequence of the target road video data to be shown in destination display area is adjusted,
After obtaining target GOP sequence, target GOP sequence is stored in the display caching area of display equipment.
Optionally, above-mentioned apparatus can also include: selection unit, for determining in multiple display areas of display equipment
Before destination display area, the region to be shown of target number is selected from multiple display areas, wherein use in region to be shown
In display video data corresponding with region to be shown of putting upside down, the region to be shown of target number includes destination display area.
Optionally, above-mentioned apparatus can also include:
(1) second determination unit, after determining destination display area in multiple display areas of display equipment, really
Set the goal the area size of display area;
(2) third determination unit determines that target is aobvious for the screen display precision according to area size and display equipment
Show the resolution ratio in region.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any
Combined form is located in different processors.
Embodiment 3
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein
The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps
Calculation machine program:
S1 determines destination display area, wherein multiple display areas and multichannel in multiple display areas of display equipment
Video channel is corresponding, and each display area is for showing video data all the way;
S2 lowers the target road video counts to be shown in destination display area according to the resolution ratio of destination display area
According to initial GOP sequence in video frame picture resolution ratio, obtain target GOP sequence;
Target GOP sequence is carried out Reverse Play in destination display area by S3.
Optionally, storage medium is also configured to store the computer program for executing following steps:
The resolution ratio of video frame picture in initial GOP sequence is successively adjusted to target by initial resolution and differentiated by S1
Rate obtains target GOP sequence, wherein target resolution is greater than or equal to the resolution ratio of destination display area, is less than initial differentiate
Rate.
Optionally, storage medium is also configured to store the computer program for executing following steps:
S1 lowers the target road video to be shown in destination display area in the resolution ratio according to destination display area
After obtaining target GOP sequence, target GOP sequence is saved for the resolution ratio of video frame picture in the initial GOP sequence of data
In the display caching area of display equipment.
Optionally, storage medium is also configured to store the computer program for executing following steps:
S1 is selected from multiple display areas before determining destination display area in multiple display areas of display equipment
Take out the region to be shown of target number, wherein region to be shown is for display video counts corresponding with region to be shown of putting upside down
According to the region to be shown of target number includes destination display area.
Optionally, storage medium is also configured to store the computer program for executing following steps:
S1 determines destination display area after determining destination display area in multiple display areas of display equipment
Area size;
S2 determines the resolution ratio of destination display area according to the screen display precision of area size and display equipment.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-
Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard
The various media that can store computer program such as disk, magnetic or disk.
Embodiment 4
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory
There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method
Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device
It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 determines destination display area, wherein multiple display areas and multichannel in multiple display areas of display equipment
Video channel is corresponding, and each display area is for showing video data all the way;
S2 lowers the target road video counts to be shown in destination display area according to the resolution ratio of destination display area
According to initial GOP sequence in video frame picture resolution ratio, obtain target GOP sequence;
Target GOP sequence is carried out Reverse Play in destination display area by S3.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein
Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or
Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc.
With replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (12)
1. a kind of video broadcasting method characterized by comprising
Destination display area is determined in multiple display areas of display equipment, wherein multiple display areas and multichannel regard
Frequency channel is corresponding, and each display area is for showing video data all the way;
According to the resolution ratio of the destination display area, the target road video counts to be shown in the destination display area are lowered
According to initial picture group GOP sequence in video frame picture resolution ratio, obtain target GOP sequence;
The target GOP sequence is subjected to Reverse Play in the destination display area.
2. the method according to claim 1, wherein according to the resolution ratio of the destination display area, lower to
The video frame being shown in the initial GOP sequence of the target road video data in the destination display area is drawn
The resolution ratio in face, obtaining the target GOP sequence includes:
The resolution ratio of the video frame picture in the initial GOP sequence is successively adjusted to target by initial resolution to differentiate
Rate obtains the target GOP sequence, wherein and the target resolution is greater than or equal to the resolution ratio of the destination display area,
Less than the initial resolution.
3. the method according to claim 1, wherein being lowered in the resolution ratio according to the destination display area
The video frame in the initial GOP sequence of target road video data to be shown in the destination display area
The resolution ratio of picture, after obtaining the target GOP sequence, the method also includes:
The target GOP sequence is stored in the display caching area of the display equipment.
4. the method according to claim 1, wherein in multiple display areas of the display equipment really
Before the fixed destination display area, the method also includes:
The region to be shown of target number is selected from multiple display areas, wherein the region to be shown is for falling
Display video data corresponding with the region to be shown is put, the region to be shown of target number includes that the target is shown
Region.
5. method according to claim 1 to 4, which is characterized in that in the multiple described of the display equipment
After determining the destination display area in display area, the method also includes:
Determine the area size of the destination display area;
According to the screen display precision of the area size and the display equipment, the resolution of the destination display area is determined
Rate.
6. a kind of video play device characterized by comprising
First determination unit, for determining destination display area in multiple display areas of display equipment, wherein multiple described
Display area is corresponding with multi-channel video channel, and each display area is for showing video data all the way;
Adjustment unit is lowered to be shown in the destination display area for the resolution ratio according to the destination display area
Target road video data initial picture group GOP sequence in video frame picture resolution ratio, obtain target GOP sequence;
Broadcast unit, for the target GOP sequence to be carried out Reverse Play in the destination display area.
7. device according to claim 6, which is characterized in that the adjustment unit includes:
Module is adjusted, for successively by the resolution ratio of the video frame picture in the initial GOP sequence by initial resolution
It is adjusted to target resolution, obtains the target GOP sequence, wherein the target resolution is aobvious more than or equal to the target
Show the resolution ratio in region, is less than the initial resolution.
8. device according to claim 6, which is characterized in that described device further include:
Storage unit, for lowering to be shown in the destination display area in the resolution ratio according to the destination display area
In target road video data the initial GOP sequence in the video frame picture resolution ratio, obtain the mesh
After marking GOP sequence, the target GOP sequence is stored in the display caching area of the display equipment.
9. device according to claim 6, which is characterized in that described device further include:
Selection unit, before the determining destination display area in multiple display areas of the display equipment,
The region to be shown of target number is selected from multiple display areas, wherein the region to be shown is aobvious for putting upside down
Show video data corresponding with the region to be shown, the region to be shown of target number includes the target viewing area
Domain.
10. device according to any one of claims 6 to 9, which is characterized in that described device further include:
Second determination unit, for determined in multiple display areas of the display equipment destination display area it
Afterwards, the area size of the destination display area is determined;
Third determination unit is determined described for the screen display precision according to the area size and the display equipment
The resolution ratio of destination display area.
11. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer
Program is arranged to execute method described in any one of claim 1 to 5 when operation.
12. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory
Sequence, the processor are arranged to execute side described in any one of claim 1 to 5 by the computer program
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910190442.XA CN109889895A (en) | 2019-03-13 | 2019-03-13 | Video broadcasting method, device, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910190442.XA CN109889895A (en) | 2019-03-13 | 2019-03-13 | Video broadcasting method, device, storage medium and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109889895A true CN109889895A (en) | 2019-06-14 |
Family
ID=66932290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910190442.XA Pending CN109889895A (en) | 2019-03-13 | 2019-03-13 | Video broadcasting method, device, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109889895A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111447486A (en) * | 2020-04-07 | 2020-07-24 | 上海熙菱信息技术有限公司 | Reverse playing method for forward pushing of historical code stream |
CN111866572A (en) * | 2020-07-28 | 2020-10-30 | 湖南快乐阳光互动娱乐传媒有限公司 | Data display method and device |
CN113923456A (en) * | 2021-09-30 | 2022-01-11 | 稿定(厦门)科技有限公司 | Video processing method and device |
CN114040224A (en) * | 2021-11-05 | 2022-02-11 | 中国联合网络通信集团有限公司 | Method, device and equipment for acquiring reverse video and readable storage medium |
CN114615540A (en) * | 2022-05-11 | 2022-06-10 | 北京搜狐新动力信息技术有限公司 | Video resolution switching method and device, storage medium and equipment |
CN115866350A (en) * | 2022-11-28 | 2023-03-28 | 重庆紫光华山智安科技有限公司 | Video reverse playing method and device, electronic equipment and storage medium |
CN117082294A (en) * | 2023-10-18 | 2023-11-17 | 广东视腾电子科技有限公司 | Video all-in-one machine switching method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1878260A (en) * | 2006-07-14 | 2006-12-13 | 杭州国芯科技有限公司 | Multi-menu co-screen playing method |
US20130276038A1 (en) * | 2012-04-12 | 2013-10-17 | Kabushiki Kaisha Toshiba | Video server for controlling video signal output and video signal output control method |
CN104581003A (en) * | 2013-10-12 | 2015-04-29 | 北京航天长峰科技工业集团有限公司 | Video rechecking positioning method |
CN105530474A (en) * | 2015-12-17 | 2016-04-27 | 浙江省公众信息产业有限公司 | Method and system for controlling multichannel video content display |
CN106303379A (en) * | 2015-05-20 | 2017-01-04 | 杭州海康威视数字技术股份有限公司 | A kind of video file backward player method and system |
CN106507204A (en) * | 2016-12-07 | 2017-03-15 | 腾讯科技(上海)有限公司 | A kind of video play-reverse method and apparatus |
CN107222779A (en) * | 2017-06-08 | 2017-09-29 | 浙江大华技术股份有限公司 | A kind of method and device of video play-reverse |
-
2019
- 2019-03-13 CN CN201910190442.XA patent/CN109889895A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1878260A (en) * | 2006-07-14 | 2006-12-13 | 杭州国芯科技有限公司 | Multi-menu co-screen playing method |
US20130276038A1 (en) * | 2012-04-12 | 2013-10-17 | Kabushiki Kaisha Toshiba | Video server for controlling video signal output and video signal output control method |
CN104581003A (en) * | 2013-10-12 | 2015-04-29 | 北京航天长峰科技工业集团有限公司 | Video rechecking positioning method |
CN106303379A (en) * | 2015-05-20 | 2017-01-04 | 杭州海康威视数字技术股份有限公司 | A kind of video file backward player method and system |
CN105530474A (en) * | 2015-12-17 | 2016-04-27 | 浙江省公众信息产业有限公司 | Method and system for controlling multichannel video content display |
CN106507204A (en) * | 2016-12-07 | 2017-03-15 | 腾讯科技(上海)有限公司 | A kind of video play-reverse method and apparatus |
CN107222779A (en) * | 2017-06-08 | 2017-09-29 | 浙江大华技术股份有限公司 | A kind of method and device of video play-reverse |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111447486A (en) * | 2020-04-07 | 2020-07-24 | 上海熙菱信息技术有限公司 | Reverse playing method for forward pushing of historical code stream |
CN111866572A (en) * | 2020-07-28 | 2020-10-30 | 湖南快乐阳光互动娱乐传媒有限公司 | Data display method and device |
CN113923456A (en) * | 2021-09-30 | 2022-01-11 | 稿定(厦门)科技有限公司 | Video processing method and device |
CN114040224A (en) * | 2021-11-05 | 2022-02-11 | 中国联合网络通信集团有限公司 | Method, device and equipment for acquiring reverse video and readable storage medium |
CN114615540A (en) * | 2022-05-11 | 2022-06-10 | 北京搜狐新动力信息技术有限公司 | Video resolution switching method and device, storage medium and equipment |
CN115866350A (en) * | 2022-11-28 | 2023-03-28 | 重庆紫光华山智安科技有限公司 | Video reverse playing method and device, electronic equipment and storage medium |
CN115866350B (en) * | 2022-11-28 | 2024-04-12 | 重庆紫光华山智安科技有限公司 | Video reverse playing method and device, electronic equipment and storage medium |
CN117082294A (en) * | 2023-10-18 | 2023-11-17 | 广东视腾电子科技有限公司 | Video all-in-one machine switching method and system |
CN117082294B (en) * | 2023-10-18 | 2024-02-02 | 广东视腾电子科技有限公司 | Video all-in-one machine switching method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109889895A (en) | Video broadcasting method, device, storage medium and electronic device | |
US20210400233A1 (en) | Encoding method, image encoder and image transmission system | |
CN105915937B (en) | Panoramic video playing method and device | |
CN106068495B (en) | Streaming multiple encodings encoded using different encoding parameters | |
KR101428504B1 (en) | Video display with rendering control using metadata embedded in the bitstream | |
JP5651786B2 (en) | System and method for controllably viewing a digital video stream captured by a surveillance camera | |
US10574933B2 (en) | System and method for converting live action alpha-numeric text to re-rendered and embedded pixel information for video overlay | |
US8265707B2 (en) | Cellular multiscreen system | |
CN106210884A (en) | The code-transferring method of video file and device | |
US8934728B2 (en) | Image display system, image composing and re-encoding apparatus, image display apparatus, method of displaying image, and computer-readable storage medium having stored therein image composing and re-encoding program | |
JP2015513717A (en) | Data, multimedia and video transmission update system | |
CN107770538A (en) | A kind of methods, devices and systems for detecting scene switch frame | |
US20150113582A1 (en) | Communication System, Terminal Device, Video Display Method, and Storage Medium | |
CN104822070A (en) | Multi-video-stream playing method and device thereof | |
CN107333144A (en) | Multichannel picture display process and device based on football race broadcast relay system | |
CN113747240A (en) | Video processing method, apparatus, storage medium, and program product | |
CN105578204B (en) | Method and device for displaying multiple video data | |
CN110351606B (en) | Media information processing method, related device and computer storage medium | |
US8768140B2 (en) | Data processing unit and data encoding device | |
CN108476333A (en) | The adjacent streaming of Media Stream | |
JP2002351438A (en) | Image monitor system | |
CN107734278B (en) | Video playback method and related device | |
CN107135403A (en) | Message processing device | |
CN108810574A (en) | A kind of video information processing method and terminal | |
EP3687180A1 (en) | A method, device and computer program |
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: 20190614 |