CN107071562A - A kind of transcoding parameter method to set up and device - Google Patents
A kind of transcoding parameter method to set up and device Download PDFInfo
- Publication number
- CN107071562A CN107071562A CN201710339890.2A CN201710339890A CN107071562A CN 107071562 A CN107071562 A CN 107071562A CN 201710339890 A CN201710339890 A CN 201710339890A CN 107071562 A CN107071562 A CN 107071562A
- Authority
- CN
- China
- Prior art keywords
- parameter
- transcoding
- transcoded
- multimedia
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000004458 analytical method Methods 0.000 claims description 10
- 238000005070 sampling Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 16
- 238000010586 diagram Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000013442 quality metrics 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
- H04N21/440236—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by media transcoding, e.g. video is transformed into a slideshow of still pictures, 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/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/439—Processing of audio elementary streams
- H04N21/4398—Processing of audio elementary streams involving reformatting operations of audio signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Transcoding parameter method to set up and device that the present embodiment is provided, obtain after multimedia file to be transcoded, analyze the multimedia file to be transcoded and obtain corresponding multimedia parameter;And transcoding parameter to be selected is determined according to the multimedia parameter, and the transcoding parameter to be selected turn is showed into user, so that user sets target transcoding parameter according to transcoding parameter to be selected.Pass through said process, this method can automatically analyze the multimedia parameter of multimedia file to be transcoded, and transcoding parameter to be selected is determined according to the multimedia parameter, so that user sets target transcoding parameter with reference to transcoding parameter to be selected, both realized that user can voluntarily set transcoding parameter, simultaneously, ensure the accuracy for the target transcoding parameter that user is set, that is, the respective demand of different user had both been met, transcoding success rate is can guarantee that again.
Description
Technical field
The invention belongs to field of computer technology, more particularly to a kind of transcoding parameter method to set up and device.
Background technology
With continuing to develop for Internet technology and multimedia technology, digital audio/video service is constantly by traditional broadcast
TV domain extends to new media field.More and more audio-video frequency content can be shown in various types of terminal,
For example, smart mobile phone, tablet personal computer, personal computer and DTV etc., coded format, envelope thus to audio-video frequency content
Dress, resolution ratio etc. propose different demands.
Accordingly, it would be desirable to the lattice for being supported the Video Quality Metric of certain form into destination player using Video Transcoding Technology
Formula.Video code conversion refers to first carry out complete decoding process to compressed video data, then decoding image is scaled, edited or drawn more
The processing such as face combination, finally carry out secondary coding by the decoding image after processing and export.
Video flowing or audio stream are carried out direct transcoding by current code-transferring method, and transcoding parameter is also that transcoding software directly leads to
Cross configuration file to be configured, user does not know the design parameter of the video file produced or audio file;Current transcoding
Software can not support user oneself to set transcoding parameter, moreover, the transcoding parameter that user is arbitrarily set can directly result in transcoding mistake
Lose.
The content of the invention
In view of this, it is traditional to solve it is an object of the invention to provide a kind of transcoding parameter method to set up and device
Code-transferring method can not support user oneself to set the technical problem of transcoding parameter.
In a first aspect, the application provides a kind of transcoding parameter method to set up, including:
Obtain multimedia file to be transcoded;
Analysis obtains the multimedia parameter of the multimedia file to be transcoded;
Transcoding parameter to be selected is determined according to the multimedia parameter;
Show the transcoding parameter to be selected.
Alternatively, when the multimedia file to be transcoded is video file, the multimedia parameter includes:File size,
Media formats, file duration, video average bit rate, video format, coding class, code level, video resolution, average code
Rate, frame per second, color sampling and locating depth;
When the multimedia file to be transcoded is audio file, the multimedia parameter includes:Sample rate, audio coding side
Formula, channel number and audio coding code check.
Alternatively, it is described to be determined according to the multimedia parameter if the multimedia file to be transcoded is video file
Transcoding parameter to be selected, including:
Determine that the resolution ratio in the transcoding parameter to be selected is less than or equal to the resolution ratio of the multimedia file to be transcoded;
Determine average bit rate being averaged less than or equal to the multimedia file to be transcoded in the transcoding parameter to be selected
Code check.
Alternatively, it is described to be determined according to the multimedia parameter if the multimedia file to be transcoded is audio file
Transcoding parameter to be selected, including:
Determine the audio coding code check in the transcoding parameter to be selected less than or equal to the multimedia file to be transcoded
Audio coding code check.
Alternatively, methods described also includes:
Receive the target transcoding parameter that user determines according to the transcoding parameter to be selected;
According to the target transcoding parameter, the multimedia file to be transcoded is converted into the multimedia text of object format
Part.
Alternatively, including first thread and the second thread;
The multimedia parameter for obtaining the multimedia file to be transcoded is analyzed using the first thread;
Performed using second thread according to the target transcoding parameter, the multimedia file to be transcoded is converted into
The multimedia file of object format.
Alternatively, methods described also includes:
Show the multimedia parameter of the multimedia file to be transcoded.
Second aspect, the application provides a kind of transcoding parameter and sets device, including:
Acquiring unit, for obtaining multimedia file to be transcoded;
Analytic unit, the multimedia parameter of the multimedia file to be transcoded is obtained for analyzing;
Transcoding parameter determining unit to be selected, for determining transcoding parameter to be selected according to the multimedia parameter;
First display unit, for showing the transcoding parameter to be selected.
Alternatively, if the multimedia file to be transcoded is video file, the transcoding parameter determining unit to be selected, bag
Include:
First determination subelement, for determining the resolution ratio in the transcoding parameter to be selected less than or equal to described to be transcoded
The resolution ratio of multimedia file;
Second determination subelement, for determining that the average bit rate in the transcoding parameter to be selected is waited to turn less than or equal to described
The average bit rate of code multimedia file.
Alternatively, described device also includes:
Receiving unit, for receiving the target transcoding parameter that user determines according to the transcoding parameter to be selected;
Transcoding units, for according to the target transcoding parameter, the multimedia file to be transcoded to be converted into target lattice
The multimedia file of formula.
The transcoding parameter method to set up that the present embodiment is provided, obtains after multimedia file to be transcoded, analyzes this to be transcoded many
Media file obtains corresponding multimedia parameter;And transcoding parameter to be selected is determined according to the multimedia parameter, and this is to be selected
Transcoding parameter turns to show user, so that user sets target transcoding parameter according to transcoding parameter to be selected.Can by said process
Know, this method can automatically analyze the multimedia parameter of multimedia file to be transcoded, and determined and treat according to the multimedia parameter
Transcoding parameter is selected, so that user sets target transcoding parameter with reference to transcoding parameter to be selected, had both realized that user can voluntarily be set and has turned
Code parameter, simultaneously, it is ensured that the accuracy for the target transcoding parameter that user is set, i.e. both met the respective demand of different user, again
It can guarantee that transcoding success rate.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 shows a kind of schematic flow sheet of transcoding parameter method to set up of the embodiment of the present application;
Fig. 2 shows that the embodiment of the present application is a kind of and determines that the flow of transcoding parameter process to be selected is illustrated according to multimedia parameter
Figure;
Fig. 3 shows the schematic flow sheet of another transcoding parameter method to set up of the embodiment of the present application;
Fig. 4 shows the schematic flow sheet of another transcoding parameter method to set up of the embodiment of the present application;
Fig. 5 shows that a kind of transcoding parameter of the embodiment of the present application sets the block diagram of device;
Fig. 6 shows a kind of block diagram of parameter determination unit to be transcoded of the embodiment of the present application;
Fig. 7 shows that another transcoding parameter of the embodiment of the present application sets the block diagram of device;
Fig. 8 shows that another transcoding parameter of the embodiment of the present application sets the block diagram of device.
Embodiment
Current code-transferring method triggers transcoding flow automatically, and video flowing or audio stream directly are carried out into transcoding, transcoding parameter
Directly configured by transcoding software;Moreover, user does not know the parameter of current file to be transcoded, the transcoding ginseng that user is arbitrarily set
Number can directly result in transcoding failure.Therefore, this application provides a kind of transcoding parameter method to set up, many matchmakers to be transcoded are analyzed first
The multimedia parameter of body file, then, transcoding parameter to be selected is determined according to the obtained multimedia parameter of analysis, so that user is from treating
Select selection target transcoding parameter in transcoding parameter.So, the demand that user sets transcoding parameter had both been met, has been not in basis again
The transcoding parameter that user oneself is set, which carries out transcoding, causes the phenomenon of transcoding failure.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is referred to, a kind of flow chart of transcoding parameter method to set up of the embodiment of the present application is shown, this method is applied to
In computer equipment, the computer equipment can be terminal, such as smart mobile phone, tablet personal computer or PC, or
Person, can be server.As shown in figure 1, this method may comprise steps of:
S110, obtains multimedia file to be transcoded.
Multimedia file to be transcoded is any one multimedia file for needing to carry out transcoding of user's selection, multimedia text
Part can be audio file, or video file.
In a kind of possible implementation of the application, if executive agent is terminal, multimedia text to be transcoded is obtained
Part refers to that the client for being used to realize transcoding parameter method to set up installed in terminal receives the multimedia file of user's selection.
In the alternatively possible implementation of the application, if executive agent is server, many matchmakers to be transcoded are obtained
Body file refers to that server receives the selected multimedia file of user that client is sent.
S120, analysis obtains the multimedia parameter of the multimedia file to be transcoded.
If multimedia file to be transcoded is video file, corresponding multimedia parameter includes but is not limited to:File is big
It is small, media formats, file duration, video average bit rate, video format, coding class, code level, video resolution, average
Code check, frame per second, color sampling and locating depth.
If multimedia file to be transcoded is audio file, corresponding multimedia parameter includes but is not limited to:Sample rate,
Audio coding mode, channel number and audio coding code check.
S130, transcoding parameter to be selected is determined according to the multimedia parameter.
If file to be transcoded is video file, as shown in Fig. 2 determining the process of transcoding parameter to be selected can include:
S131, determines that the resolution ratio in transcoding parameter to be selected is less than or equal to the resolution of the multimedia file to be transcoded
Rate.
S132, determines average bit rate being averaged less than or equal to the multimedia file to be transcoded in transcoding parameter to be selected
Code check.
The form that video format user can be supported according to destination player is set.
If file to be transcoded is audio file, it is determined that the audio coding code check in transcoding parameter to be selected is less than or equal to
The audio coding code check of the multimedia file to be transcoded.
S140, the transcoding parameter to be selected is shown to user.
In a kind of possible implementation of the application, if executive agent is terminal, by the display screen of terminal to
User shows transcoding parameter to be selected.
If executive agent is server, server sends the transcoding parameter to be selected to client, and passes through client
Transcoding parameter to be selected is shown to user.
The transcoding parameter method to set up that the present embodiment is provided, obtains after multimedia file to be transcoded, analyzes this to be transcoded many
Media file obtains corresponding multimedia parameter;And transcoding parameter to be selected is determined according to the multimedia parameter, and this is to be selected
Transcoding parameter turns to show user, so that user sets target transcoding parameter according to transcoding parameter to be selected.Can by said process
Know, this method can automatically analyze the multimedia parameter of multimedia file to be transcoded, and determined and treat according to the multimedia parameter
Transcoding parameter is selected, so that user sets target transcoding parameter with reference to transcoding parameter to be selected, had both realized that user can voluntarily be set and has turned
Code parameter, simultaneously, it is ensured that the accuracy for the target transcoding parameter that user is set, i.e. both met the respective demand of different user, again
It can guarantee that transcoding success rate.
Fig. 3 is referred to, the flow chart of another transcoding parameter method to set up of the embodiment of the present application is shown, the present embodiment
Transcoding parameter method to set up can increase following steps on the basis of embodiment illustrated in fig. 1:
S210, receives the target transcoding parameter that user determines according to transcoding parameter to be selected.
User can select oneself desired transcoding from the transcoding parameter to be selected shown by above-described embodiment step S140
Parameter.
In a kind of possible implementation of the application, if executive agent is terminal, being used for for being installed in terminal is real
The client of the existing transcoding parameter method to set up, receives the target that user selects from the transcoding parameter to be selected that client is shown
Transcoding parameter;
In the alternatively possible implementation of the application, if executive agent is server, user is described in realization
In the client of transcoding parameter method to set up, the target transcoding parameter for selecting oneself desired from transcoding parameter to be selected, then, by
Client is sent to server.
S220, according to target transcoding parameter, multimedia file to be transcoded is converted into the multimedia file of object format.
If executive agent is terminal, the target transcoding parameter that terminal is selected according to user, by multimedia to be transcoded text
Part is converted into the corresponding destination multimedia file of the target transcoding parameter;It is final to realize that the transcoding parameter set according to user is carried out
Transcoding, meets the demand that user voluntarily sets transcoding parameter, improves user's transcoding experience.
If executive agent is server, the target transcoding parameter that server is sent according to user, by many matchmakers to be transcoded
Body file is converted into the corresponding destination multimedia file of the target transcoding parameter, so as to realize the transcoding parameter set according to user
Transcoding is carried out, the demand that user voluntarily sets transcoding parameter is met, improves user's transcoding experience.
In the alternatively possible implementation of the application, analyze multimedia file to be transcoded and transcoding process makes respectively
Realized with different threads.For example, executive agent includes first thread and the second thread;Obtain described using first thread analysis
The multimedia parameter of multimedia file to be transcoded;Performed using the second thread according to the target transcoding parameter, wait to turn by described
Code multimedia file is converted into the multimedia file of object format.That is, it is asynchronous place to analyze multimedia file to be transcoded and transcoding
Reason, in such manner, it is possible to reduce the time to be transcoded such as user, further improves user's transcoding experience.
The transcoding parameter method to set up that the present embodiment is provided, after transcoding parameter to be selected is shown to user, user can root
Oneself desired transcoding parameter, i.e. target transcoding parameter are selected according to transcoding parameter to be selected;Then, multimedia file to be transcoded is turned
The corresponding destination multimedia file of target transcoding parameter is changed into, so that user plays in destination player.Can by said process
Know, this method can realize that user voluntarily sets the transcoding parameter of multimedia file to be transcoded, and the transcoding set according to user
Parameter carries out transcoding, and transcoding process disclosure satisfy that user voluntarily sets the demand of transcoding parameter, improve Consumer's Experience, moreover,
This method can automatically analyze the multimedia parameter of multimedia file to be transcoded, and determine to be selected turn according to the multimedia parameter
Code parameter, so that user sets target transcoding parameter with reference to transcoding parameter to be selected, had both realized that user voluntarily can set transcoding to join
Number, simultaneously, it is ensured that the accuracy for the target transcoding parameter that user is set.
Fig. 4 is referred to, the flow chart of another transcoding parameter method to set up of the embodiment of the present application is shown, this method is in figure
It is further comprising the steps of on the basis of 1 illustrated embodiment:
S310, shows the multimedia parameter of multimedia file to be transcoded.
After S120 analyses obtain the multimedia parameter of multimedia file to be transcoded, it can show that this is to be transcoded to user
The multimedia parameter of multimedia file, user can voluntarily set transcoding parameter according to the multimedia parameter, so, without waiting for
Transcoding parameter method determines transcoding parameter to be selected.
In another embodiment of the application, the multimedia parameter for showing multimedia file to be transcoded to user can make
User is fully understood by the file parameters of multimedia file to be transcoded, so that user further understands multimedia parameter and transcoding to be selected
Relation between parameter.
The transcoding parameter method to set up that the present embodiment is provided, the multimedia parameter of multimedia file to be transcoded is obtained in analysis
Afterwards, the multimedia parameter of the multimedia file to be transcoded is shown to user.So that user is fully understood by multimedia file to be transcoded
File parameters.
For foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but
It is that those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, certain
A little steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know, be retouched in specification
The embodiment stated belongs to preferred embodiment, and involved action and the module not necessarily present invention are necessary.
Corresponding to above-mentioned transcoding parameter method to set up embodiment, present invention also provides transcoding parameter device embodiment.
Fig. 5 is referred to, shows that a kind of transcoding parameter of the embodiment of the present application sets the block diagram of device, the device can be applied
In terminal or server, for example, terminal can include smart mobile phone, tablet personal computer or PC etc..As shown in figure 5,
The device can include:Acquiring unit 110, analytic unit 120, the display unit of transcoding parameter determining unit to be selected 130 and first
140。
Acquiring unit 110, for obtaining multimedia file to be transcoded.
Multimedia file to be transcoded is any one multimedia file for needing to carry out transcoding of user's selection, multimedia text
Part can be audio file, or video file.
In a kind of possible implementation of the application, if executive agent is terminal, acquiring unit receives user's choosing
The multimedia file selected.
In the alternatively possible implementation of the application, if executive agent is server, acquiring unit receives client
Hold the selected multimedia file of user sent.
Analytic unit 120, the multimedia parameter of the multimedia file to be transcoded is obtained for analyzing.
If multimedia file to be transcoded is video file, corresponding multimedia parameter includes but is not limited to:File is big
It is small, media formats, file duration, video average bit rate, video format, coding class, code level, video resolution, average
Code check, frame per second, color sampling and locating depth.
If multimedia file to be transcoded is audio file, corresponding multimedia parameter includes but is not limited to:Sample rate,
Audio coding mode, channel number and audio coding code check.
Transcoding parameter determining unit 130 to be selected, for determining transcoding parameter to be selected according to the multimedia parameter.
In a kind of possible implementation of the application, if file to be transcoded is video file, as shown in fig. 6,
Transcoding parameter determining unit 130 to be selected, including:
First determination subelement 131, for determining that the resolution ratio in transcoding parameter to be selected is less than or equal to many matchmakers to be transcoded
The resolution ratio of body file.
Second determination subelement 132, for determining the average bit rate in transcoding parameter to be selected less than or equal to be transcoded many
The average bit rate of media file.
In the alternatively possible implementation of the application, if the multimedia file to be transcoded is audio file, treat
Transcoding parameter determining unit 130 is selected specifically for determining the audio coding code check in transcoding parameter to be selected less than or equal to described
The audio coding code check of multimedia file to be transcoded.
First display unit 140, for showing the transcoding parameter to be selected.
In a kind of possible implementation of the application, if executive agent is terminal, the first display unit passes through end
The display screen at end shows transcoding parameter to be selected to user.
If executive agent is server, server sends the transcoding parameter to be selected to client, and passes through client
Transcoding parameter to be selected is shown to user.
The transcoding parameter that the present embodiment is provided sets device, obtains after multimedia file to be transcoded, analyzes this to be transcoded many
Media file obtains corresponding multimedia parameter;And transcoding parameter to be selected is determined according to the multimedia parameter, and this is to be selected
Transcoding parameter turns to show user, so that user sets target transcoding parameter according to transcoding parameter to be selected.Can by said process
Know, the device can automatically analyze the multimedia parameter of multimedia file to be transcoded, and determined and treat according to the multimedia parameter
Transcoding parameter is selected, so that user sets target transcoding parameter with reference to transcoding parameter to be selected, had both realized that user can voluntarily be set and has turned
Code parameter, simultaneously, it is ensured that the accuracy for the target transcoding parameter that user is set, i.e. both met the respective demand of different user, again
It can guarantee that transcoding success rate.
Fig. 7 is referred to, shows that another transcoding parameter of the embodiment of the present application sets the block diagram of device, the present embodiment is in figure
Also include on the basis of 5 illustrated embodiments:Receiving unit 210 and transcoding units 220.
Receiving unit 210, for receiving the target transcoding parameter that user determines according to transcoding parameter to be selected.
In a kind of possible implementation of the application, if executive agent is terminal, receiving unit 210 is applied to eventually
In the client for realizing the transcoding parameter method to set up installed on end, the receiving unit 210 receives user from client
The target transcoding parameter selected in the transcoding parameter to be selected for holding display.
In the alternatively possible implementation of the application, if executive agent is server, the receiving unit 210 should
For in server, user to select certainly in the client for realizing the transcoding parameter method to set up from transcoding parameter to be selected
The target transcoding parameter that oneself wants, then, receiving unit receive the target transcoding parameter that client is sent to user's selection.
Transcoding units 220, for according to target transcoding parameter, multimedia file to be transcoded to be converted into many of object format
Media file.
If executive agent is terminal, the transcoding units are applied to be used to realize transcoding parameter method to set up in terminal
In client, multimedia file to be transcoded is converted into the target by the target transcoding parameter that the transcoding units are selected according to user
The corresponding destination multimedia file of transcoding parameter;It is final to realize that the transcoding parameter set according to user carries out transcoding, meet user
The demand of transcoding parameter is voluntarily set, user's transcoding experience is improved.
If executive agent is server, the transcoding units are applied in server, and the transcoding units are sent out according to user
The target transcoding parameter sent, the corresponding destination multimedia file of the target transcoding parameter is converted into by multimedia file to be transcoded,
So as to realize that the transcoding parameter set according to user carries out transcoding, the demand that user voluntarily sets transcoding parameter is met, is improved
User's transcoding experience.
In the alternatively possible implementation of the application, analyze multimedia file to be transcoded and transcoding process makes respectively
Realized with different threads.For example, executive agent includes first thread and the second thread;Obtain described using first thread analysis
The multimedia parameter of multimedia file to be transcoded;Performed using the second thread according to the target transcoding parameter, wait to turn by described
Code multimedia file is converted into the multimedia file of object format.That is, it is asynchronous place to analyze multimedia file to be transcoded and transcoding
Reason, in such manner, it is possible to reduce the time to be transcoded such as user, further improves user's transcoding experience.
The transcoding parameter that the present embodiment is provided sets device, shows after transcoding parameter to be selected that user can basis to user
Transcoding parameter to be selected selects oneself desired transcoding parameter, i.e. target transcoding parameter;Then, multimedia file to be transcoded is changed
Into the corresponding destination multimedia file of target transcoding parameter, so that user plays in destination player.From said process,
This method can realize that user voluntarily sets the transcoding parameter of multimedia file to be transcoded, and the transcoding parameter set according to user
Transcoding is carried out, transcoding process disclosure satisfy that user voluntarily sets the demand of transcoding parameter, improve Consumer's Experience, moreover, the dress
The multimedia parameter of multimedia file to be transcoded can be automatically analyzed by putting, and determine that transcoding to be selected is joined according to the multimedia parameter
Number, so that user sets target transcoding parameter with reference to transcoding parameter to be selected, had both realized that user can voluntarily set transcoding parameter, together
When, it is ensured that the accuracy for the target transcoding parameter that user is set.
Fig. 8 is referred to, shows that another transcoding parameter of the embodiment of the present application sets the block diagram of device, the device is in Fig. 5
Also include the second display unit 310 on the basis of illustrated embodiment;
Second display unit 310, the multimedia parameter for showing multimedia file to be transcoded.
After analysis obtains the multimedia parameter of multimedia file to be transcoded, can by the second display unit 310 to
User shows the multimedia parameter of the multimedia file to be transcoded, and user voluntarily can set transcoding to join according to the multimedia parameter
Number, so, transcoding parameter to be selected is determined without waiting for transcoding parameter method.
The transcoding parameter that the present embodiment is provided sets device, and the multimedia parameter of multimedia file to be transcoded is obtained in analysis
Afterwards, the multimedia parameter of the multimedia file to be transcoded is shown to user.So that user is fully understood by multimedia file to be transcoded
File parameters.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation be all between difference with other embodiment, each embodiment identical similar part mutually referring to.
For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is joined
See the part explanation of embodiment of the method.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged
Except also there is other identical element in the process including the key element, method, article or equipment.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or using the present invention.To this
A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can
Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with features of novelty with principles disclosed herein most wide
Scope.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of transcoding parameter method to set up, it is characterised in that including:
Obtain multimedia file to be transcoded;
Analysis obtains the multimedia parameter of the multimedia file to be transcoded;
Transcoding parameter to be selected is determined according to the multimedia parameter;
Show the transcoding parameter to be selected.
2. according to the method described in claim 1, it is characterised in that when the multimedia file to be transcoded is video file, institute
Stating multimedia parameter includes:File size, media formats, file duration, video average bit rate, video format, coding class, volume
Code rank, video resolution, average bit rate, frame per second, color sampling and locating depth;
When the multimedia file to be transcoded is audio file, the multimedia parameter includes:Sample rate, audio coding mode,
Channel number and audio coding code check.
3. according to the method described in claim 1, it is characterised in that if the multimedia file to be transcoded is video file,
It is described that transcoding parameter to be selected is determined according to the multimedia parameter, including:
Determine that the resolution ratio in the transcoding parameter to be selected is less than or equal to the resolution ratio of the multimedia file to be transcoded;
Determine that the average bit rate in the transcoding parameter to be selected is less than or equal to the average bit rate of the multimedia file to be transcoded.
4. according to the method described in claim 1, it is characterised in that if the multimedia file to be transcoded is audio file,
It is described that transcoding parameter to be selected is determined according to the multimedia parameter, including:
Determine that the audio coding code check in the transcoding parameter to be selected is less than or equal to the audio of the multimedia file to be transcoded
Encoder bit rate.
5. according to the method described in claim 1, it is characterised in that methods described also includes:
Receive the target transcoding parameter that user determines according to the transcoding parameter to be selected;
According to the target transcoding parameter, the multimedia file to be transcoded is converted into the multimedia file of object format.
6. method according to claim 5, it is characterised in that including first thread and the second thread;
The multimedia parameter for obtaining the multimedia file to be transcoded is analyzed using the first thread;
Performed using second thread according to the target transcoding parameter, the multimedia file to be transcoded is converted into target
The multimedia file of form.
7. according to the method described in claim 1, it is characterised in that methods described also includes:
Show the multimedia parameter of the multimedia file to be transcoded.
8. a kind of transcoding parameter sets device, it is characterised in that including:
Acquiring unit, for obtaining multimedia file to be transcoded;
Analytic unit, the multimedia parameter of the multimedia file to be transcoded is obtained for analyzing;
Transcoding parameter determining unit to be selected, for determining transcoding parameter to be selected according to the multimedia parameter;
First display unit, for showing the transcoding parameter to be selected.
9. device according to claim 8, it is characterised in that if the multimedia file to be transcoded is video file,
The transcoding parameter determining unit to be selected, including:
First determination subelement, for determining that the resolution ratio in the transcoding parameter to be selected is less than or equal to many matchmakers to be transcoded
The resolution ratio of body file;
Second determination subelement, for determining the average bit rate in the transcoding parameter to be selected less than or equal to described to be transcoded many
The average bit rate of media file.
10. device according to claim 8, it is characterised in that described device also includes:
Receiving unit, for receiving the target transcoding parameter that user determines according to the transcoding parameter to be selected;
Transcoding units, for according to the target transcoding parameter, the multimedia file to be transcoded to be converted into object format
Multimedia file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710339890.2A CN107071562A (en) | 2017-05-15 | 2017-05-15 | A kind of transcoding parameter method to set up and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710339890.2A CN107071562A (en) | 2017-05-15 | 2017-05-15 | A kind of transcoding parameter method to set up and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107071562A true CN107071562A (en) | 2017-08-18 |
Family
ID=59597780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710339890.2A Pending CN107071562A (en) | 2017-05-15 | 2017-05-15 | A kind of transcoding parameter method to set up and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107071562A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108174290A (en) * | 2018-01-25 | 2018-06-15 | 北京百度网讯科技有限公司 | For handling the method and apparatus of video |
CN110572713A (en) * | 2019-09-24 | 2019-12-13 | 广州优视云集科技有限公司 | transcoding method and processing terminal for adaptive video bandwidth ratio |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075745A (en) * | 2010-12-02 | 2011-05-25 | 北京世纪鼎点软件有限公司 | Device and method for dynamically configuring input and output of video coder-transcoder |
US20110289108A1 (en) * | 2010-04-02 | 2011-11-24 | Skyfire Labs, Inc. | Assisted Hybrid Mobile Browser |
CN103430535A (en) * | 2011-01-21 | 2013-12-04 | 汤姆逊许可公司 | System and method for enhanced remote transcoding using content profiling |
CN105187835A (en) * | 2014-05-30 | 2015-12-23 | 阿里巴巴集团控股有限公司 | Adaptive video transcode method and device based on contents |
CN105898448A (en) * | 2015-12-14 | 2016-08-24 | 乐视云计算有限公司 | Submission method and device of transcoding attribute information |
-
2017
- 2017-05-15 CN CN201710339890.2A patent/CN107071562A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110289108A1 (en) * | 2010-04-02 | 2011-11-24 | Skyfire Labs, Inc. | Assisted Hybrid Mobile Browser |
CN102075745A (en) * | 2010-12-02 | 2011-05-25 | 北京世纪鼎点软件有限公司 | Device and method for dynamically configuring input and output of video coder-transcoder |
CN103430535A (en) * | 2011-01-21 | 2013-12-04 | 汤姆逊许可公司 | System and method for enhanced remote transcoding using content profiling |
CN105187835A (en) * | 2014-05-30 | 2015-12-23 | 阿里巴巴集团控股有限公司 | Adaptive video transcode method and device based on contents |
CN105898448A (en) * | 2015-12-14 | 2016-08-24 | 乐视云计算有限公司 | Submission method and device of transcoding attribute information |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108174290A (en) * | 2018-01-25 | 2018-06-15 | 北京百度网讯科技有限公司 | For handling the method and apparatus of video |
CN108174290B (en) * | 2018-01-25 | 2019-05-24 | 北京百度网讯科技有限公司 | Method and apparatus for handling video |
CN110572713A (en) * | 2019-09-24 | 2019-12-13 | 广州优视云集科技有限公司 | transcoding method and processing terminal for adaptive video bandwidth ratio |
CN110572713B (en) * | 2019-09-24 | 2020-06-30 | 广州优视云集科技有限公司 | Transcoding method and processing terminal for adaptive video bandwidth ratio |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Le Callet et al. | Qualinet white paper on definitions of quality of experience | |
US8989259B2 (en) | Method and system for media file compression | |
JP2020096342A (en) | Video processing method and apparatus | |
CN104580991B (en) | For conference system to the system and method adapted in real time of the conditions present of conference session | |
WO2017063399A1 (en) | Video playback method and device | |
US20080059581A1 (en) | Viewing data as part of a video conference | |
US20170201478A1 (en) | Systems and methods for manipulating and/or concatenating videos | |
CN102074257A (en) | Software and hardware-decoding general multi-media playing equipment and playing method thereof | |
US20130106988A1 (en) | Compositing of videoconferencing streams | |
Sun et al. | Guide to voice and video over IP: for fixed and mobile networks | |
CN105142009B (en) | Audio and video playing control method and device | |
US8279259B2 (en) | Mimicking human visual system in detecting blockiness artifacts in compressed video streams | |
CN103686352A (en) | Smart television media player and subtitle processing method thereof, and smart television | |
KR20140005261A (en) | System and method for enhanced remote transcoding using content profiling | |
CN107071562A (en) | A kind of transcoding parameter method to set up and device | |
TW200922329A (en) | Method and apparatus for signaling and decoding AVS1-P2 bitstreams of different versions | |
CN109525852A (en) | Live video method for stream processing, device, system and computer readable storage medium | |
US11405442B2 (en) | Dynamic rotation of streaming protocols | |
CN110868610B (en) | Streaming media transmission method, device, server and storage medium | |
CN111031325A (en) | Data processing method and system | |
US20150373301A1 (en) | Input file transformer | |
CN104780392A (en) | Transcoding method and device for video files | |
CN101459833B (en) | Transcoding method used for similar video code stream and transcoding device thereof | |
CN115942009A (en) | Remote video service handling method and device based on hybrid coding | |
KR101189773B1 (en) | Scalable application service system and method applying delivery context |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170818 |
|
RJ01 | Rejection of invention patent application after publication |