CN109547839A - The dynamic previewing processing method and processing device of live content, medium, electronic equipment - Google Patents
The dynamic previewing processing method and processing device of live content, medium, electronic equipment Download PDFInfo
- Publication number
- CN109547839A CN109547839A CN201811510351.1A CN201811510351A CN109547839A CN 109547839 A CN109547839 A CN 109547839A CN 201811510351 A CN201811510351 A CN 201811510351A CN 109547839 A CN109547839 A CN 109547839A
- Authority
- CN
- China
- Prior art keywords
- video
- dynamic previewing
- live content
- processing method
- processing
- 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
- 238000012545 processing Methods 0.000 title claims abstract description 73
- 238000003672 processing method Methods 0.000 title claims abstract description 36
- 238000000034 method Methods 0.000 claims abstract description 23
- 230000003247 decreasing effect Effects 0.000 claims abstract description 21
- 238000013507 mapping Methods 0.000 claims description 11
- 238000007906 compression Methods 0.000 claims description 9
- 230000006835 compression Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005111 flow chemistry technique Methods 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003014 reinforcing effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 210000000352 storage cell Anatomy 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440263—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the present invention is about a kind of dynamic previewing processing method and processing device of live content, medium, electronic equipment, belong to technical field of data processing, this method comprises: obtain live content original audio/video flow, and to the video data of the original audio/video flow carry out drop frame per second and resolution decreasing handle to obtain target video;According to the target video, dynamic previewing video flowing is obtained.The excessive problem of the video data volume, alleviates the burden of system caused by this method solve being shown simultaneously due to multiple videos in the prior art.
Description
Technical field
The present embodiments relate to technical field of video processing, in particular to a kind of dynamic previewing of live content
Dynamic previewing processing unit, computer readable storage medium and the electronic equipment of processing method, live content.
Background technique
With live streaming industry it is increasingly developed, it is each live streaming platform live video also can also can be more and more, how more
Good is broadcast live video display, and the video for allowing spectators that can find oneself care in a short time becomes too impatient to wait to be solved
Problem.
In the method that existing live video is shown, one is represent a live streaming by using a static images;
For example, can be every (5 minutes) one frame video images of interception of certain time interval, then being replaced using the frame video image should
Live video is shown;But since the live video renewal speed of main broadcaster is very fast, simultaneously using a static picture
It cannot express and included video data is broadcast live;And it will lead to the accuracy of live video data, and then can also make
Many live video datas are lost during passing to user, allow user that cannot understand the live streaming well;
Another kind is to be when carrying out preview, plays live video data, can completely transmit live streaming in this way;But
It is, since the number of live streaming simultaneously is more, to cause the video data volume of live streaming excessive, to the bandwidth of client and server end
And performance requirement is very high;Therefore, server end and the system pressure of client are larger, while bandwidth resources also waste very much.
Accordingly, it is desirable to provide a kind of dynamic previewing processing method and processing device of new live content.
It should be noted that the information in the invention of above-mentioned background technology part is only used for reinforcing the reason to background of the invention
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The purpose of the present invention is to provide the dynamic previewings of a kind of dynamic previewing processing method of live content, live content
Processing unit, computer readable storage medium and electronic equipment, and then overcome at least to a certain extent due to the relevant technologies
Limitation and defect caused by multiple videos play simultaneously caused by the excessive problem of the video data volume.
According to one aspect of the disclosure, a kind of dynamic previewing processing method of live content is provided, comprising:
Obtain live content original audio/video flow, and to the video data of the original audio/video flow carry out drop frame per second and
Resolution decreasing handles to obtain target video;
According to the target video, dynamic previewing video flowing is obtained.
It is described after being shown to the dynamic previewing video flowing in a kind of exemplary embodiment of the disclosure
Dynamic previewing processing method further include:
By the dynamic previewing video stream to content distribution system, so that the content distribution system is according to described dynamic
State preview video stream generates the first uniform resource locator checked for user.
In a kind of exemplary embodiment of the disclosure, the original audio/video flow for obtaining live content includes:
The corresponding unique identifier of live streaming window is obtained, and the live streaming window is obtained according to the unique identifier and is corresponded to
The second uniform resource locator;
The original audio/video flow of the live content is obtained by second uniform resource locator.
In a kind of exemplary embodiment of the disclosure, after obtaining original audio/video flow, the live content is moved
State preview processing method further include:
Processing is decoded to the original audio/video flow, obtains the picture number of each frame of the original audio/video flow
According to.
In a kind of exemplary embodiment of the disclosure, the video data of the original audio/video flow is carried out at drop frame per second
Reason includes:
Described image data are sampled in time;
Frame losing processing is carried out to sampled result, so that the frame per second of described image data within a preset time is no more than default frame
Rate.
In a kind of exemplary embodiment of the disclosure, resolution decreasing is carried out to the video data of the original audio/video flow
Processing includes:
Described image data are spatially sampled;
Scaled down processing is carried out to sampled result, so that the resolution ratio of described image data is no more than presetted pixel.
In a kind of exemplary embodiment of the disclosure, according to the target video, obtaining dynamic previewing video flowing includes:
Compressed encoding is carried out to the target video using video compression algorithm, row arrives dynamic previewing video flowing.
In a kind of exemplary embodiment of the disclosure, the dynamic previewing processing method of the live content further include:
The first uniform resource locator that reception content distribution network is sent;
Establish the mapping relations of first uniform resource locator and the unique identifier, and by the mapping relations
It stores into database.
According to one aspect of the disclosure, a kind of dynamic previewing processing unit of live content is provided, comprising:
First processing module, for obtaining the original audio/video flow of live content, and to the view of the original audio/video flow
Frequency according to carry out drop frame per second and resolution decreasing handle to obtain target video;
Second processing module, for obtaining dynamic previewing video flowing according to the target video.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with,
The computer program realizes the dynamic previewing processing method of live content described in above-mentioned any one when being executed by processor.
According to one aspect of the disclosure, a kind of electronic equipment is provided, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to straight described in above-mentioned any one to execute via the executable instruction is executed
Broadcast the dynamic previewing processing method of content.
A kind of dynamic previewing processing method of live content of the embodiment of the present invention, the original sound by obtaining live content regard
Frequency flow, and to the video data of the original audio/video flow carry out drop frame per second and resolution decreasing handle to obtain target video;According to
The target video obtains dynamic previewing video flowing;On the one hand, drop frame per second is carried out by the video data to original audio/video flow
And resolution decreasing handles to obtain target video;The video data volume for reducing original audio/video flow, solves in the prior art
The excessive problem of the video data volume caused by multiple videos play simultaneously, and then alleviate the burden of system;On the other hand, pass through
Drop frame per second is carried out to the video data of original audio/video flow and resolution decreasing handles to obtain target video, then further according to target
Video obtains dynamic previewing video, allows original audio/video flow in distortionless situation, by the side for reducing data volume
Formula obtains dynamic previewing video, improves the accuracy rate of original audio/video flow conversion.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 schematically shows a kind of flow chart of the dynamic previewing processing method of live content.
Fig. 2 schematically shows a kind of Application Scenarios-Example figure of the dynamic previewing processing method of live content.
Fig. 3 schematically shows the method flow diagram of the dynamic previewing processing of another live content.
Fig. 4 schematically shows a kind of method flow diagram of user's viewing live video.
Fig. 5 schematically shows a kind of block diagram of the dynamic previewing processing unit of live content.
Fig. 6 schematically shows a kind of electronic equipment of dynamic previewing processing method for realizing above-mentioned live content.
Fig. 7 is schematically shown a kind of to be deposited for realizing the computer-readable of dynamic previewing processing method of above-mentioned live content
Storage media.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the present invention will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.In the following description, it provides perhaps
More details fully understand embodiments of the present invention to provide.It will be appreciated, however, by one skilled in the art that can
It is omitted with practicing technical solution of the present invention one or more in the specific detail, or others side can be used
Method, constituent element, device, step etc..In other cases, be not shown in detail or describe known solution to avoid a presumptuous guest usurps the role of the host and
So that each aspect of the present invention thickens.
In addition, attached drawing is only schematic illustrations of the invention, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function
Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form
Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
A kind of dynamic previewing processing method of live content is provided firstly in this example embodiment, this method can transport
Row can also be run and device end in server, server cluster or Cloud Server etc.;Certainly, those skilled in the art
Method of the invention can be run in other platforms according to demand, does not do particular determination to this in the present exemplary embodiment.With reference to
Shown in Fig. 1, the dynamic previewing processing method of the live content be may comprise steps of:
Step S110. obtain live content original audio/video flow, and to the video data of the original audio/video flow into
Row drop frame per second and resolution decreasing handle to obtain target video.
Step S120. obtains dynamic previewing video flowing according to the target video.
In the dynamic previewing processing method of above-mentioned live content, on the one hand, pass through the video data to original audio/video flow
It carries out drop frame per second and resolution decreasing handles to obtain target video;The video data volume for reducing original audio/video flow, solves
The excessive problem of the video data volume caused by multiple videos play simultaneously in the prior art, and then alleviate the burden of system;Separately
On the one hand, drop frame per second is carried out by the video data to original audio/video flow and resolution decreasing handles to obtain target video, so
Dynamic previewing video is obtained further according to target video afterwards, allows original audio/video flow in distortionless situation, by subtracting
The mode of few data volume obtains dynamic previewing video, improves the accuracy rate of original audio/video flow conversion.
In the following, by conjunction with attached drawing to each in the dynamic previewing processing method of live content above-mentioned in this example embodiment
Step carries out detailed explanation and explanation.
In step s 110, the original audio/video flow of live content is obtained, and to the video counts of the original audio/video flow
According to carry out drop frame per second and resolution decreasing handle to obtain target video.
In this example embodiment, firstly, obtaining original audio/video flow.Wherein, obtaining original audio/video flow can wrap
It includes: obtaining the corresponding unique identifier of live streaming window, and the live streaming window corresponding the is obtained according to the unique identifier
Two uniform resource locator;The original audio/video flow is obtained by second uniform resource locator.Specifically:
Refering to what is shown in Fig. 2, firstly, processing system for video 201 obtains a certain live streaming window pair from data memory module 202
The unique identifier (UUID, Universally Unique Identifier) answered;Then, when processing system for video 201 obtains
To after the unique identifier, the live streaming window corresponding is obtained from data memory module 202 according to the unique identifier
Two uniform resource locator (URL, niform Resource Locator), then further according to second uniform resource locator
Above-mentioned original audio/video flow is obtained from CDN (Content Delivery Network, i.e. content distribution system) server 203
video_1。
Secondly, after processing system for video 201 gets original video stream, it is also necessary to be solved to the original video stream
Code, specifically may include: to be decoded processing to the original audio/video flow, obtains each frame of the original audio/video flow
Image data.For example, place can be decoded by video data of the codec decoder to each frame of the original video stream
Reason, obtains the image data of each frame of the original video stream;Wherein, the data format of the original video stream may include: *
.mpg, * .avi, * .mov, * .mp4, * .rm, * .ogg or and * .tta etc..
Further, when processing system for video 201 is completed to obtain original audio-video to the decoding operate of original audio/video flow
After the image data of each frame of stream, then need to carry out the video data of the original video stream to drop frame per second and resolution decreasing
Operation, obtains target video.It is specific:
Firstly, carrying out drop frame per second processing to the video data of the original audio/video flow may include: to described image number
According to being sampled in time;Frame losing processing is carried out to sampled result, so that the frame per second of described image data within a preset time
No more than preset frame rate.Due to usually there is very strong relevance between adjacent frame (frame) and frame, such relevance is
Temporal redundancy information, therefore the stronger frame of relevance can be lost, in the case where not influencing video continuity, so that
Frame per second of the image data in preset time (such as 1s, be also possible to 2s or 3s etc., there is no special restriction on this for this example)
No more than preset frame rate (such as frame per second of the image data in 1s can be controlled within 5 frames).
Secondly, carrying out resolution decreasing processing to the video data of the original audio/video flow may include: to described image
Data are spatially sampled;Scaled down processing is carried out to sampled result, so that the resolution ratio of described image data is not
More than presetted pixel.Due to usually there is very strong relevance between adjacent pixel, such relevance is spatially superfluous
Remaining information, therefore can be in the case where not influencing the overall effect of video data, to the image of above-mentioned completion drop frame per second processing
Data carry out frame data compression (rate respectively of scaled down image), so that the resolution ratio of image data is no more than presetted pixel
(such as resolution ratio can be preset and be set as most wide 480 pixels of highest, it is also possible to other pixels, this example is not spy to this
Different limitation.)
Further, silence processing can also be carried out by the soft audio data to original video stream of acoustic processing to be pressed
Contracting audio;By this way, it avoids in some unsuitable occasions while playing (such as multiple videos while) for playing audios, sound
Frequency plays have more mixed and disorderly feeling simultaneously.
Further, it after obtaining above-mentioned compression video and compression audio, will be compressed by Video processing software
Video and compression audio merge, and obtain target video video_2.
In the step s 120, according to the target video, dynamic previewing video flowing is obtained.
In this example embodiment, obtaining dynamic previewing video according to target video may include: to utilize video compress
Algorithm carries out compressed encoding to the target video, and row arrives dynamic previewing video flowing.Specifically:
Using video compression algorithm, compressed encoding is carried out to the target video, obtains dynamic previewing video flowing, so that dynamic
The bit rate output of state preview video stream is no more than default code rate.For example, can by video compression algorithm as H.264, H.265,
VP9 algorithm compresses the image data of target video, then carries out at video re-encoding to compressed image data again
Reason turns down the code rate of output video, so that the bit rate output of image data is no more than default code rate, (such as to can be 100kbs every
Second etc.), above-mentioned dynamic previewing video is finally obtained again.In this way, dynamic previewing video can be reduced further
Data volume, so that user during checking, can save bandwidth resources, the user experience is improved.When obtaining dynamic previewing
After video, which can be loaded onto window corresponding with the URL of the dynamic previewing video and shown.
Further, it after obtaining dynamic previewing video, is checked for the ease of user, the dynamic of the live content is pre-
Look at processing method further include: by described when dynamic previewing video is sent to content distribution system, so that the content distribution system
The first uniform resource locator checked for user is generated according to the winter preview video.
In this example embodiment, with continued reference to shown in Fig. 2, after obtaining above-mentioned dynamic previewing video video_2,
Dynamic previewing video video_2 is sent to CDN (Content Delivery Network, i.e. content by processing system for video 201
Dissemination system) in server 203, after CDN server 203 receives dynamic previewing video video_2, generation can be with
Corresponding first uniform resource locator of the dynamic previewing video.Wherein, user can pass through first uniform resource locator
Directly dynamic previewing video video_2 is checked.
Further, first unified resource positioning directly can be found by the way that window is broadcast live for the ease of user
Symbol, refering to what is shown in Fig. 3, the dynamic previewing processing method of the live content can also include step S310 and step S320.Its
In:
In step s310, the first uniform resource locator that reception content dissemination system is sent;
In step s 320, the mapping relations of first uniform resource locator and the unique identifier are established, and
The mapping relations are stored into database.
In the following, will step S310 and step S320 be explained and be illustrated.With continued reference to shown in Fig. 2, firstly, view
Frequency processing system 201 receives the first uniform resource locator that CDN server 203 is sent;When processing system for video 201 receives
After first uniform resource locator, the mapping between first uniform resource locator and unique identifier (UUID) is established
Then relationship again stores the mapping relations into database 202, convenient for for can directly be found by unique identifier
Current video stream is simultaneously watched;Reduce the time that user searches first uniform resource locator, the user experience is improved.
Fig. 4 schematically shows a kind of method flow diagram of user's viewing live video.With reference to shown in Fig. 2 and Fig. 4, the use
The method flow diagram of family viewing live video may include steps of:
Step S10, processing system for video 201 obtain the corresponding unique identifier ID (UUID) of live streaming from database 202,
Its corresponding live video original video stream address URL 1 is obtained further according to the unique identifier ID of each live streaming, finally by
The video distribution function that CDN server 203 provides can obtain the original video stream video_1 of live streaming from URL1.
It is corresponding to download URL1 by network, and is handled original video stream video_1 by step S20
Video flowing video_2 afterwards.Specific processing step is as follows:
A is decoded processing to each frame video of original video stream video_1, obtains the image data of each frame of video;
B samples the image data decoded in time, and carries out frame losing processing to sampled result, regardless of former
How is video frame rate, and per second saves a small amount of video image data, such as 5 frame per second after processing;
C, to sampling in frame losing treated image data space, the resolution ratio of scaled down image (avoids figure
Image distortion causes information transmitting mistake), the resolution ratio of image is such as sampled as most wide 480 pixels of highest;
D, with video compression algorithm as H.264, H.265, VP9 algorithm, the image data after resolution decreasing is regarded
Frequency re-encoding process turns down the code rate of output video, as 100kbs is per second;
E carries out silence processing to original stream audio;
F merges the video handled well and audio data, generates current video stream video_2.
Video_2 is forwarded to CDN server 203 by network by step S30, and the generation of CDN server 203 can be for visitor
The video flowing of family end viewing watches address URL 2;Then URL2 is sent to processing system for video 201 again.
The video flowing URL2 handled well is reported to database 202 by step S40, processing system for video 201, then again and often
The unique identifier ID of a live streaming is bound.
S50 can control client 205 to service server 206 when user 204 needs to watch some live streaming
Send watching request, then service server 206 can obtain multiple unique identifier ID from database 202, and by it is multiple only
One identifier ID is sent to client 205;Then the unique identification that user 204 can select oneself to need in client 205
ID is accorded with, client searches 2 information of preview video stream address URL by the unique identifier ID of the live streaming again, finally further according to this
URL2 obtains current video stream from CDN server 203 and is watched.In this way by internet, different clients just be can be carried out
Displaying plays.
In the example embodiment of the disclosure, by carrying out drop frame, drop code rate, resolution decreasing, mute to live video
Deng processing, the mute video flowing an of low bit- rate, low frame per second, low resolution is handled out;Then it when being broadcast live displaying, plays
This video flowing is broadcast live displaying, to achieve the purpose that spectators is allowed to quickly understand live content.
Further, in the example embodiment of the disclosure, pass through the processing such as drop frame, drop code rate, resolution decreasing, mute
Video flowing afterwards still includes the most information in live information, and included most information can will be broadcast live and pass to viewing
User solves the problems, such as that static graphic information transmitting is lost.Simultaneously as this kind of video flowing has carried out specially treated, without sound
Sound, code rate are small, solve and directly play bandwidth and performance issue caused by original video.
The disclosure additionally provides a kind of dynamic previewing processing unit of live content.Refering to what is shown in Fig. 5, the live content
Dynamic previewing processing unit may include: first processing module 510, Second processing module 520 and display module 530.Wherein:
First processing module 510 can be used for obtaining the original audio/video flow of live content, and to the original audio-video
The video data of stream carries out drop frame per second and resolution decreasing handles to obtain target video.
Second processing module 520 can be used for obtaining dynamic previewing video flowing according to the target video.
In a kind of example embodiment of the disclosure, the dynamic previewing processing unit further include:
Sending module can be used for the dynamic previewing video stream to content distribution system, so that the content
Dissemination system generates the first uniform resource locator checked for user according to the dynamic previewing video flowing.
In a kind of example embodiment of the disclosure, the original audio/video flow for obtaining live content includes:
The corresponding unique identifier of live streaming window is obtained, and the live streaming window is obtained according to the unique identifier and is corresponded to
The second uniform resource locator;
The original audio/video flow of the live content is obtained by second uniform resource locator.
In a kind of example embodiment of the disclosure, the dynamic previewing processing unit of the live content further include:
Decoder module obtains the every of the original audio/video flow for being decoded processing to the original audio/video flow
The image data of one frame.
In a kind of example embodiment of the disclosure, the video data of the original audio/video flow is carried out at drop frame per second
Reason includes:
Described image data are sampled in time;
Frame losing processing is carried out to sampled result, so that the frame per second of described image data within a preset time is no more than default frame
Rate.
In a kind of example embodiment of the disclosure, resolution decreasing is carried out to the video data of the original audio/video flow
Processing includes:
Described image data are spatially sampled;
Scaled down processing is carried out to sampled result, so that the resolution ratio of described image data is no more than presetted pixel.
In a kind of example embodiment of the disclosure, according to the target video, obtaining dynamic previewing video flowing includes:
Compressed encoding is carried out to the target video using video compression algorithm, row arrives dynamic previewing video flowing.
In a kind of example embodiment of the disclosure, the dynamic previewing processing unit of the live content further include:
Receiving module can be used for the first uniform resource locator of reception content distribution network transmission;
Mapping relations establish module, can be used for establishing first uniform resource locator and the unique identifier
Mapping relations, and the mapping relations are stored into database.
The detail of each module is in corresponding live content in the dynamic previewing processing unit of above-mentioned live content
Dynamic previewing processing method in be described in detail, therefore details are not described herein again.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, embodiment according to the present invention, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
In addition, although describing each step of method in the present invention in the accompanying drawings with particular order, this does not really want
These steps must be executed in this particular order by asking or implying, or having to carry out step shown in whole could realize
Desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/
Or a step is decomposed into execution of multiple steps etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, mobile terminal or network equipment etc.) executes embodiment according to the present invention
Method.
In an exemplary embodiment of the present invention, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Fig. 6.The electronics that Fig. 6 is shown
Equipment 600 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 6, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
It includes but is not limited to: at least one above-mentioned processing unit 610, at least one above-mentioned storage unit 620, the different system components of connection
The bus 630 of (including storage unit 620 and processing unit 610).
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 610
Row, so that various according to the present invention described in the execution of the processing unit 610 above-mentioned " illustrative methods " part of this specification
The step of illustrative embodiments.For example, the processing unit 610 can execute step S110 as shown in fig. 1: obtaining straight
It broadcasts the original audio/video flow of content, and drop frame per second is carried out to the video data of the original audio/video flow and resolution decreasing is handled
To target video;S120: according to the target video, dynamic previewing video flowing is obtained.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205
6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.As shown, network adapter 660 is communicated by bus 630 with other modules of electronic equipment 600.
It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 600, including but not
Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and
Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, terminal installation or network equipment etc.) executes embodiment according to the present invention
Method.
In an exemplary embodiment of the present invention, a kind of computer readable storage medium is additionally provided, energy is stored thereon with
Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also
In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute
Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair
The step of bright various illustrative embodiments.
Refering to what is shown in Fig. 7, describing the program product for realizing the above method of embodiment according to the present invention
710, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art will readily occur to of the invention its after considering specification and the invention invented here of practice
His embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Adaptive change follow general principle of the invention and the common knowledge in the art do not invented including the present invention or
Conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by claim
It points out.
Claims (11)
1. a kind of dynamic previewing processing method of live content characterized by comprising
The original audio/video flow of live content is obtained, and drop frame per second and drop point are carried out to the video data of the original audio/video flow
Resolution handles to obtain target video;
According to the target video, dynamic previewing video flowing is obtained.
2. the dynamic previewing processing method of live content according to claim 1, which is characterized in that at the dynamic previewing
Reason method further include:
By the dynamic previewing video stream to content distribution system, so that the content distribution system is pre- according to the dynamic
Video flowing of looking at generates the first uniform resource locator checked for user.
3. the dynamic previewing processing method of live content according to claim 1, which is characterized in that obtain live content
Original audio/video flow includes:
It obtains the corresponding unique identifier of live streaming window, and the live streaming window corresponding the is obtained according to the unique identifier
Two uniform resource locator;
The original audio/video flow of the live content is obtained by second uniform resource locator.
4. the dynamic previewing processing method of live content according to claim 1, which is characterized in that obtaining original sound view
After frequency flows, the dynamic previewing processing method of the live content further include:
Processing is decoded to the original audio/video flow, obtains the image data of each frame of the original audio/video flow.
5. the dynamic previewing processing method of live content according to claim 4, which is characterized in that regarded to the original sound
The video data of frequency stream carries out drop frame per second processing
Described image data are sampled in time;
Frame losing processing is carried out to sampled result, so that the frame per second of described image data within a preset time is no more than preset frame rate.
6. the dynamic previewing processing method of live content according to claim 4, which is characterized in that regarded to the original sound
The video data of frequency stream carries out resolution decreasing processing
Described image data are spatially sampled;
Scaled down processing is carried out to sampled result, so that the resolution ratio of described image data is no more than presetted pixel.
7. the dynamic previewing processing method of live content according to claim 1, which is characterized in that regarded according to the target
Frequently, obtaining dynamic previewing video flowing includes:
Compressed encoding is carried out to the target video using video compression algorithm, row arrives dynamic previewing video flowing.
8. the dynamic previewing processing method of live content according to claim 3, which is characterized in that the live content
Dynamic previewing processing method further include:
The first uniform resource locator that reception content distribution network is sent;
The mapping relations of first uniform resource locator and the unique identifier are established, and the mapping relations are stored
Into database.
9. a kind of dynamic previewing processing unit of live content characterized by comprising
First processing module, for obtaining the original audio/video flow of live content, and to the video counts of the original audio/video flow
According to carry out drop frame per second and resolution decreasing handle to obtain target video;
Second processing module, for obtaining dynamic previewing video flowing according to the target video.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The dynamic previewing processing method of the described in any item live contents of claim 1-8 is realized when being executed by processor.
11. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to require 1-8 described in any item via executing the executable instruction and carry out perform claim
The dynamic previewing processing method of live content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811510351.1A CN109547839A (en) | 2018-12-11 | 2018-12-11 | The dynamic previewing processing method and processing device of live content, medium, electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811510351.1A CN109547839A (en) | 2018-12-11 | 2018-12-11 | The dynamic previewing processing method and processing device of live content, medium, electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109547839A true CN109547839A (en) | 2019-03-29 |
Family
ID=65854594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811510351.1A Pending CN109547839A (en) | 2018-12-11 | 2018-12-11 | The dynamic previewing processing method and processing device of live content, medium, electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109547839A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110072138A (en) * | 2019-04-26 | 2019-07-30 | 广州酷狗计算机科技有限公司 | Video broadcasting method, equipment and computer readable storage medium |
CN110557651A (en) * | 2019-09-09 | 2019-12-10 | 云南师范大学 | ultrahigh-definition dynamic image display method based on big data distributed storage technology |
CN112672149A (en) * | 2020-12-15 | 2021-04-16 | 广州博冠信息科技有限公司 | Video processing method and device, storage medium and server |
CN115225928A (en) * | 2022-05-11 | 2022-10-21 | 北京广播电视台 | Multi-type audio and video mixed broadcasting system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120133727A1 (en) * | 2010-11-26 | 2012-05-31 | Centre De Recherche Informatique De Montreal Inc. | Screen sharing and video conferencing system and method |
CN105516755A (en) * | 2015-12-14 | 2016-04-20 | 成都易瞳科技有限公司 | Video previewing method and apparatus |
CN106412621A (en) * | 2016-09-28 | 2017-02-15 | 广州华多网络科技有限公司 | Video display method and device of network studio, control method and related equipment |
CN108040286A (en) * | 2017-11-28 | 2018-05-15 | 北京潘达互娱科技有限公司 | Video previewing method, device, electronic equipment and computer-readable recording medium |
CN108718417A (en) * | 2018-05-28 | 2018-10-30 | 广州虎牙信息科技有限公司 | Generation method, device, server and the storage medium of direct broadcasting room preview icon |
-
2018
- 2018-12-11 CN CN201811510351.1A patent/CN109547839A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120133727A1 (en) * | 2010-11-26 | 2012-05-31 | Centre De Recherche Informatique De Montreal Inc. | Screen sharing and video conferencing system and method |
CN105516755A (en) * | 2015-12-14 | 2016-04-20 | 成都易瞳科技有限公司 | Video previewing method and apparatus |
CN106412621A (en) * | 2016-09-28 | 2017-02-15 | 广州华多网络科技有限公司 | Video display method and device of network studio, control method and related equipment |
CN108040286A (en) * | 2017-11-28 | 2018-05-15 | 北京潘达互娱科技有限公司 | Video previewing method, device, electronic equipment and computer-readable recording medium |
CN108718417A (en) * | 2018-05-28 | 2018-10-30 | 广州虎牙信息科技有限公司 | Generation method, device, server and the storage medium of direct broadcasting room preview icon |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110072138A (en) * | 2019-04-26 | 2019-07-30 | 广州酷狗计算机科技有限公司 | Video broadcasting method, equipment and computer readable storage medium |
CN110072138B (en) * | 2019-04-26 | 2021-06-18 | 广州酷狗计算机科技有限公司 | Video playing method, video playing equipment and computer readable storage medium |
CN110557651A (en) * | 2019-09-09 | 2019-12-10 | 云南师范大学 | ultrahigh-definition dynamic image display method based on big data distributed storage technology |
CN112672149A (en) * | 2020-12-15 | 2021-04-16 | 广州博冠信息科技有限公司 | Video processing method and device, storage medium and server |
CN115225928A (en) * | 2022-05-11 | 2022-10-21 | 北京广播电视台 | Multi-type audio and video mixed broadcasting system and method |
CN115225928B (en) * | 2022-05-11 | 2023-07-25 | 北京广播电视台 | Multi-type audio and video mixed broadcasting system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6469788B2 (en) | Using quality information for adaptive streaming of media content | |
US20210203706A1 (en) | Systems, Methods, and Media for Delivery of Content | |
US10187668B2 (en) | Method, system and server for live streaming audio-video file | |
CN109547839A (en) | The dynamic previewing processing method and processing device of live content, medium, electronic equipment | |
US9693080B2 (en) | Distribution control system, distribution control method, and computer-readable storage medium | |
US9319455B2 (en) | Method and system for seamless navigation of content across different devices | |
US9578079B2 (en) | Distribution control system, distribution system, distribution control method, and computer-readable storage medium | |
US9723337B2 (en) | Distribution control system and distribution system | |
US20160044079A1 (en) | Distribution control system, distribution control method, and computer-readable storage medium | |
CN110290398B (en) | Video issuing method and device, storage medium and electronic equipment | |
US20160142468A1 (en) | System and method for providing cloud based user interfaces | |
US10708648B2 (en) | System for providing hybrid user interfaces and method thereof | |
CN109618198A (en) | Live content reports method and device, storage medium, electronic equipment | |
US9912996B2 (en) | System and method for providing cloud based user interfaces | |
CN107872683B (en) | Video data processing method, device, equipment and storage medium | |
CN103888788A (en) | Virtual tourism service system based on bidirectional set top box and realization method thereof | |
CN113766266A (en) | Audio and video processing method, device, equipment and storage medium | |
US20190364305A1 (en) | Method and system for real time switching of multimedia content | |
CN116668779B (en) | Virtual reality view field distribution method, system, device, equipment and medium | |
US20230117444A1 (en) | Ultra-low latency streaming of real-time media | |
CN104702985A (en) | Digital TV network-based geographic information service real-time interaction method and system thereof | |
CN105323635B (en) | Video processing system and method | |
CN113727183A (en) | Live streaming method, device, equipment, storage medium and computer program product | |
KR20230086792A (en) | Method and Apparatus for Supporting Pre-Roll and Mid-Roll During Media Streaming and Playback | |
CN112887755A (en) | Method and device for playing video |
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 |
Application publication date: 20190329 |
|
RJ01 | Rejection of invention patent application after publication |