CN108174226A - Transcoding device, method and the computer readable storage medium of live video - Google Patents
Transcoding device, method and the computer readable storage medium of live video Download PDFInfo
- Publication number
- CN108174226A CN108174226A CN201711373360.6A CN201711373360A CN108174226A CN 108174226 A CN108174226 A CN 108174226A CN 201711373360 A CN201711373360 A CN 201711373360A CN 108174226 A CN108174226 A CN 108174226A
- Authority
- CN
- China
- Prior art keywords
- transcoding
- data packet
- task
- live video
- transcoding task
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 79
- 238000012545 processing Methods 0.000 claims abstract description 52
- 230000015654 memory Effects 0.000 claims abstract description 21
- 238000001514 detection method Methods 0.000 claims abstract description 20
- 230000008569 process Effects 0.000 claims description 31
- 230000005540 biological transmission Effects 0.000 claims description 13
- 230000002045 lasting effect Effects 0.000 claims description 13
- 230000006870 function Effects 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010899 nucleation Methods 0.000 description 1
- 230000000007 visual effect Effects 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23113—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234336—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by media transcoding, e.g. video is transformed into a slideshow of still pictures or audio is converted into text
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2405—Monitoring of the internal components or processes of the server, e.g. server load
-
- 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/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of transcoding devices of live video, including memory and processor, the live video transcoding program that can be run on a processor are stored on memory, which realizes following steps when being executed by processor:When starting to receive the files in stream media of plug-flow client upload, transcoding task is created for files in stream media;Transcoding task is performed, and the processing state of the data packet in data buffer queue is recorded based on the data packet in data buffer storage queue;Detection is timed to the execution state of transcoding task;If detecting, transcoding tasks carrying fails, and according to the processing state of the data packet of record, marks the first data packet node of mission failure;The first data packet node based on label restarts transcoding task.The present invention also proposes a kind of code-transferring method of live video and a kind of computer readable storage medium.The present invention improves the transcoding efficiency of live video, and can avoid user being caused to miss live content due to transcoding failure.
Description
Technical field
It can the present invention relates to a kind of direct seeding technique field more particularly to transcoding device of live video, method and computer
Read storage medium.
Background technology
When into performing network living broadcast, live video is pushed to source by plug-flow client (main broadcaster user) in the form of Streaming Media
Server, live video is typically characterised by being put on streaming media server after continuous video information compression, under user side
Side viewing is carried, without entire file download is waited for finish.Live streaming client (live streaming spectators) sends out watching request and (draws stream please
Ask), live video file stream is moved to the client of viewing side by the source server in live streaming platform.
Since the live streaming platform that spectators use when watching and being broadcast live is different, it is therefore desirable to the stream matchmaker for uploading plug-flow client
After body file carries out transcoding processing, the stream medium data of various code rate for being suitble to play in different live streaming platforms is converted to.It is existing
Some trans-coding systems are deployed in core node more, and transcoding is realized by individual transcoding machine, need after drawing stream from stream pushing server
Transcoding is carried out, then the data-pushing after transcoding is drawn for spectators in the node server of stream to other, in this process, is needed
Files in stream media is wanted to be transmitted between multiple servers, does not only result in that transcoding efficiency is low, and the probability of transcoding failure is larger,
In addition, under this transcoding mechanism, once transcoding failure occurs, after restarting to transcoding task, the mistake of transcoding task can be directly skipped
Picture during losing, leads to user's missed portion live content.
Invention content
The present invention provides a kind of transcoding device of live video, method and computer readable storage medium, main purpose
It is the transcoding efficiency of raising live video, and realizes and avoid user being caused to miss live content due to transcoding failure.
To achieve the above object, the present invention provides a kind of transcoding device of live video, which includes memory and place
Device is managed, the live video transcoding program that can be run on the processor is stored in the memory, the live video turns
Coded program realizes following steps when being performed by the processor:
When starting to receive the files in stream media of plug-flow client upload, transcoding task is created for the files in stream media,
Wherein, the plug-flow client uploads the files in stream media in a manner of lasting transmission data packet;
The data packet received is added in data buffer storage queue, and described turn is performed based on the data buffer storage queue
Code task;
The processing state of the data packet in the data buffer storage queue is carried out in the implementation procedure of the transcoding task
Record, and detection is timed to the execution state of the transcoding task;
If detecting the transcoding tasks carrying failure, according to the processing state of the data packet of record, label task is lost
The first data packet node lost;
First data packet node based on label restarts the transcoding task.
Optionally, the step of execution state to the transcoding task is timed detection includes:
The daily record data of the transcoding task is obtained, the progress msg of the transcoding task is obtained from daily record data, and
The more new state of the progress msg is monitored, wherein, when detecting the progress msg in the first preset duration not
It is updated, then judges the transcoding tasks carrying failure.
Optionally, the step of execution state to the transcoding task is timed detection includes:
The heartbeat message that detecting transcoding process periodically reports in transcoding task process is performed, wherein, continuously presetting
When detecting is less than heartbeat message in the period of quantity, the transcoding tasks carrying failure is judged.
Optionally, it is described in the implementation procedure of transcoding task to the processing state of the data packet in data buffer queue into
The step of row record, includes:
By in the data buffer storage queue complete transcoding processing data packet delete or will be in the data buffer storage queue
The packet marking for completing transcoding processing is transcoding state.
Optionally, the live video transcoding program can also be performed by the processor, to realize following steps:
After the transcoding task is restarted, using the data packet received when restarting the transcoding task as the second data packet
Node;
When performing the transcoding task after restarting, by first data packet node to second data packet node
Between data packet and task restart after the second preset duration in turn added to the data packet in the data buffer storage queue
It is changed to video frame images;
According to preset frame-skipping rule, the video frame images of the preset ratio in the video frame images being converted to are deleted;
The transcoding task is re-executed after remaining video frame images are converted to files in stream media.
In addition, to achieve the above object, the present invention also provides a kind of code-transferring method of live video, this method includes:
When starting to receive the files in stream media of plug-flow client upload, transcoding task is created for the files in stream media,
Wherein, the plug-flow client uploads the files in stream media in a manner of lasting transmission data packet;
The data packet received is added in data buffer storage queue, and described turn is performed based on the data buffer storage queue
Code task;
The processing state of the data packet in the data buffer storage queue is carried out in the implementation procedure of the transcoding task
Record, and detection is timed to the execution state of the transcoding task;
If detecting the transcoding tasks carrying failure, according to the processing state of the data packet of record, label task is lost
The first data packet node lost;
First data packet node based on label restarts the transcoding task.
Optionally, the step of execution state to the transcoding task is timed detection includes:
The daily record data of the transcoding task is obtained, the progress msg of the transcoding task is obtained from daily record data, and
The more new state of the progress msg is monitored, wherein, when detecting the progress msg in the first preset duration not
It is updated, then judges the transcoding tasks carrying failure.
Optionally, the step of execution state to the transcoding task is timed detection includes:
The heartbeat message that detecting transcoding process periodically reports in transcoding task process is performed, wherein, continuously presetting
When detecting is less than heartbeat message in the period of quantity, the transcoding tasks carrying failure is judged.
Optionally, the method further includes step:
After the transcoding task is restarted, using the data packet received when restarting the transcoding task as the second data packet
Node;
When performing the transcoding task after restarting, by first data packet node to second data packet node
Between data packet and task restart after the second preset duration in turn added to the data packet in the data buffer storage queue
It is changed to video frame images;
According to preset frame-skipping rule, the video frame images of the preset ratio in the video frame images being converted to are deleted;
The transcoding task is re-executed after remaining video frame images are converted to files in stream media.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Live video transcoding program is stored on storage medium, the live video transcoding program can be held by one or more processor
Row, the step of to realize the code-transferring method of live video as described above.
Transcoding device, method and the computer readable storage medium of live video proposed by the present invention, transcoding device are direct
The files in stream media that plug-flow client is uploaded in a manner of lasting transmission data packet is received, and creates transcoding task, will be received
Data packet be added in data buffer storage queue, based on data buffer storage queue perform transcoding task, in the execution of the transcoding task
In the process, the processing state of data packet is recorded, detection is timed to the execution state of transcoding task, if detected
Transcoding tasks carrying fails, according to the first data packet node of the processing status indication mission failure of record, based on first number
Restart transcoding task according to packet node, in the program, provide transcoding capabilities in itself by the server of reception plug-flow client plug-flow, no
It needs to perform transcoding on plug-flow to other settings, improves the efficiency of transcoding, while reduce transcoding task and fail in commission
Possibility, in addition, if transcoding failure occurs, can be restarted according to the data packet node that is marked in data buffer storage queue
Transcoding task will not skip the picture during transcoding mission failure, can avoid user being caused to miss live streaming due to transcoding failure
Content.
Description of the drawings
Fig. 1 is the schematic diagram of the transcoding device preferred embodiment of live video of the present invention;
Program module signals of the Fig. 2 for live video transcoding program in one embodiment of transcoding device of live video of the present invention
Figure;
Fig. 3 is the flow chart of the code-transferring method first embodiment of live video of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of transcoding device of live video.It is that the transcoding of live video of the present invention fills with reference to shown in Fig. 1
Put the schematic diagram of preferred embodiment.
In the present embodiment, the transcoding device of the live video includes at least memory 11, processor 12, communication bus
13 and network interface 14.
Wherein, memory 11 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory,
Hard disk, multimedia card, card-type memory (for example, SD or DX memories etc.), magnetic storage, disk, CD etc..Memory 11
It can be the internal storage unit of the transcoding device of live video in some embodiments, such as the transcoding device of the live video
Hard disk.Memory 11 can also be the External memory equipment of the transcoding device of live video in further embodiments, such as
The plug-in type hard disk being equipped on the transcoding device of live video, intelligent memory card (Smart Media Card, SMC), safe number
Word (Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, memory 11 can also both include straight
The internal storage unit for broadcasting the transcoding device of video also includes External memory equipment.Memory 11 can be not only used for storage installation
It, can be in the application software and Various types of data of the transcoding device of live video, such as code of live video transcoding program etc.
For temporarily storing the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips, for the program stored in run memory 11
Code or processing data, such as perform live video transcoding program etc..
Communication bus 13 is used to implement the connection communication between these components.
Network interface 14 can optionally include standard wireline interface and wireless interface (such as WI-FI interfaces), be commonly used in
Communication connection is established between the device and other electronic equipments.
Fig. 1 illustrates only the transcoding device of the live video with component 11-14 and live video transcoding program, still
It should be understood that, it is not required that implement all components shown, the more or less component of the implementation that can be substituted.
Optionally, which can also include user interface, and user interface can include display (Display), input
Unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface and wireless interface.It is optional
Ground, in some embodiments, display can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED
(Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..Wherein, what display can also be suitably
Referred to as display screen or display unit, it is visual for being shown in the information that is handled in the transcoding device of live video and for showing
The user interface of change.
In device embodiment shown in Fig. 1, live video transcoding program is stored in memory 11;Processor 12 performs
Following steps are realized during the live video transcoding program stored in memory 11:
When starting to receive the files in stream media of plug-flow client upload, transcoding task is created for the files in stream media,
Wherein, the plug-flow client uploads the files in stream media in a manner of lasting transmission data packet.
The data packet received is added in data buffer storage queue, and described turn is performed based on the data buffer storage queue
Code task.
In the present embodiment, it is distributed server in the server farm of deployment live broadcast system according to the level of geographic area
Distribution.For example, geographic area setting is divided into following three level:Third level be highest level, the geographic area of the level
Including national areas range, third level geographic area includes multiple second level geographic areas, such as North China region, In The Southeast Area
Domain, South China Regional, southwestern region etc., each second level geographic area can be divided into multiple first level geographic regions again
Domain, by taking South China Regional as an example, which can be divided into Guangdong region, Guangxi region, Hainan region etc. again, need what is illustrated
It is that the division of above-mentioned zone is merely illustrative, when practical application can be arranged as required to the division rule in region, not necessarily
According to administrative division.The summation of next level geographic area coverage area is equal to the coverage area in last layer grade region.
Level according to server in the level distribution setting server farm of above-mentioned geographic area is distributed.In the first level
First order node server, each first level geographic area setting at least first order node serve are disposed in geographic area
Device, for setting a first order node server by a first level geographic area in the following contents, in Guangdong region, wide
West domain, Hainan region decile do not set a first order node server, and a second level node clothes are set in South China Regional
Business device, then the second level node server is the superior node server of above several first order node servers, and so on,
The deployment of the server of each geographic area is completed, above-mentioned first order node server is edge node server.Above-mentioned distribution
Server in each region forms server farm, and the level distribution of the server farm is also in tree-like, with reference to shown in Fig. 2,
For the server tier distribution schematic diagram in server farm.
Any one server in above-mentioned server farm can be used as dispatch server, for dividing for plug-flow client
With suitable server as stream pushing server, plug-flow client by files in stream media plug-flow to the server distributed for it,
The server can simultaneously serve as the transcoding device of the live video in the present embodiment, that is to say, that can be by being located at edge section
The server sheet of point provides transcoding function as files in stream media, does not need to be sent in other equipment and performs transcoding operation.
Plug-flow client and for its distribution stream pushing server (transcoding device i.e. in the present embodiment) establish connect after, open
Begin to upload files in stream media, plug-flow client uploads files in stream media in a manner of lasting transmission data packet.Transcoding device starts
When receiving the files in stream media that plug-flow client uploads, a transcoding task is created for the Streaming Media, for a transcoding device
For, there may be multiple client simultaneously to its plug-flow, wherein, a files in stream media corresponds to a transcoding task.Transcoding
As soon as device often receives a data packet, the data packet is added in data buffer storage queue, while transcoding according to receiving time
Transcoding in device also, according to the sequencing of receiving time, the data packet in data buffer queue is carried out constantly
Transcoding processing is converted into the files in stream media for the code check for meeting live streaming platform or spectator client setting, for spectators
Client carries out drawing stream.Achieve the effect that watch when uploading by this process.Relative to the prior art, in the present embodiment
Transcoding device both as stream pushing server, for receiving the plug-flow of plug-flow client, while also provides transcoding function, is not required in itself
Files in stream media is shifted onto again on other transcoding machines and carry out transcoding, the efficiency of transcoding can not only be improved, reduced simultaneously
The possibility that transcoding task fails in commission.
The processing state of the data packet in the data buffer storage queue is carried out in the implementation procedure of the transcoding task
Record, and detection is timed to the execution state of the transcoding task.
If detecting the transcoding tasks carrying failure, according to the processing state of the data packet of record, label task is lost
The first data packet node lost.
First data packet node based on label restarts the transcoding task.
In normal transcoding process, the transcoding processing of a data packet is completed, then by the data in data buffer storage queue
The status indication of packet is deleted for transcoding state or from queue the data packet, and to distinguish those in queue, there are no quilts
The data packet of transcoding.
In the following manner is referred to about the execution state of transcoding task and the judgement of execution failure:
Mode one obtains the daily record data of the transcoding task, and the progress of the transcoding task is obtained from daily record data
Information, and being monitored to the more new state of the progress msg, wherein, when detecting the progress msg when first is default
It is not updated in long, then judges the transcoding tasks carrying failure.It, can be periodically to its day in the implementation procedure of transcoding task
Progress msg in will data is updated the implementation progress with logger task, therefore by the information in daily record data
Update status, which is monitored, can judge whether transcoding task fails.
Mode two, the heartbeat message that transcoding process periodically reports in transcoding task process is performed, if transcoding fills
When putting within the period of continuous preset quantity detecting less than heartbeat message, judgement transcoding process stopped transcoding operation, and then sentence
The fixed transcoding tasks carrying failure.
After transcoding mission failure is judged, the processing state of the data packet in the data buffer storage queue of record determines
The earliest data packet for carrying out transcoding processing not yet of receiving time, it can be determined that be that transcoding task occurs at the data packet to lose
It loses, the first data packet node of label at the data packet.Then transcoding process is established, the first data packet node weight based on label
Newly start the transcoding task, that is to say, that continued to execute at the data packet of label transcoding operation rather than from restarting transcoding
Task when, plug-flow client upload data packet start transcoding operation.Therefore, spectator client restores to connect in server
Afterwards, continue to draw from server end and flow, then can continue to play video according to content when stopping, it is straight during cutout will not be missed
Broadcast content.
The transcoding device for the live video that the present embodiment proposes, transcoding device directly receive plug-flow client with lasting transmission
The files in stream media that the mode of data packet uploads, and transcoding task is created, the data packet received is added to data buffer storage team
In row, transcoding task is performed based on data buffer storage queue, in the implementation procedure of the transcoding task, to the processing state of data packet
It is recorded, detection is timed to the execution state of transcoding task, if detecting that transcoding tasks carrying fails, according to record
Processing status indication mission failure the first data packet node, transcoding task, the party are restarted based on first data packet node
In case, transcoding capabilities are provided in itself by the server of reception plug-flow client plug-flow, do not need to hold on plug-flow to other settings
Row transcoding, improves the efficiency of transcoding, while reduces the possibility that transcoding task fails in commission, in addition, if occurring to turn
Code failure can restart transcoding task according to the data packet node marked in data buffer storage queue, will not skip transcoding and appoint
Picture during business failure can avoid user being caused to miss live content due to transcoding failure.
The second embodiment of the transcoding device of live video of the present invention is proposed based on first embodiment.In the present embodiment,
Live video transcoding program can also be performed by the processor, to realize following steps:
After the transcoding task is restarted, using the data packet received when restarting the transcoding task as the second data packet
Node;Perform restart after the transcoding task when, by first data packet node to second data packet node it
Between data packet and task restart after the second preset duration in added to the data packet conversion in the data buffer storage queue
For video frame images;According to preset frame-skipping rule, the video frame of the preset ratio in the video frame images being converted to is deleted
Image;The transcoding task is re-executed after remaining video frame images are converted to files in stream media.
Since have occurred transcoding task performs failure, the transcoding process of a files in stream media is caused to be interrupted, turned
During code tasks interrupt, plug-flow client is still constantly uploading data packet, and is stored in data buffer storage queue, and this
A little data packets are in not by the state of transcoding, then to draw less than stream at spectator client before transcoding task is restarted.It sees
Many clients judge to be stopped at server after multiple trial is drawn less than stream.Side based on above-mentioned first embodiment
Case, after transcoding task is restarted, during being interrupted to transcoding, the data packet accumulated in data buffer storage queue continues to turn
Code processing.Length during being interrupted due to transcoding is unfixed, when longer during this period, after restarting transcoding task, in queue
Excessive data packet can be accumulated, if a pair of these data packet transcodings processing, can lead to spectator client and plug-flow client
The live content at place is asynchronous, influences exchanging between main broadcaster and spectators, therefore, in order to avoid such case, is avoiding because turning
Code failure and while cause the user to miss live content, scheme through this embodiment ensures after transcoding task is restarted
In short period, spectator client is made to reach synchronous with the live content at plug-flow client, promote user experience.
Specifically, after task is restarted, using the data packet received when restarting the transcoding task as the second data packet section
Point, the second preset duration after the first data packet node is restarted to the data packet between the second data packet node and task
The interior data packet added in data buffer storage queue is converted to video frame images, according to preset frame-skipping rule to being converted to
Video frame images carry out frame-skipping processing, to delete the video frame images of preset ratio in all videos frame image walked around,
Preset frame-skipping rule can be at interval of m frame image-erasing n frame images, for example, at interval of one frame image of a frame image-erasing,
Delete in the video frame images being converted to 1/2 video frame images;Alternatively, at interval of two frame image-erasings, one frame image, delete
Except 1/3 video frame images etc. in the video frame images being converted to.It will remaining video frame images be again after frame-skipping is handled
Files in stream media is converted to, scheme in this way shortens reproduction time of this section of video content on spectator client, and then
Spectator client after the second preset duration, is made to reach synchronous with the live content at plug-flow client, is being continued according to just
Normal transcoding process processing, no longer frame-skipping are handled.It is understood that it can be carried out as unit of a certain amount of data packet primary
Frame-skipping is handled, it is not necessary to which the second preset duration after restarting to task carries out again.
Alternatively, it in other embodiments, by spectator client in the third preset duration after forgetting about it stream again, will receive
To files in stream media be converted to and frame-skipping broadcasting carried out after video frame images, such as the video frame deletion at interval of certain data volume
Fall one or several sheets video frame images, so that the playing progress rate of spectator client reaches synchronous with plug-flow client.
Optionally, in other examples, live video transcoding program can also be divided into one or more mould
Block, one or more module are stored in memory 11, and (the present embodiment is processor by one or more processors
12) performed to complete the present invention, the so-called module of the present invention is the series of computation machine program for referring to complete specific function
Instruction segment, for describing implementation procedure of the live video transcoding program in the transcoding device of live video.
For example, referring to shown in Fig. 2, be live video of the present invention one embodiment of transcoding device in live video transcoding journey
The program module schematic diagram of sequence, in the embodiment, live video transcoding program can be divided into task creation module 10, task
Execution module 20, task monitoring modular 30, status indication module 40 and task restart module 50, illustratively:
Task creation module 10 is used for:It is the stream matchmaker when starting to receive the files in stream media of plug-flow client upload
Body document creation transcoding task, wherein, the plug-flow client uploads the Streaming Media text in a manner of lasting transmission data packet
Part;
Task execution module 20 is used for:The data packet received is added in data buffer storage queue, and based on the number
The transcoding task is performed according to buffer queue;
Task monitoring modular 30 is used for:To the number in the data buffer storage queue in the implementation procedure of the transcoding task
It is recorded according to the processing state of packet, and detection is timed to the execution state of the transcoding task;
Status indication module 40 is used for:If the transcoding tasks carrying failure is detected, according to the data packet of record
Processing state marks the first data packet node of mission failure;
Task is restarted module 50 and is used for:First data packet node based on label restarts the transcoding task.
Above-mentioned task creation module 10, task execution module 20, task monitoring modular 30, status indication module 40 and task
Restart the program modules such as module 50 and be performed realized functions or operations step and be substantially the same with above-described embodiment, herein not
It repeats again.
In addition, the present invention also provides a kind of code-transferring methods of live video.It is live video of the present invention with reference to shown in Fig. 3
Code-transferring method first embodiment flow chart.This method can be performed by device, which can be by software and/or hard
Part is realized.
In the present embodiment, the code-transferring method of live video includes:
Step S10 when starting to receive the files in stream media of plug-flow client upload, is created for the files in stream media and is turned
Code task, wherein, the plug-flow client uploads the files in stream media in a manner of lasting transmission data packet.
The data packet received is added in data buffer storage queue, and is held based on the data buffer storage queue by step S20
The row transcoding task.
Using transcoding server as executive agent, to the method for the present invention embodiment illustrates the following contents.In this implementation
In example, according to the distribution of server in the server farm of the level distribution deployment live broadcast system of geographic area.For example, by geographical
Region setting is divided into following three level:Third level is highest level, and the geographic area of the level includes national areas range,
Third level geographic area includes multiple second level geographic areas, such as North China region, South East area, South China Regional, Southwest Region
Domain etc., each second level geographic area can be divided into multiple first level geographic areas again, should by taking South China Regional as an example
Region can be divided into Guangdong region, Guangxi region, Hainan region etc. again, it should be noted that the division of above-mentioned zone is
For example, the division rule in region can be arranged as required to during practical application, not necessarily according to administrative division.It is next
The summation of level geographic area coverage area is equal to the coverage area in last layer grade region.
Level according to server in the level distribution setting server farm of above-mentioned geographic area is distributed.In the first level
First order node server, each first level geographic area setting at least first order node serve are disposed in geographic area
Device, for setting a first order node server by a first level geographic area in the following contents, in Guangdong region, wide
West domain, Hainan region decile do not set a first order node server, and a second level node clothes are set in South China Regional
Business device, then the second level node server is the superior node server of above several first order node servers, and so on,
The deployment of the server of each geographic area is completed, above-mentioned first order node server is edge node server.Above-mentioned distribution
Server in each region forms server farm, and the level distribution of the server farm is also in tree-like, with reference to shown in Fig. 2,
For the server tier distribution schematic diagram in server farm.
Any one server in above-mentioned server farm can be used as dispatch server, for dividing for plug-flow client
With suitable server as stream pushing server, plug-flow client by files in stream media plug-flow to the server distributed for it,
The server can simultaneously serve as the transcoding server of the live video in the present embodiment, that is to say, that can be by being located at edge
The server sheet of node provides transcoding function as files in stream media, does not need to be sent in other equipment and performs transcoding operation.
Plug-flow client and for its distribution stream pushing server (transcoding server i.e. in the present embodiment) establish connect after,
Start to upload files in stream media, plug-flow client uploads files in stream media in a manner of lasting transmission data packet.Transcoding server
When starting to receive the files in stream media of plug-flow client upload, a transcoding task is created for the Streaming Media, for a transcoding
For server, there may be multiple client simultaneously to its plug-flow, wherein, a files in stream media corresponds to a transcoding and appoints
Business.As soon as transcoding server often receives a data packet, the data packet is added in data buffer storage queue according to receiving time,
The transcoding in transcoding server is carried out also constantly according to the sequencing of receiving time simultaneously, in data buffer queue
Data packet carries out transcoding processing, is converted into the Streaming Media text for the code check for meeting live streaming platform or spectator client setting
Part, so that spectator client carries out drawing stream.Achieve the effect that watch when uploading by this process.Relative to the prior art,
Transcoding server in the present embodiment method is both used as stream pushing server in itself, for receiving the plug-flow of plug-flow client, simultaneously
Transcoding function is also provided, does not need to again shift files in stream media onto on other transcoding machines and carries out transcoding, can not only improve and turn
The efficiency of code, while reduce the possibility that transcoding task fails in commission.
Step S30, to the processing of the data packet in the data buffer storage queue in the implementation procedure of the transcoding task
State is recorded, and is timed detection to the execution state of the transcoding task.
Step S40, if the transcoding tasks carrying failure is detected, according to the processing state of the data packet of record, mark
Remember the first data packet node of mission failure.
Step S50, first data packet node based on label restart the transcoding task.
In normal transcoding process, the transcoding processing of a data packet is completed, then by the data in data buffer storage queue
The status indication of packet is deleted for transcoding state or from queue the data packet, and to distinguish those in queue, there are no quilts
The data packet of transcoding.
In the following manner is referred to about the execution state of transcoding task and the judgement of execution failure:
Mode one obtains the daily record data of the transcoding task, and the progress of the transcoding task is obtained from daily record data
Information, and being monitored to the more new state of the progress msg, wherein, when detecting the progress msg when first is default
It is not updated in long, then judges the transcoding tasks carrying failure.It, can be periodically to its day in the implementation procedure of transcoding task
Progress msg in will data is updated the implementation progress with logger task, therefore by the information in daily record data
Update status, which is monitored, can judge whether transcoding task fails.
Mode two, the heartbeat message that transcoding process periodically reports in transcoding task process is performed, if transcoding takes
When business device is detected within the period of continuous preset quantity less than heartbeat message, judgement transcoding process stopped transcoding operation, and then
Judge the transcoding tasks carrying failure.
After transcoding mission failure is judged, the processing state of the data packet in the data buffer storage queue of record determines
The earliest data packet for carrying out transcoding processing not yet of receiving time, it can be determined that be that transcoding task occurs at the data packet to lose
It loses, the first data packet node of label at the data packet.Then transcoding process is established, the first data packet node weight based on label
Newly start the transcoding task, that is to say, that continued to execute at the data packet of label transcoding operation rather than from restarting transcoding
Task when, plug-flow client upload data packet start transcoding operation.Therefore, spectator client restores to connect in server
Afterwards, continue to draw from server end and flow, then can continue to play video according to content when stopping, it is straight during cutout will not be missed
Broadcast content.
In the code-transferring method for the live video that the present embodiment proposes, plug-flow client is received with the side of lasting transmission data packet
The files in stream media that formula uploads, and transcoding task is created, the data packet received is added in data buffer storage queue, based on number
Transcoding task is performed according to buffer queue, in the implementation procedure of the transcoding task, the processing state of data packet is recorded, it is right
The execution state of transcoding task is timed detection, if detecting that transcoding tasks carrying fails, according to the processing state of record
The first data packet node of mission failure is marked, transcoding task is restarted based on first data packet node, in the program, by receiving
The server of plug-flow client plug-flow provides transcoding capabilities in itself, does not need to perform transcoding on plug-flow to other settings, improve
The efficiency of transcoding, while the possibility that transcoding task fails in commission is reduced, in addition, if transcoding failure occurs, it can
Transcoding task is restarted according to the data packet node marked in data buffer storage queue, during transcoding mission failure will not be skipped
Picture can avoid user being caused to miss live content due to transcoding failure.
The second embodiment of the code-transferring method of live video of the present invention is proposed based on first embodiment.In the present embodiment,
Live video transcoding program can also be performed by the processor, to realize following steps:
After the transcoding task is restarted, using the data packet received when restarting the transcoding task as the second data packet
Node;Perform restart after the transcoding task when, by first data packet node to second data packet node it
Between data packet and task restart after the second preset duration in added to the data packet conversion in the data buffer storage queue
For video frame images;According to preset frame-skipping rule, the video frame of the preset ratio in the video frame images being converted to is deleted
Image;The transcoding task is re-executed after remaining video frame images are converted to files in stream media.
Since have occurred transcoding task performs failure, the transcoding process of a files in stream media is caused to be interrupted, turned
During code tasks interrupt, plug-flow client is still constantly uploading data packet, and is stored in data buffer storage queue, and this
A little data packets are in not by the state of transcoding, then to draw less than stream at spectator client before transcoding task is restarted.It sees
Many clients judge to be stopped at server after multiple trial is drawn less than stream.Side based on above-mentioned first embodiment
Case, after transcoding task is restarted, during being interrupted to transcoding, the data packet accumulated in data buffer storage queue continues to turn
Code processing.Length during being interrupted due to transcoding is unfixed, when longer during this period, after restarting transcoding task, in queue
Excessive data packet can be accumulated, if a pair of these data packet transcodings processing, can lead to spectator client and plug-flow client
The live content at place is asynchronous, influences exchanging between main broadcaster and spectators, therefore, in order to avoid such case, is avoiding because turning
Code failure and while cause the user to miss live content, scheme through this embodiment ensures after transcoding task is restarted
In short period, spectator client is made to reach synchronous with the live content at plug-flow client, promote user experience.
Specifically, after task is restarted, using the data packet received when restarting the transcoding task as the second data packet section
Point, the second preset duration after the first data packet node is restarted to the data packet between the second data packet node and task
The interior data packet added in data buffer storage queue is converted to video frame images, according to preset frame-skipping rule to being converted to
Video frame images carry out frame-skipping processing, to delete the video frame images of preset ratio in all videos frame image walked around,
Preset frame-skipping rule can be at interval of m frame image-erasing n frame images, for example, at interval of one frame image of a frame image-erasing,
Delete in the video frame images being converted to 1/2 video frame images;Alternatively, at interval of two frame image-erasings, one frame image, delete
Except 1/3 video frame images etc. in the video frame images being converted to.It will remaining video frame images be again after frame-skipping is handled
Files in stream media is converted to, scheme in this way shortens reproduction time of this section of video content on spectator client, and then
Spectator client after the second preset duration, is made to reach synchronous with the live content at plug-flow client, is being continued according to just
Normal transcoding process processing, no longer frame-skipping are handled.It is understood that it can be carried out as unit of a certain amount of data packet primary
Frame-skipping is handled, it is not necessary to which the second preset duration after restarting to task carries out again.
Alternatively, it in other embodiments, by spectator client in the third preset duration after forgetting about it stream again, will receive
To files in stream media be converted to and frame-skipping broadcasting carried out after video frame images, such as the video frame deletion at interval of certain data volume
Fall one or several sheets video frame images, so that the playing progress rate of spectator client reaches synchronous with plug-flow client.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with live video transcoding program, the live video transcoding program can be executed by one or more processors, with realize
Following operation:
When starting to receive the files in stream media of plug-flow client upload, transcoding task is created for the files in stream media,
Wherein, the plug-flow client uploads the files in stream media in a manner of lasting transmission data packet;
The data packet received is added in data buffer storage queue, and described turn is performed based on the data buffer storage queue
Code task;
The processing state of the data packet in the data buffer storage queue is carried out in the implementation procedure of the transcoding task
Record, and detection is timed to the execution state of the transcoding task;
If detecting the transcoding tasks carrying failure, according to the processing state of the data packet of record, label task is lost
The first data packet node lost;
First data packet node based on label restarts the transcoding task.
Further, following operation is also realized when the live video transcoding program is executed by processor:
The daily record data of the transcoding task is obtained, the progress msg of the transcoding task is obtained from daily record data, and
The more new state of the progress msg is monitored, wherein, when detecting the progress msg in the first preset duration not
It is updated, then judges the transcoding tasks carrying failure.
Further, following operation is also realized when the live video transcoding program is executed by processor:
The heartbeat message that detecting transcoding process periodically reports in transcoding task process is performed, wherein, continuously presetting
When detecting is less than heartbeat message in the period of quantity, the transcoding tasks carrying failure is judged.
Further, following operation is also realized when the live video transcoding program is executed by processor:
After the transcoding task is restarted, using the data packet received when restarting the transcoding task as the second data packet
Node;
When performing the transcoding task after restarting, by first data packet node to second data packet node
Between data packet and task restart after the second preset duration in turn added to the data packet in the data buffer storage queue
It is changed to video frame images;
According to preset frame-skipping rule, the video frame images of the preset ratio in the video frame images being converted to are deleted;
The transcoding task is re-executed after remaining video frame images are converted to files in stream media.
Computer readable storage medium specific embodiment of the present invention and the transcoding device and method of above-mentioned live video are each
Embodiment is essentially identical, does not make tired state herein.
It should be noted that the embodiments of the present invention are for illustration only, the quality of embodiment is not represented.And
Term " comprising " herein, "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that packet
It includes process, device, article or the method for a series of elements and not only includes those elements, but also including being not explicitly listed
It other element or further includes as this process, device, article or the intrinsic element of method.Do not limiting more
In the case of, the element that is limited by sentence "including a ...", it is not excluded that in the process including the element, device, article
Or also there are other identical elements in method.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of transcoding device of live video, which is characterized in that described device includes memory and processor, the memory
On be stored with the live video transcoding program that can be run on the processor, the live video transcoding program is by the processing
Device realizes following steps when performing:
When starting to receive the files in stream media of plug-flow client upload, transcoding task is created for the files in stream media, wherein,
The plug-flow client uploads the files in stream media in a manner of lasting transmission data packet;
The data packet received is added in data buffer storage queue, and the transcoding is performed based on the data buffer storage queue and is appointed
Business;
The processing state of the data packet in the data buffer storage queue is recorded in the implementation procedure of the transcoding task,
And detection is timed to the execution state of the transcoding task;
If detecting the transcoding tasks carrying failure, according to the processing state of the data packet of record, mission failure is marked
First data packet node;
First data packet node based on label restarts the transcoding task.
2. the transcoding device of live video according to claim 1, which is characterized in that described to be held to the transcoding task
The step of row state is timed detection includes:
The daily record data of the transcoding task is obtained, the progress msg of the transcoding task is obtained from daily record data, and to institute
The more new state for stating progress msg is monitored, wherein, when detecting the progress msg in the first preset duration not by more
New mistake then judges the transcoding tasks carrying failure.
3. the transcoding device of live video according to claim 1, which is characterized in that described to be held to the transcoding task
The step of row state is timed detection includes:
The heartbeat message that detecting transcoding process periodically reports in transcoding task process is performed, wherein, in continuous preset quantity
Period in detecting less than heartbeat message when, judge transcoding tasks carrying failure.
4. the transcoding device of live video according to any one of claim 1 to 3, which is characterized in that described in transcoding
The step of being recorded in the implementation procedure of task to the processing state of the data packet in data buffer queue includes:
The data packet that transcoding processing is completed in the data buffer storage queue is deleted or will be completed in the data buffer storage queue
The packet marking of transcoding processing is transcoding state.
5. the transcoding device of live video according to any one of claim 1 to 3, which is characterized in that the live streaming regards
Frequency transcoding program can also be performed by the processor, to realize following steps:
After the transcoding task is restarted, using the data packet received when restarting the transcoding task as the second data packet section
Point;
When performing the transcoding task after restarting, by first data packet node between second data packet node
Data packet and task restart after the second preset duration in be converted to added to the data packet in the data buffer storage queue
Video frame images;
According to preset frame-skipping rule, the video frame images of the preset ratio in the video frame images being converted to are deleted;
The transcoding task is re-executed after remaining video frame images are converted to files in stream media.
6. a kind of code-transferring method of live video, which is characterized in that the method includes:
When starting to receive the files in stream media of plug-flow client upload, transcoding task is created for the files in stream media, wherein,
The plug-flow client uploads the files in stream media in a manner of lasting transmission data packet;
The data packet received is added in data buffer storage queue, and the transcoding is performed based on the data buffer storage queue and is appointed
Business;
The processing state of the data packet in the data buffer storage queue is recorded in the implementation procedure of the transcoding task,
And detection is timed to the execution state of the transcoding task;
If detecting the transcoding tasks carrying failure, according to the processing state of the data packet of record, mission failure is marked
First data packet node;
First data packet node based on label restarts the transcoding task.
7. the code-transferring method of live video according to claim 6, which is characterized in that described to be held to the transcoding task
The step of row state is timed detection includes:
The daily record data of the transcoding task is obtained, the progress msg of the transcoding task is obtained from daily record data, and to institute
The more new state for stating progress msg is monitored, wherein, when detecting the progress msg in the first preset duration not by more
New mistake then judges the transcoding tasks carrying failure.
8. the code-transferring method of live video according to claim 6, which is characterized in that described to be held to the transcoding task
The step of row state is timed detection includes:
The heartbeat message that detecting transcoding process periodically reports in transcoding task process is performed, wherein, in continuous preset quantity
Period in detecting less than heartbeat message when, judge transcoding tasks carrying failure.
9. the code-transferring method of the live video according to any one of claim 6 to 8, which is characterized in that the method is also
Including step:
After the transcoding task is restarted, using the data packet received when restarting the transcoding task as the second data packet section
Point;
When performing the transcoding task after restarting, by first data packet node between second data packet node
Data packet and task restart after the second preset duration in be converted to added to the data packet in the data buffer storage queue
Video frame images;
According to preset frame-skipping rule, the video frame images of the preset ratio in the video frame images being converted to are deleted;
The transcoding task is re-executed after remaining video frame images are converted to files in stream media.
10. a kind of computer readable storage medium, which is characterized in that be stored with live streaming on the computer readable storage medium and regard
Frequency transcoding program, the live video transcoding program can be performed by one or more processor, with realize as claim 6 to
The step of code-transferring method of live video described in any one of 9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711373360.6A CN108174226B (en) | 2017-12-19 | 2017-12-19 | Transcoding device and method for live video and computer readable storage medium |
PCT/CN2018/076116 WO2019119633A1 (en) | 2017-12-19 | 2018-02-10 | Live video transcoding device, method and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711373360.6A CN108174226B (en) | 2017-12-19 | 2017-12-19 | Transcoding device and method for live video and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108174226A true CN108174226A (en) | 2018-06-15 |
CN108174226B CN108174226B (en) | 2020-11-10 |
Family
ID=62522892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711373360.6A Active CN108174226B (en) | 2017-12-19 | 2017-12-19 | Transcoding device and method for live video and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108174226B (en) |
WO (1) | WO2019119633A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109640109A (en) * | 2018-12-14 | 2019-04-16 | 网宿科技股份有限公司 | A kind of method and device that live video stream transcoding reappears extremely |
CN111093107A (en) * | 2019-12-18 | 2020-05-01 | 深圳市麦谷科技有限公司 | Method and device for playing real-time live stream |
CN112532972A (en) * | 2020-11-26 | 2021-03-19 | 北京百度网讯科技有限公司 | Fault detection method and device for live broadcast service, electronic equipment and readable storage medium |
CN113055693A (en) * | 2021-04-20 | 2021-06-29 | 上海哔哩哔哩科技有限公司 | Data processing method and device |
CN113906764A (en) * | 2019-09-23 | 2022-01-07 | 谷歌有限责任公司 | Interruptible video transcoding |
CN114845141A (en) * | 2022-04-18 | 2022-08-02 | 上海哔哩哔哩科技有限公司 | Edge transcoding method and device |
CN118450161A (en) * | 2024-07-04 | 2024-08-06 | 北京轻松怡康信息技术有限公司 | Management method and system for live video data storage service |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111629233B (en) * | 2020-05-29 | 2022-03-25 | 北京华夏电通科技股份有限公司 | Audio and video transcoding method and device |
CN113094146B (en) * | 2021-05-08 | 2023-04-07 | 腾讯科技(深圳)有限公司 | Interaction method, device and equipment based on live broadcast and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013155457A1 (en) * | 2012-04-12 | 2013-10-17 | Google Inc. | Live streaming video processing |
US20150124872A1 (en) * | 2013-11-01 | 2015-05-07 | Broadcom Corporation | Color blending prevention in video coding |
CN105898554A (en) * | 2015-12-18 | 2016-08-24 | 乐视云计算有限公司 | Real-time transcoding monitoring method and real-time transcoding system |
CN106454391A (en) * | 2016-10-31 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Method, apparatus and terminal of converting live to on-demand |
CN106488169A (en) * | 2015-08-28 | 2017-03-08 | 腾讯科技(深圳)有限公司 | A kind of method of data transfer, system and relevant device |
CN106791932A (en) * | 2017-01-06 | 2017-05-31 | 广州亦云信息技术股份有限公司 | Distributed trans-coding system, method and its device |
CN107135400A (en) * | 2017-06-12 | 2017-09-05 | 上海高顿教育培训有限公司 | A kind of method for reducing network direct broadcasting delay |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9621930B2 (en) * | 2010-05-07 | 2017-04-11 | Deutsche Telekom Ag | Distributed transcoding of video frames for transmission in a communication network |
US9137151B2 (en) * | 2012-05-18 | 2015-09-15 | Google Technology Holdings LLC | Redundant architecture for failover of transcoder instances |
CN103686207A (en) * | 2013-12-04 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Transcoding task scheduling method and system |
US9661045B2 (en) * | 2014-01-13 | 2017-05-23 | Cisco Technology, Inc. | System and methods for dynamic transcoder rate adaption for adaptive bit rate streaming |
CN104243998B (en) * | 2014-09-29 | 2018-01-09 | 广州华多网络科技有限公司 | A kind of data processing method, device and associated server |
CN105657451B (en) * | 2016-01-14 | 2018-06-22 | 世纪龙信息网络有限责任公司 | Uploaded videos file is carried out at the same time the method and system of transcoding |
-
2017
- 2017-12-19 CN CN201711373360.6A patent/CN108174226B/en active Active
-
2018
- 2018-02-10 WO PCT/CN2018/076116 patent/WO2019119633A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013155457A1 (en) * | 2012-04-12 | 2013-10-17 | Google Inc. | Live streaming video processing |
US20150124872A1 (en) * | 2013-11-01 | 2015-05-07 | Broadcom Corporation | Color blending prevention in video coding |
CN106488169A (en) * | 2015-08-28 | 2017-03-08 | 腾讯科技(深圳)有限公司 | A kind of method of data transfer, system and relevant device |
CN105898554A (en) * | 2015-12-18 | 2016-08-24 | 乐视云计算有限公司 | Real-time transcoding monitoring method and real-time transcoding system |
CN106454391A (en) * | 2016-10-31 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Method, apparatus and terminal of converting live to on-demand |
CN106791932A (en) * | 2017-01-06 | 2017-05-31 | 广州亦云信息技术股份有限公司 | Distributed trans-coding system, method and its device |
CN107135400A (en) * | 2017-06-12 | 2017-09-05 | 上海高顿教育培训有限公司 | A kind of method for reducing network direct broadcasting delay |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109640109A (en) * | 2018-12-14 | 2019-04-16 | 网宿科技股份有限公司 | A kind of method and device that live video stream transcoding reappears extremely |
CN109640109B (en) * | 2018-12-14 | 2021-02-26 | 网宿科技股份有限公司 | Method and device for abnormally reproducing transcoding of live video stream |
CN113906764A (en) * | 2019-09-23 | 2022-01-07 | 谷歌有限责任公司 | Interruptible video transcoding |
CN113906764B (en) * | 2019-09-23 | 2023-01-31 | 谷歌有限责任公司 | Method, apparatus and computer readable medium for transcoding video |
US11800160B2 (en) | 2019-09-23 | 2023-10-24 | Google Llc | Interruptible video transcoding |
CN111093107A (en) * | 2019-12-18 | 2020-05-01 | 深圳市麦谷科技有限公司 | Method and device for playing real-time live stream |
CN112532972A (en) * | 2020-11-26 | 2021-03-19 | 北京百度网讯科技有限公司 | Fault detection method and device for live broadcast service, electronic equipment and readable storage medium |
CN112532972B (en) * | 2020-11-26 | 2023-10-03 | 北京百度网讯科技有限公司 | Fault detection method and device for live broadcast service, electronic equipment and readable storage medium |
CN113055693A (en) * | 2021-04-20 | 2021-06-29 | 上海哔哩哔哩科技有限公司 | Data processing method and device |
CN114845141A (en) * | 2022-04-18 | 2022-08-02 | 上海哔哩哔哩科技有限公司 | Edge transcoding method and device |
CN118450161A (en) * | 2024-07-04 | 2024-08-06 | 北京轻松怡康信息技术有限公司 | Management method and system for live video data storage service |
CN118450161B (en) * | 2024-07-04 | 2024-09-10 | 北京轻松怡康信息技术有限公司 | Management method and system for live video data storage service |
Also Published As
Publication number | Publication date |
---|---|
CN108174226B (en) | 2020-11-10 |
WO2019119633A1 (en) | 2019-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108174226A (en) | Transcoding device, method and the computer readable storage medium of live video | |
CN103069822B (en) | Dispensing device, sending method, reception device, method of reseptance and broadcast system | |
CN108055264A (en) | Dispatching device, method and the computer readable storage medium of stream pushing server | |
CN202282838U (en) | Receiving equipment, transmitting equipment and broadcasting system | |
CN102572541B (en) | Television subscriber interaction method and system | |
US10484487B2 (en) | System and method for predictive delivery of prioritized content | |
CN108920120B (en) | Information display control method and device | |
KR20160016945A (en) | Synchronizing an application on a companion device | |
CN105872621A (en) | Method, device and terminal for realizing startup advertisement of smart TV | |
CN107690081B (en) | Video playing method and device, storage medium and electronic device | |
CN104091287A (en) | Task implementation method and device based on data driving | |
CN101621398A (en) | Client/server system and method for automatic multi-client synchronous configuration thereof | |
CN104202667A (en) | IPTV (internet protocol television) set-top box upgrading method and system | |
CN108174267A (en) | The sending device of interactive information, method and computer readable storage medium in live streaming | |
WO2016189348A1 (en) | Crowd-sourced video generation | |
JP2008205980A (en) | Information transmission system, information transmission method and information display device | |
CN110245020B (en) | Mobile phone content forensics method and system based on multiple forensics devices | |
US10033882B2 (en) | System and method for time shifting cellular data transfers | |
CN103955487A (en) | Information prompting method and device | |
CN103248712A (en) | Simultaneous broadcasting management method and system of multi-media electronic screen | |
CN103533433A (en) | Intelligent television player picture advertisement delivery method and system | |
CN111582925A (en) | Advertisement monitoring method and multimedia monitoring terminal | |
US9756393B2 (en) | Recording option for advertised programs | |
CN104111822A (en) | Method, device and system for changing fonts for application programs | |
CN105828109A (en) | Server, client and RTSP/RTP-based playing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |