CN106210884B - The code-transferring method and device of video file - Google Patents
The code-transferring method and device of video file Download PDFInfo
- Publication number
- CN106210884B CN106210884B CN201610550922.9A CN201610550922A CN106210884B CN 106210884 B CN106210884 B CN 106210884B CN 201610550922 A CN201610550922 A CN 201610550922A CN 106210884 B CN106210884 B CN 106210884B
- Authority
- CN
- China
- Prior art keywords
- target
- video
- stream
- video stream
- source
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000012545 processing Methods 0.000 claims abstract description 42
- 230000008569 process Effects 0.000 abstract description 21
- 238000005516 engineering process Methods 0.000 abstract description 8
- 230000015654 memory Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000000926 separation method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000006731 degradation reaction Methods 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012360 testing method Methods 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/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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
Abstract
The invention discloses a kind of code-transferring method of video file and devices.Wherein, this method comprises: obtaining source video stream from source video file to be transcoded;Pre- transcoding processing is carried out to source video stream, obtains target position information, wherein target position information is used to indicate the target position of every IDR frame;Source video stream is transcoded at least two-way target video stream according to target position information, wherein at least the position of every IDR frame is aligned with target position in the target video stream of the road two-way target video Liu Zhongmei.The present invention solves video in the related technology and switches slack technical problem in playing process.
Description
Technical field
The present invention relates to MultiMedia Fields, in particular to the code-transferring method and device of a kind of video file.
Background technique
In the video industry in existing society, video playing experience is critically important for each video website, and video is broadcast
The fluency put is that major video website is pursued a goal.Because the smooth broadcasting without Caton, is most basic for users
It is required that.However, due in today's society, since domestic network foundation environment is poor, often there is network congestion etc. and asks
Topic leads to occur phenomena such as buffering, Caton in the online playing process of video, has seriously affected user experience in turn.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of code-transferring method of video file and devices, at least to solve to regard in the related technology
Frequency switches slack technical problem in playing process.
According to an aspect of an embodiment of the present invention, a kind of code-transferring method of video file is provided, comprising: to be transcoded
Source video file in obtain source video stream;Pre- transcoding processing is carried out to the source video stream, obtains target position information,
In, the target position information is used to indicate the target position of every IDR frame;According to the target position information by the source video stream
It is transcoded at least two-way target video stream, wherein every IDR frame in the target video stream of the road at least two-way target video Liu Zhongmei
Position be aligned with the target position.
According to another aspect of an embodiment of the present invention, a kind of transcoding device of video file is additionally provided, comprising: first obtains
Unit is taken, for obtaining source video stream from source video file to be transcoded;Processing unit, for being carried out to the source video stream
Pre- transcoding processing, obtains target position information, wherein the target position information is used to indicate the target position of every IDR frame;First
Transcoding units, for the source video stream to be transcoded at least two-way target video stream according to the target position information, wherein
The position of every IDR frame is aligned with the target position in the target video stream of the road at least two-way target video Liu Zhongmei.
In embodiments of the present invention, using the acquisition source video stream from source video file to be transcoded;To the source video
Stream carries out pre- transcoding processing, obtains target position information, wherein the target position information is used to indicate the target position of every IDR frame
It sets;The source video stream is transcoded at least two-way target video stream according to the target position information, wherein described at least two
The mode that the position of every IDR frame is aligned with the target position in the target video stream of the road road target video Liu Zhongmei, first to obtaining
Get source video stream and carry out pre- transcoding processing, according to after processing to target position information determine the target position of every IDR frame,
Then, on the basis of getting target position information, at least two-way target that source video stream is transcoded into different resolution is regarded
Frequency flows, wherein and the position of the every IDR frame at least in two-way target video stream in each target video stream is aligned with target position, because
This can be arbitrarily switched in target video stream when video is in playing process, be not in weight when video switches over
The phenomenon that replay is put, has achieved the purpose that smoothly switching between the video flowing of different code streams, to realize video playing mistake
The technical effect of smooth switching is able to carry out in journey, so solve video in the related technology switch in playing process it is not smooth
The technical issues of.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the hardware environment of the code-transferring method of video file according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the code-transferring method of optional video file according to an embodiment of the present invention;
Fig. 3 is a kind of flow chart of the code-transferring method of optional video file according to an embodiment of the present invention;
Fig. 4 is that source video stream is optionally transcoded at least two-way target video stream by one kind according to an embodiment of the present invention
The stream of target video all the way flow chart;
Fig. 5 is that source video stream is optionally transcoded at least two-way target video stream by another kind according to an embodiment of the present invention
In the stream of target video all the way flow chart;
Fig. 6 is the process that source video stream and source audio stream are optionally packaged by one kind according to an embodiment of the present invention
Figure;
Fig. 7 is a kind of schematic diagram of the transcoding device of optional video file according to an embodiment of the present invention;And
Fig. 8 is a kind of structural block diagram of terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
User watches video in video web-pages or in video APP when, phenomena such as often will appear Caton, at this point, being
System can automatically prompting user whether reduce the clarity for playing video, or fine definition broadcast state switched to automatically low clear
Clear degree broadcast state.To the processing method that the degradation that the video of broadcasting carries out clarity plays, server can be made to send low code
The video flowing of rate reduces the generation that caching and Caton are avoided to bandwidth occupancy.
During the processing that the degradation for carrying out clarity to video in the prior art plays, it may appear that video switching is not flowed
Smooth phenomenon.For example, can also repeat playing one section when the video flowing of 1080P is switched to the video flowing of 720P and play
Video.In view of the above-mentioned problems, inventors have found that video frame decoding when, can reference picture group (Group of Pictures,
Abbreviation GOP) other frames in unit, due to relationship complementary between frame, clarity switches at the time of point, is only possible to occur
In finishing for a upper GOP, when next GOP opens broadcasting.Since every IDR frame data are located at the beginning of GOP, because
This, as long as guaranteeing that the every IDR frame of high code stream and the position IDR of low code stream must be aligned, so that it may guarantee smoothness when video playing
Switching.It include I frame, P frame and B frame in picture group GOP, wherein forward predicted frame, B frame are double when intra-coded frame, P frame when I frame
To interpolation frame.I frame is a complete picture, and what P frame and B frame were used for record is the variation relative to I frame, does not have I frame, P frame
It can not be decoded with B frame.
In view of the above-mentioned problems, the embodiment of the present invention is specifically introduced below in conjunction with specific embodiment.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for the transcoding of video file is provided.
Optionally, in the present embodiment, the code-transferring method of above-mentioned video file can be applied to as shown in Figure 1 by servicing
In the hardware environment that device 102 and terminal 104 are constituted.As shown in Figure 1, server 102 is connected by network with terminal 104
Connect, above-mentioned network includes but is not limited to: wide area network, Metropolitan Area Network (MAN) or local area network, terminal 104 are not limited to PC, mobile phone, plate electricity
Brain etc..The code-transferring method of the video file of the embodiment of the present invention can be executed by server 102, can also by terminal 104
It executes, can also be and executed jointly by server 102 and terminal 104.Wherein, terminal 104 executes the video of the embodiment of the present invention
The code-transferring method of file is also possible to be executed by client mounted thereto.
The main operational principle of hardware environment system shown in Fig. 1 is:
Terminal 104 obtains source video file to be transcoded from server 102, wherein in the source video file got
Including source audio stream and source video stream.Terminal 104 separates source video stream and source audio stream, the source view after being separated
Frequency stream and source audio stream.Then, terminal 104 carries out pre- transcoding processing to the source video stream got according to transcoding parameter, obtains
Status file comprising relevant informations such as frame type informations, and the target position for being used to indicate every IDR frame is determined according to the status file
The target position information set.Terminal 104 obtains after target position information, so that it may according to target position information by above-mentioned separation
Obtained source video stream is transcoded into the different target video stream of at least two-way resolution ratio, wherein at least two-way target video stream
In the position IDR in each target video stream be aligned with target position.Pass through the position above-mentioned alignment IDR, so that it may in video flowing
During switching, realization is smoothly switched.
Fig. 2 is a kind of flow chart of the code-transferring method of optional video file according to an embodiment of the present invention, such as Fig. 2 institute
Show, this method may comprise steps of:
Step S202 obtains source video stream from source video file to be transcoded.
It in embodiments of the present invention, can be by source video after terminal obtains source video file to be transcoded from server
Source audio stream and source video in file are separated, source video stream and source audio stream after being separated.
Step S204 carries out pre- transcoding processing to source video stream, obtains target position information, wherein target position information
It is used to indicate the target position of every IDR frame.
In embodiments of the present invention, terminal can carry out pre- transcoding processing to source video stream according to the transcoding parameter of configuration,
Obtain the target position information for the target position for being used to indicate every IDR frame, wherein every IDR frame is first in any one picture group GOP
A I frame.That is, by carrying out pre- transcoding processing, first I of available any one picture group GOP to source video stream
The position of frame.Above-mentioned transcoding parameter includes the resolution ratio and code prosecutor formula of video flowing, and resolution ratio is lower than predetermined value.
Source video stream is transcoded at least two-way target video stream according to target position information, wherein at least by step S206
The position of every IDR frame is aligned with the target position in the target video stream of the road two-way target video Liu Zhongmei.
In embodiments of the present invention, after getting above-mentioned target position information, so that it may be transcoded into source video stream
At least target video stream of two-way, for example, being transcoded into resolution ratio is the video flowing of 1080P, or being transcoded into resolution ratio is 720P
Video flowing.Also, obtained resolution ratio be 1080P video flowing and resolution ratio be 720P video flowing in every IDR frame position
It sets and is aligned with above-mentioned target position.
S202 to step S206 through the above steps, first to the pre- transcoding processing of source video stream progress is got, according to place
After reason to target position information determine the target position of every IDR frame, then, on the basis for getting target position information
On, source video stream is transcoded into at least two-way target video stream of different resolution, wherein every at least in two-way target video stream
The position of every IDR frame in a target video stream is aligned with target position, therefore, when video is in playing process, can arbitrarily be existed
It is switched in target video stream, is not in the phenomenon that repeating playing when video switches over, to have reached the view of different code streams
The purpose smoothly switched between frequency stream, so that the technical effect that smooth switching is able to carry out in video display process is realized,
And then it solves video in the related technology and switches slack technical problem in playing process.
S206 is it is found that be that source video circulates according to target position information in embodiments of the present invention through the above steps
Code at least two-way target video stream, wherein at least the road two-way target video Liu Zhongmei video flowing in the same manner into
The processing of row transcoding.Specifically, when obtaining every road target video stream to source video stream progress transcoding, first source video can be flowed into
Row decoding, obtains original video data, wherein original video data is made of several video frames.Original view is obtained in decoding
Frequency according to after, set every IDR frame for the frame position of target position in original video data, then, in initial data in addition to
Each video frame except every IDR frame carries out Video coding, obtains target video stream all the way.
It should be noted that terminal gets source video stream in the technical solution that above-mentioned steps S204 of the present invention is provided
Later, first time coded treatment can be carried out according to the transcoding parameter of configuration to source video, saves in an encoding process, is each
Frame generates the judgement information of the statistical informations such as quantized value and frame type, and is saved as a status file;It is second time
Coding provides reference information, wherein the transcoding that the transcoding parameter of configuration can be chosen for resolution ratio 270P, code prosecutor formula is crf
Parameter.That is, having recorded the target position information for being used to indicate the target position of every IDR frame in the status file of generation.
It, can be according to above-mentioned same when source video stream is transcoded at least two-way target video stream according to target position information by step S206
The target position information of the target position for being used to indicate every IDR frame recorded in one status file by source video circulation change into
Few two-way target video.
The every IDR frame of any two-path video is all alignment in at least two-way target video obtained by this method, therefore,
Ensure that fluency of the video in handoff procedure.
For example, two kinds of clarity are defaulted in certain video website, i.e. resolution ratio is the clarity of 1080P (that is, high
Clearly) or resolution ratio be 720P clarity (that is, SD).It is assumed that user A selection in the video website high definition (that is,
1080P) play title are as follows: the video file of " xx challenge the first phase ", wherein video file before being played, according to upper
It states technical solution described in step S202 to step S208 to be handled, has obtained two-way target video stream, i.e. resolution ratio
The video flowing that video flowing and resolution ratio for 1080P are 720P.The video flowing for being 1080P by resolution ratio obtained by the above method
In the video flowing two-way target video stream for being 720P with resolution ratio, the position of every IDR frame is alignment.
If due to network, causing video during broadcasting during playing above-mentioned video file
There is the phenomenon that Caton, in order to not influence the progress of broadcasting, the high definition of current setting can be played and manually or automatically be adjusted
For SD (that is, 720P) broadcasting.Since the video file of broadcasting is before being played according to method provided in an embodiment of the present invention
It is handled, therefore, the position of every IDR frame is alignment in the two-way target video stream after transcoding, so, high definition will played
When video flowing is switched to broadcasting SD video flowing, it may be implemented to smoothly switch, be not in repeat playing to have broadcast before handover
The phenomenon that video let off.It is integrally improved the fluency of video playing, improves user experience.
It should be noted that above-mentioned source video stream is silent video stream, therefore, also need to flow into source video stream with source audio
Row encapsulation, can just obtain a complete video file (that is, target video file).
By the description to the technical solution provided in above-mentioned steps S202 it is found that the source video got in step S202
Stream be by source video file source video stream and source audio stream carry out it is isolated, then, to source video stream execute step
Technical solution described in S204 to step S206.So, in embodiments of the present invention, source audio stream is equally obtained, namely
It is to say, when separating to source video file, while obtaining source video stream, also obtains source audio stream.And it is obtaining
After source audio stream, the source audio stream that will acquire is transcoded at least target audio stream all the way, and will at least target audio all the way
File is packaged at least two-way source video stream, obtains multiple target video files, wherein in multiple target video files
Each target video file is by the way that target video stream is packaged to target audio stream all the way and all the way.
For example, it is regarded in the example above illustrates it is found that source video circulation code is obtained the target that resolution ratio is 1080P
The target video stream that frequency stream and resolution ratio are 720P.It so, can also be same by the source audio stream got from source video file
Sample carries out transcoding and obtains at least source audio stream all the way.
If obtaining source audio stream all the way, which can be regarded respectively with resolution ratio for the target of 1080P
The target video stream that frequency stream and resolution ratio are 720P is packaged, and obtains the target video file and resolution that resolution ratio is 1080P
Rate is the target video file of 720P.
If obtaining two-way source audio stream, for example, A1 and A2, the then target that can be respectively 1080P with resolution ratio by A1
Video flowing and resolution ratio are that the target video stream of 720P is packaged, obtain target video file A11 that resolution ratio is 1080P and
Resolution ratio is the target video file A12 of 720P;And it is by the A2 target video stream for being respectively 1080P with resolution ratio and resolution ratio
The target video stream of 720P is packaged, and obtains the target video file A21 that resolution ratio is 1080P and the mesh that resolution ratio is 720P
Mark video file A22.That is, the quantity of obtained target video file is 4, together when obtaining two-way source audio stream
Sample, when obtaining three tunnel source audio stream, the quantity of obtained target video file is 6.
It should be noted that in embodiments of the present invention, the mode that source video stream and source audio stream are packaged is had very
It is a variety of, for example, source video can be banished into video track, and source audio is banished into audio track, obtains target video file.
When playing the target video file got by the above method in video web-pages or video terminal, Bu Hui
There is the phenomenon that Caton when switching target video file, improves the fluency of video switching to a certain extent.
To sum up, in embodiments of the present invention, a kind of code-transferring method of video file is provided, in the method, is obtained
At least two-way target video stream, wherein the every IDR frame alignment of any two-path video stream.Therefore, so that target video file played
Cheng Zhong, carries out smoothly switching broadcasting between different resolution, improves the viewing body of user at can be according to network bandwidth the case where
It tests.
Fig. 3 is a kind of flow chart of the code-transferring method of optional video file according to an embodiment of the present invention, such as Fig. 3 institute
Show, this method may comprise steps of:
Step S301, by the source video stream and source audio flow separation of source video file to be transcoded;In the embodiment of the present invention
In, it, can be by the source audio stream and source view in source video file after terminal obtains source video file to be transcoded from server
Frequency is separated, source video stream and source audio stream after being separated.
Step S302 configures transcoding parameter, wherein transcoding parameter includes resolution ratio and code prosecutor formula, for example, one group of configuration
Low resolution 270P, the transcoding parameter that code prosecutor formula is crf;
Step S303 carries out first time coding to video according to the transcoding parameter of configuration;
Step S304 obtains including that the status file of frame type information can be specifically stored according to first time coding
It is the judgement information that each frame generates the statistical informations such as quantized value and frame type in first time cataloged procedure, and is saved
For a status file, to provide reference information for second time coding, wherein be used to indicate the target position information note of every IDR frame
It records in status file,;
Source video stream is transcoded at least two-way target video stream according to target position information, wherein at least by step S305
The position of every IDR frame is aligned with target position in the target video stream of the road two-way target video Liu Zhongmei;In embodiments of the present invention,
After getting above-mentioned target position information, so that it may source video stream is transcoded into the target video stream of at least two-way, for example,
It is transcoded into resolution ratio and is the video flowing of 1080P, or be transcoded into the video flowing that resolution ratio is 720P.Also, in obtained resolution
The video flowing and resolution ratio that rate is 1080P are that the position of every IDR frame is aligned with above-mentioned target position in the video flowing of 720P;
Step S306 obtains source audio stream from source video file to be transcoded, by isolated audio file, according to
Specified specification carries out transcoding and obtains source audio stream;
Obtained source audio stream and source video stream are packaged by step S307, obtain target video file, wherein are turned
Code obtains source audio stream and is at least source audio stream all the way.
If obtaining source audio stream all the way, which can be regarded respectively with resolution ratio for the target of 1080P
The target video stream that frequency stream and resolution ratio are 720P is packaged, and obtains the target video file and resolution that resolution ratio is 1080P
Rate is the target video file of 720P.
If obtaining two-way source audio stream, for example, A1 and A2, the then target that can be respectively 1080P with resolution ratio by A1
Video flowing and resolution ratio are that the target video stream of 720P is packaged, obtain target video file A11 that resolution ratio is 1080P and
Resolution ratio is the target video file A12 of 720P;And it is by the A2 target video stream for being respectively 1080P with resolution ratio and resolution ratio
The target video stream of 720P is packaged, and obtains the target video file A21 that resolution ratio is 1080P and the mesh that resolution ratio is 720P
Mark video file A22.That is, the quantity of obtained target video file is 4, together when obtaining two-way source audio stream
Sample, when obtaining three tunnel source audio stream, the quantity of obtained target video file is 6.
Fig. 4 is that source video stream is optionally transcoded at least two-way target video stream by one kind according to an embodiment of the present invention
The stream of target video all the way flow chart, as shown in figure 4, this method may comprise steps of:
Step S401, the status file for reading and being generated when analyzing pre- transcoding;
Step S402, the target position information for being used to indicate every IDR frame location information recorded in recording status file;
Step S403, the target position information recorded in reference state file, is transcoded at least two-way mesh for source video stream
Mark video flowing, wherein above-mentioned every road target video stream, all can be with reference to the use recorded in the same status file in transcoding process
IDR then is appointed as to the frame on target position in original video files in the target position information of instruction IDR location information
Frame.Since every road target video stream is all based on consistent IDR location information, this allows for the position IDR of every road target video stream all
It can alignment.
Fig. 5 is that source video stream is optionally transcoded at least two-way target video stream by another kind according to an embodiment of the present invention
In the stream of target video all the way flow chart, as shown in figure 5, this method may comprise steps of:
Step S501 analyzes status file, obtains target position information, wherein target position information is used to indicate IDR's
Location information;
Step S502, the transcoding parameter that encoder is set according to the location information and specification 1 of IDR, transcoding obtain target view
Frequency stream 1;
Step S503, the transcoding parameter that encoder is set according to the location information and specification 2 of IDR, transcoding obtain target view
Frequency stream 2;
Step S504, including step S5041 and step S5042, encoder can force specified target according to the position of IDR
The position of video flowing 1 and the every IDR frame in target video stream 2, wherein the every IDR frame in target video stream 1 and target video stream 2 is equal
It is aligned with the every IDR frame target position in status file, to ensure that the every IDR frame position in target video stream 1 and target video stream 2
It sets consistent.
It should be noted that in embodiments of the present invention, the quantity for the target video stream that transcoding generates is at least two-way,
In embodiment shown in fig. 5, only it is illustrated by taking two kinds of target video streams (target video stream 1 and target video stream 2) as an example.
Fig. 6 is the process that source video stream and source audio stream are optionally packaged by one kind according to an embodiment of the present invention
Figure, as shown in fig. 6, this method may comprise steps of:
Step S601 carries out transcoding to source audio stream according to the audio transcoding parameter of setting by audio coder, and obtains
To target audio stream;
Target audio stream and target video stream are packaged by step S602, obtain final target video file.
In embodiments of the present invention, the source audio stream got from source video file can equally be carried out to transcoding to obtain
At least source audio stream all the way.
If obtaining source audio stream all the way, can by the road member audio stream respectively with target video stream 1 described in Fig. 5
It is packaged with target video stream 2, obtains target video file 1 and target video file 2.
If obtaining two-way source audio stream, for example, A1, then can be packaged with target video stream 1 by A1 and A2 respectively,
Obtain target video file A11 and target video file A12;And be packaged A2 with target video stream 2 respectively, obtain target
Video file A21 and target video file A22.That is, when obtaining two-way source audio stream, obtained target video file
Quantity be 4, similarly, when obtaining three tunnel source audio stream, the quantity of obtained target video file is 6.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) method that executes each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, it additionally provides a kind of for implementing the video file of the code-transferring method of above-mentioned video file
Transcoding device.The transcoding of figure video file is a kind of transcoding device of optional video file according to an embodiment of the present invention
Schematic diagram, as shown in fig. 7, the apparatus may include:
First acquisition unit 71, for obtaining source video stream from source video file to be transcoded;
It in embodiments of the present invention, can be by source video after terminal obtains source video file to be transcoded from server
Source audio stream and source video in file are separated, source video stream and source audio stream after being separated.
Processing unit 73 obtains target position information, wherein target position for carrying out pre- transcoding processing to source video stream
Confidence ceases the target position for being used to indicate every IDR frame;
In embodiments of the present invention, terminal can carry out pre- transcoding processing to source video stream according to the transcoding parameter of configuration,
Obtain the target position information for the target position for being used to indicate every IDR frame, wherein every IDR frame is first in any one picture group GOP
A I frame.That is, by carrying out pre- transcoding processing, first I of available any one picture group GOP to source video stream
The position of frame.Above-mentioned transcoding parameter includes the resolution ratio and code prosecutor formula of video flowing, and resolution ratio is lower than predetermined value.
First transcoding units 75, for source video stream to be transcoded at least two-way target video according to target position information
Stream, wherein at least the position of every IDR frame is aligned with target position in the target video stream of the road two-way target video Liu Zhongmei.
In embodiments of the present invention, after getting above-mentioned target position information, so that it may be transcoded into source video stream
At least target video stream of two-way, for example, being transcoded into resolution ratio is the video flowing of 1080P, or being transcoded into resolution ratio is 720P
Video flowing.Also, obtained resolution ratio be 1080P video flowing and resolution ratio be 720P video flowing in every IDR frame position
It sets and is aligned with above-mentioned target position.
In embodiments of the present invention, first to the pre- transcoding processing of source video stream progress is got, according to arriving after processing
Target position information determine the target position of every IDR frame, then, on the basis of getting target position information, by source video
Stream is transcoded into at least two-way target video stream of different resolution, wherein at least each target video in two-way target video stream
The position of every IDR frame in stream is aligned with target position, therefore, can be arbitrarily in target video stream when video is in playing process
In switch over, be not in the phenomenon that being repeated playing when video switches over, to have reached between the video flowing of different code streams
The purpose smoothly switched to realize the technical effect for being able to carry out smooth switching in video display process, and then solves
Video switches slack technical problem in playing process in the related technology.
It should be noted that the first acquisition unit 71 in the embodiment can be used for executing in the embodiment of the present application 1
Step S202, the processing unit 73 in the embodiment can be used for executing the step S204 in the embodiment of the present application 1, the embodiment
In the first transcoding units 75 can be used for executing the step S206 in the embodiment of the present application 1.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not
It is limited to 1 disclosure of that of above-described embodiment.It should be noted that above-mentioned module as a part of device may operate in as
In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization.
Optionally, optionally, source video stream is transcoded at least two-way mesh according to target position information by the first transcoding units
The stream of target video all the way marked in video flowing includes: decoder module, for source video stream to be decoded into original video data;Setting
Module, for setting every IDR frame for the frame in original video data on target position, and to removing target position in original video data
Frame except setting carries out Video coding, obtains target video stream all the way.
It should be noted that in embodiments of the present invention, after terminal gets source video stream, can to source video according to
The transcoding parameter of configuration carries out first time coded treatment, saves in an encoding process, generates the statistics such as quantized value letter for each frame
The judgement information of breath and frame type, and it is saved as a status file;Reference information is provided for second time coding,
In, the transcoding parameter of configuration can be chosen for resolution ratio 270P, code prosecutor formula as the transcoding parameter of crf.That is, generating
Status file in recorded the target position information for being used to indicate the target position of every IDR frame.Then, according to target position information
When source video stream is transcoded at least two-way target video stream, it can be used for according to what is recorded in the above-mentioned same status file
Indicate that the target position information of the target position of every IDR frame changes source video circulation at least two-way target video.
The every IDR frame of any two-path video is all alignment in at least two-way target video obtained through the above way, because
This, so that it may guarantee fluency of the video in handoff procedure.
For example, two kinds of clarity are defaulted in certain video website, i.e. resolution ratio is the clarity of 1080P (that is, high
Clearly) or resolution ratio be 720P clarity (that is, SD).It is assumed that user A selection in the video website high definition (that is,
1080P) play title are as follows: the video file of " xx challenge the first phase ", wherein video file before being played, according to upper
It states technical solution described in step S202 to step S208 to be handled, has obtained two-way target video stream, i.e. resolution ratio
The video flowing that video flowing and resolution ratio for 1080P are 720P.The video flowing for being 1080P by resolution ratio obtained by the above method
In the video flowing two-way target video stream for being 720P with resolution ratio, the position of every IDR frame is alignment.
If due to network, causing video during broadcasting during playing above-mentioned video file
There is the phenomenon that Caton, in order to not influence the progress of broadcasting, the high definition of current setting can be played and manually or automatically be adjusted
For SD (that is, 720P) broadcasting.Since the video file of broadcasting is before being played according to method provided in an embodiment of the present invention
It is handled, therefore, the position of every IDR frame is alignment in the two-way target video stream after transcoding, so, high definition will played
When video flowing is switched to broadcasting SD video flowing, it may be implemented to smoothly switch, be not in repeat playing to have broadcast before handover
The phenomenon that video let off.It is integrally improved the fluency of video playing, improves user experience.
Optionally, target position information is recorded in status file, wherein the first transcoding units include: transcoding module, are used
According to the target position information recorded in the same status file, source video stream is transcoded at least two-way in a parallel fashion
Target video.
Optionally, when obtaining source video stream from source video file to be transcoded, device further include: second obtains list
Member, for obtaining source audio stream from source video file to be transcoded;Source audio is being obtained from source video file to be transcoded
After stream, device further include: the second transcoding units, for source audio stream to be transcoded at least target audio stream all the way, and it is near
Few target audio stream all the way is packaged at least two-way target video stream, obtains multiple target video files, wherein multiple mesh
Each target video file in mark video file is by the way that target video stream is packaged to target audio stream all the way and all the way
It obtains.
It should be noted that above-mentioned source video stream is silent video stream, therefore, also need to flow into source video stream with source audio
Row encapsulation, can just obtain a complete video file (that is, target video file).
Through the foregoing embodiment it is found that the source video stream got is by the source video stream and source audio in source video file
Stream carries out isolated.So, in embodiments of the present invention, source audio stream is equally obtained, in other words, to source video
When file is separated, while obtaining source video stream, source audio stream is also obtained.It, will and after obtaining source audio stream
The source audio stream got is transcoded at least target audio stream all the way, and will at least target audio file and at least two-way source all the way
Video flowing is packaged, and obtains multiple target video files, wherein each target video file in multiple target video files
It is by the way that target video stream is packaged to target audio stream all the way and all the way.
For example, it is regarded in the example above illustrates it is found that source video circulation code is obtained the target that resolution ratio is 1080P
The target video stream that frequency stream and resolution ratio are 720P.It so, can also be same by the source audio stream got from source video file
Sample carries out transcoding and obtains at least source audio stream all the way.
If obtaining source audio stream all the way, which can be regarded respectively with resolution ratio for the target of 1080P
The target video stream that frequency stream and resolution ratio are 720P is packaged, and obtains the target video file and resolution that resolution ratio is 1080P
Rate is the target video file of 720P.
If obtaining two-way source audio stream, for example, A1 and A2, the then target that can be respectively 1080P with resolution ratio by A1
Video flowing and resolution ratio are that the target video stream of 720P is packaged, obtain target video file A11 that resolution ratio is 1080P and
Resolution ratio is the target video file A12 of 720P;And it is by the A2 target video stream for being respectively 1080P with resolution ratio and resolution ratio
The target video stream of 720P is packaged, and obtains the target video file A21 that resolution ratio is 1080P and the mesh that resolution ratio is 720P
Mark video file A22.That is, the quantity of obtained target video file is 4, together when obtaining two-way source audio stream
Sample, when obtaining three tunnel source audio stream, the quantity of obtained target video file is 6.
Optionally, processing unit includes: processing module, carries out prerotation to source video stream for the transcoding parameter using configuration
Code processing, obtains target position information, wherein transcoding parameter includes resolution ratio and code prosecutor formula, and resolution ratio is lower than predetermined value.
In embodiments of the present invention, terminal can carry out pre- transcoding processing to source video stream according to the transcoding parameter of configuration,
Obtain the target position information for the target position for being used to indicate every IDR frame, wherein every IDR frame is first in any one picture group GOP
A I frame.That is, by carrying out pre- transcoding processing, first I of available any one picture group GOP to source video stream
The position of frame.Above-mentioned transcoding parameter includes the resolution ratio and code prosecutor formula of video flowing, and resolution ratio is lower than predetermined value.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not
It is limited to 1 disclosure of that of above-described embodiment.It should be noted that above-mentioned module as a part of device may operate in as
In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization, wherein hardware environment includes network
Environment.
Embodiment 3
According to embodiments of the present invention, additionally provide a kind of server for implementing the code-transferring method of above-mentioned video file or
Terminal.
Fig. 8 is a kind of structural block diagram of terminal according to an embodiment of the present invention, as shown in the transcoding of figure video file, the end
End may include: that one or more (one is only shown in figure) processors 801, memory 803 and transmitting device 805 are (as above
State the sending device in embodiment), as shown in figure 8, the terminal can also include input-output equipment 807.
Wherein, memory 803 can be used for storing software program and module, such as the video file in the embodiment of the present invention
Code-transferring method and the corresponding program instruction/module of device, the software journey that processor 801 is stored in memory 803 by operation
Sequence and module realize the code-transferring method of above-mentioned video file thereby executing various function application and data processing.It deposits
Reservoir 803 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage fills
It sets, flash memory or other non-volatile solid state memories.In some instances, memory 803 can further comprise relative to place
The remotely located memory of device 801 is managed, these remote memories can pass through network connection to terminal.The example packet of above-mentioned network
Include but be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 805 is used to that data to be received or sent via network, can be also used for processor with
Data transmission between memory.Above-mentioned network specific example may include cable network and wireless network.In an example,
Transmitting device 805 includes a network adapter (Network Interface Controller, NIC), can pass through cable
It is connected with other network equipments with router so as to be communicated with internet or local area network.In an example, transmission dress
805 are set as radio frequency (Radio Frequency, RF) module, is used to wirelessly be communicated with internet.
Wherein, specifically, memory 803 is for storing application program.
The application program that processor 801 can call memory 803 to store by transmitting device 805, to execute following steps
It is rapid:
Source video stream is obtained from source video file to be transcoded;Pre- transcoding processing is carried out to source video stream, obtains target
Location information, wherein target position information is used to indicate the target position of every IDR frame;According to target position information by source video stream
It is transcoded at least two-way target video stream, wherein the position of every IDR frame at least in the target video stream of the road two-way target video Liu Zhongmei
It sets and is aligned with target position.
Processor 801 is also used to execute following step: source video stream is decoded into original video data;By original video number
It is set as every IDR frame according to the frame on middle target position, and video volume is carried out to the frame in original video data in addition to target position
Code, obtains target video stream all the way.
Processor 801 is also used to execute following step: according to the target position information recorded in the same status file, with
Source video stream is transcoded at least two-way target video by parallel form.
Processor 801 is also used to execute following step: source audio stream is obtained from source video file to be transcoded;By source sound
Frequency stream is transcoded at least target audio stream all the way, and will at least target audio stream is sealed at least two-way target video stream all the way
Dress, obtains multiple target video files, wherein each target video file in multiple target video files is by all the way
What target audio stream and all the way target video stream were packaged.
Processor 801 is also used to execute following step: being carried out at pre- transcoding using the transcoding parameter of configuration to source video stream
Reason, obtains target position information, wherein transcoding parameter includes resolution ratio and code prosecutor formula, and resolution ratio is lower than predetermined value.
Using the embodiment of the present invention, first to the pre- transcoding processing of source video stream progress is got, according to arriving after processing
Target position information determine the target position of every IDR frame, then, on the basis of getting target position information, by source video
Stream is transcoded into at least two-way target video stream of different resolution, wherein at least each target video in two-way target video stream
The position of every IDR frame in stream is aligned with target position, therefore, can be arbitrarily in target video stream when video is in playing process
In switch over, be not in the phenomenon that being repeated playing when video switches over, to have reached between the video flowing of different code streams
The purpose smoothly switched to realize the technical effect for being able to carry out smooth switching in video display process, and then solves
Video switches slack technical problem in playing process in the related technology.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2
Example, details are not described herein for the present embodiment.
It will appreciated by the skilled person that structure shown in Fig. 8 is only to illustrate, terminal can be smart phone
(such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device (Mobile Internet
Devices, MID), the terminal devices such as PAD.Fig. 8 it does not cause to limit to the structure of above-mentioned electronic device.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage medium
In, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random
Access Memory, RAM), disk or CD etc..
Embodiment 4
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can
With the program code of the code-transferring method for executing video file.
Optionally, in the present embodiment, above-mentioned storage medium can be located at multiple in network shown in above-described embodiment
On at least one network equipment in the network equipment.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
S1 obtains source video stream from source video file to be transcoded;
S2 carries out pre- transcoding processing to source video stream, obtains target position information, wherein target position information is for referring to
Show the target position of every IDR frame;
Source video stream is transcoded at least two-way target video stream according to target position information, wherein at least two-way mesh by S3
The position of every IDR frame is aligned with target position in the mark road video flowing Zhong Mei target video stream.
Optionally, storage medium is also configured to store the program code for executing following steps:
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2
Example, details are not described herein for the present embodiment.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or
The various media that can store program code such as CD.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product
When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention
Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme
The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one
Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention
State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side
Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one
Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (8)
1. a kind of code-transferring method of video file characterized by comprising
Source video stream is obtained from source video file to be transcoded;
Pre- transcoding processing is carried out to the source video stream, obtains target position information, wherein the target position information is for referring to
Show the target position of every IDR frame;
The source video stream is transcoded at least two-way target video stream according to the target position information, wherein it is described at least
The position of every IDR frame is aligned with the target position in the target video stream of the road two-way target video Liu Zhongmei;
Wherein, described to carry out pre- transcoding processing to the source video stream, obtaining target position information includes:
Pre- transcoding processing is carried out to the source video stream using the transcoding parameter of configuration, obtains the target position information, wherein
The transcoding parameter includes resolution ratio and code prosecutor formula, and the resolution ratio is lower than predetermined value;
Pre- transcoding processing is carried out to the source video stream using the transcoding parameter of configuration, obtaining the target position information includes:
Configure the transcoding parameter;
According to the transcoding parameter of configuration, first time coding is carried out to the source video stream;
Obtained according to first time coding include frame type information status file, wherein saved in the status file the
It is that each frame generates the statistical information of quantized value and the judgement information of frame type in a time cataloged procedure, is used to indicate every IDR frame
The target position information be recorded in status file.
2. the method according to claim 1, wherein the source video is circulated according to the target position information
Code at the stream of target video all the way at least two-way target video stream includes:
The source video stream is decoded into original video data;
Every IDR frame is set by the frame on target position described in the original video data, and in the original video data
Frame in addition to the target position carries out Video coding, obtains the target video stream all the way.
3. the method according to claim 1, wherein the target position information is recorded in status file,
In, the source video stream, which is transcoded at least two-way target video stream, according to the target position information includes:
According to the target position information recorded in the same status file, in a parallel fashion by the source video stream
It is transcoded at least two-way target video.
4. the method according to claim 1, wherein
When obtaining the source video stream from the source video file to be transcoded, the method also includes: from described wait turn
Source audio stream is obtained in the source video file of code;
From in the source video file to be transcoded obtain source audio stream after, the method also includes: by the source audio
Stream is transcoded at least target audio stream all the way, and will at least target audio stream and at least two-way target video stream all the way
It is packaged, obtains multiple target video files, wherein each target video file in the multiple target video file is
It is packaged by the target audio stream all the way and all the way target video stream.
5. a kind of transcoding device of video file characterized by comprising
First acquisition unit, for obtaining source video stream from source video file to be transcoded;
Processing unit obtains target position information, wherein the target for carrying out pre- transcoding processing to the source video stream
Location information is used to indicate the target position of every IDR frame;
First transcoding units, for the source video stream to be transcoded at least two-way target video according to the target position information
Stream, wherein the position Yu the target position pair of every IDR frame in the target video stream of the road at least two-way target video Liu Zhongmei
Together;
Wherein, the processing unit includes:
Processing module carries out pre- transcoding processing to the source video stream for the transcoding parameter using configuration, obtains the target
Location information, wherein the transcoding parameter includes resolution ratio and code prosecutor formula, and the resolution ratio is lower than predetermined value;
Wherein, the processing module is used for:
Configure the transcoding parameter;
According to the transcoding parameter of configuration, first time coding is carried out to the source video stream;
Obtained according to first time coding include frame type information status file, wherein saved in the status file the
It is that each frame generates the statistical information of quantized value and the judgement information of frame type in a time cataloged procedure, is used to indicate every IDR frame
The target position information be recorded in status file.
6. device according to claim 5, which is characterized in that first transcoding units are according to the target position information
Include: by the stream of target video all the way that the source video stream is transcoded at least two-way target video stream
Decoder module, for the source video stream to be decoded into original video data;
Setup module, for setting every IDR frame for the frame on target position described in the original video data, and to the original
Frame in beginning video data in addition to the target position carries out Video coding, obtains the target video stream all the way.
7. device according to claim 5, which is characterized in that the target position information is recorded in status file,
In, first transcoding units include:
Transcoding module, for according to the target position information recorded in the same status file, in a parallel fashion
The source video stream is transcoded at least two-way target video.
8. device according to claim 5, which is characterized in that
When obtaining the source video stream from the source video file to be transcoded, described device further include: second obtains list
Member, for obtaining source audio stream from the source video file to be transcoded;
From in the source video file to be transcoded obtain source audio stream after, described device further include: the second transcoding units,
For the source audio stream to be transcoded at least target audio stream all the way, and will it is described at least all the way target audio stream and it is described extremely
Few two-way target video stream is packaged, and obtains multiple target video files, wherein every in the multiple target video file
A target video file is by the way that the target video stream is packaged to the target audio stream all the way and all the way.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610550922.9A CN106210884B (en) | 2016-07-13 | 2016-07-13 | The code-transferring method and device of video file |
PCT/CN2017/092615 WO2018010662A1 (en) | 2016-07-13 | 2017-07-12 | Video file transcoding method and device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610550922.9A CN106210884B (en) | 2016-07-13 | 2016-07-13 | The code-transferring method and device of video file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106210884A CN106210884A (en) | 2016-12-07 |
CN106210884B true CN106210884B (en) | 2019-02-26 |
Family
ID=57478120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610550922.9A Active CN106210884B (en) | 2016-07-13 | 2016-07-13 | The code-transferring method and device of video file |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106210884B (en) |
WO (1) | WO2018010662A1 (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106210884B (en) * | 2016-07-13 | 2019-02-26 | 腾讯科技(深圳)有限公司 | The code-transferring method and device of video file |
EP3393129A1 (en) | 2017-04-21 | 2018-10-24 | Alcatel-Lucent España, S.A. | Multimedia content delivery with reduced delay |
CN107343218A (en) * | 2017-05-24 | 2017-11-10 | 广东小天才科技有限公司 | A kind of method and device of Video coding |
CN110213615B (en) * | 2018-04-04 | 2021-11-02 | 腾讯科技(深圳)有限公司 | Video transcoding method, device, server and storage medium |
CN111246215A (en) * | 2018-11-28 | 2020-06-05 | 深圳市炜博科技有限公司 | Video format conversion method and terminal |
CN109640114A (en) * | 2018-12-12 | 2019-04-16 | 深圳市网心科技有限公司 | Video compiles transcoding compression method, device, equipment and computer readable storage medium |
CN110213617B (en) * | 2019-04-01 | 2022-03-18 | 腾讯科技(深圳)有限公司 | Video stream transcoding method, device and system |
CN111818338B (en) * | 2020-07-23 | 2022-10-11 | 腾讯音乐娱乐科技(深圳)有限公司 | Abnormal display detection method, device, equipment and medium |
CN111901631B (en) * | 2020-07-30 | 2023-02-17 | 有半岛(北京)信息科技有限公司 | Transcoding method, device, server and storage medium for live video |
CN111949825B (en) * | 2020-08-21 | 2024-05-28 | 上海连尚网络科技有限公司 | Method for adding and displaying article information in video, electronic device and storage medium |
CN114466246A (en) * | 2022-02-14 | 2022-05-10 | 维沃移动通信有限公司 | Video processing method and device |
CN115022670B (en) * | 2022-05-31 | 2023-09-05 | 咪咕文化科技有限公司 | Video file storage method, video file restoration device, video file storage equipment and storage medium |
CN114979713A (en) * | 2022-06-06 | 2022-08-30 | 北京奇艺世纪科技有限公司 | Frame alignment method, device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0812112A3 (en) * | 1996-06-05 | 2002-01-02 | Sun Microsystems, Inc. | System and method for indexing between trick play and normal play video streams in a video delivery system |
CN102263941A (en) * | 2010-05-31 | 2011-11-30 | 苏州闻道网络科技有限公司 | Transcoding method and device for video file |
CN102938848A (en) * | 2011-08-15 | 2013-02-20 | Rgb网络有限公司 | Instantaneous decoder refresh frame aligned multi-bitrate transcoder output |
CN104754366A (en) * | 2015-03-03 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Audio and video file live broadcasting method, device and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
BRPI0915795A2 (en) * | 2008-07-16 | 2015-11-10 | Thomson Licensing | scalable video encoding method for fast channel switching to increase encoding efficiency |
CN104780389B (en) * | 2015-04-21 | 2018-01-05 | 无锡天脉聚源传媒科技有限公司 | A kind of method for processing video frequency and device |
CN106210884B (en) * | 2016-07-13 | 2019-02-26 | 腾讯科技(深圳)有限公司 | The code-transferring method and device of video file |
-
2016
- 2016-07-13 CN CN201610550922.9A patent/CN106210884B/en active Active
-
2017
- 2017-07-12 WO PCT/CN2017/092615 patent/WO2018010662A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0812112A3 (en) * | 1996-06-05 | 2002-01-02 | Sun Microsystems, Inc. | System and method for indexing between trick play and normal play video streams in a video delivery system |
CN102263941A (en) * | 2010-05-31 | 2011-11-30 | 苏州闻道网络科技有限公司 | Transcoding method and device for video file |
CN102938848A (en) * | 2011-08-15 | 2013-02-20 | Rgb网络有限公司 | Instantaneous decoder refresh frame aligned multi-bitrate transcoder output |
CN104754366A (en) * | 2015-03-03 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Audio and video file live broadcasting method, device and system |
Also Published As
Publication number | Publication date |
---|---|
WO2018010662A1 (en) | 2018-01-18 |
CN106210884A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106210884B (en) | The code-transferring method and device of video file | |
CN107493484A (en) | System, method and apparatus for projection screen | |
CN113315973B (en) | Encoding method, image encoder, and image transmission system | |
CN104412253B (en) | The method of self adaptation stream transmission is known for the quality in hypertext transfer protocol | |
CN110636346A (en) | Code rate self-adaptive switching method and device, electronic equipment and storage medium | |
CN106888169A (en) | Video broadcasting method and device | |
CN106603503B (en) | The treating method and apparatus of live data | |
CN108650510A (en) | The coding method of video and device, storage medium, electronic device | |
CN103197836B (en) | The exchange method of a kind of multimedia messages, Apparatus and system | |
WO2021057697A1 (en) | Video encoding and decoding methods and apparatuses, storage medium, and electronic device | |
CN109587570A (en) | The playing method and device of video | |
CN110113621A (en) | Playing method and device, storage medium, the electronic device of media information | |
CN103260052A (en) | Self-adapting display flows | |
CN110996122B (en) | Video frame transmission method, device, computer equipment and storage medium | |
CN106385627A (en) | Video coding method and device | |
CN104837048A (en) | Screen mirror implementation method and system | |
KR101980330B1 (en) | Device for Generating a Video Output Data Stream, Video Source, Video System and Method for Generating a Video Output Data Stream and a Video Source Data Stream | |
CN104506866B (en) | A kind of video coding processing method and video encoder suitable for more code streams | |
CN110572672B (en) | Video encoding and decoding method and device, storage medium and electronic device | |
CN110572677A (en) | video encoding and decoding method and device, storage medium and electronic device | |
WO2007114107A1 (en) | Server device in contents transmitting system and contents transmitting method | |
CN105430527B (en) | Streaming media reminding method and terminal equipment | |
CN109561119A (en) | A kind of data transmission method for uplink, data receiver method and equipment | |
CN108574881A (en) | A kind of projection type recommends method, server and client | |
CN111355994A (en) | Courseware control method, terminal and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
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 |