CN104796766B - Audio/video file player method and device - Google Patents
Audio/video file player method and device Download PDFInfo
- Publication number
- CN104796766B CN104796766B CN201510106459.4A CN201510106459A CN104796766B CN 104796766 B CN104796766 B CN 104796766B CN 201510106459 A CN201510106459 A CN 201510106459A CN 104796766 B CN104796766 B CN 104796766B
- Authority
- CN
- China
- Prior art keywords
- broadcast format
- audio
- video file
- playback equipment
- sequencing table
- 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
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The embodiment of the invention discloses a kind of audio/video file playing method and device.Methods described includes receiving audio/video file playing request;Obtain the broadcast format that the audio/video file is supported;Inquiring about record in broadcast format sequencing table, the broadcast format sequencing table has the priority orders of broadcast format;Determine the broadcast format that the audio/video file is supported whether is included in the broadcast format sequencing table, if the broadcast format that highest priority is selected in the broadcast format supported comprising if according to broadcast format sequencing table from the audio/video file;The data code flow of the corresponding audio/video file of the broadcast format of the highest priority is exported to playback equipment, so that the playback equipment plays the audio/video file according to the data code flow, the embodiment of the present invention can select broadcast format for user automatically according to broadcast format sequencing table, play audio/video file more intelligent.
Description
Technical field
The present embodiments relate to multimedia technology, more particularly to a kind of audio/video file player method and device.
Background technology
With the development of multimedia technology, the broadcast format that audio/video file is supported is (for example, audio format is compiled including audio
Code form and the recording combination of languages, captions languages) species it is more and more, while playback equipment also compatible a variety of can all be played
Form.By taking audio format as an example, conventional audio format includes Chinese+digital cinema system (Digital Theatre
System, DTS) form, English+DTS coded formats, Korean+DTS coded formats, Chinese+Doby (dolby) coded format, English
Language+dolby coded formats, Chinese+pulse code modulation (Pulse Code Modulation, PCM) form, English+PCM are compiled
Code form and Japanese+pcm encoder form etc.;By taking captions languages as an example, including Chinese, English, French etc..For different
People, the hobby to broadcast format is also different, and some people like English+dolby coded formats, and some people like English+DTS to encode
Form or other audio formats, someone like Chinese subtitle, someone to like English subtitles.
At present, user is when using playback equipment (such as DTV) viewing multimedia, by remote control in blue light
The broadcast format oneself liked is selected on disc player.And user every time using blue light disc player viewing audio/video file when, be required for again
The broadcast format oneself liked is selected, therefore, existing player method complex operation, intelligence degree is relatively low.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of audio/video file playing method and device, existing audio-visual to optimize
Play-back technology, plays audio/video file more intelligent.
In a first aspect, the embodiments of the invention provide a kind of audio/video file player method, including:
Receive audio/video file playing request;
Obtain the broadcast format that the audio/video file is supported;
Inquiring about record in broadcast format sequencing table, the broadcast format sequencing table has the priority orders of broadcast format;
Determine the broadcast format that the audio/video file is supported whether is included in the broadcast format sequencing table, if comprising,
The broadcast format of highest priority is selected in the broadcast format supported according to the broadcast format sequencing table from the audio/video file;
The data code flow of the corresponding audio/video file of the broadcast format of the highest priority is exported to playback equipment,
So that the playback equipment plays the audio/video file according to the data code flow.
In second aspect, the embodiments of the invention provide a kind of audio/video file playing device, including:
Receiving module, for receiving audio/video file playing request;
Acquisition module, for obtaining the broadcast format that the audio/video file is supported;
Enquiry module, has broadcast format for inquiring about record in broadcast format sequencing table, the broadcast format sequencing table
Priority orders;
Determining module, for determining the broadcasting lattice that the audio/video file is supported whether are included in the broadcast format sequencing table
Formula;
Selecting module, for including the audio/video file branch in determining the broadcast format sequencing table in the determining module
Select preferential after the broadcast format held, in the broadcast format supported according to the broadcast format sequencing table from the audio/video file
Level highest broadcast format;
Output module, for by the data code flow of the corresponding audio/video file of the broadcast format of the highest priority
Output is to playback equipment, so that the playback equipment plays the audio/video file according to the data code flow.
The embodiment of the present invention obtains the broadcast format that the audio/video file is supported by receiving audio/video file playing request,
Inquiry record has the broadcast format sequencing table of the priority orders of broadcast format, however, it is determined that included in the broadcast format sequencing table
The broadcast format that the audio/video file is supported, then the broadcasting lattice supported according to the broadcast format sequencing table from the audio/video file
The broadcast format of highest priority is selected in formula sequencing table;By the corresponding audio-visual text of the broadcast format of the highest priority
The data code flow of part is exported to playback equipment, so that the playback equipment plays the audio/video file according to the data code flow,
The embodiment of the present invention can select broadcast format for user automatically according to broadcast format sequencing table, make audio-visual broadcasting more intelligent
Change.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet for audio/video file player method that first embodiment of the invention is provided;
Fig. 2 is a kind of schematic flow sheet for audio/video file player method that second embodiment of the invention is provided;
Fig. 3 is a kind of schematic flow sheet for audio/video file player method that third embodiment of the invention is provided;
Fig. 4 is a kind of structural representation for audio/video file playing device that fourth embodiment of the invention is provided.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings to specific reality of the invention
Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention,
Rather than limitation of the invention.It also should be noted that, for the ease of description, it illustrate only in accompanying drawing related to the present invention
Part rather than full content.
The method of the embodiment of the present invention can connect equipment (such as blue light by being integrated in mobile terminal or dedicated multimedia
Disc player) in audio/video file playing device perform, the device can be realized by way of hardware and/or software, to this not
Limited.
First embodiment
Fig. 1 is a kind of schematic flow sheet for audio/video file player method that first embodiment of the invention is provided, and is specifically included
Following steps:
Step 11, reception audio/video file playing request, perform step 12.
For example, user is then broadcast by clicking on or touching the broadcast button that multimedia connects equipment (such as blue light disc player)
Request is put to send in the form of instructing to audio/video file playing device.Wherein, carried in audio/video file playing request and play content
Position (such as IP address) where (such as video disc, video) or broadcasting content, can be quick during in order to follow-up play
Find the content that user will play.
Step 12, the broadcast format for obtaining the audio/video file support, perform step 13.
Wherein, broadcast format include audio format (such as Chinese+pcm encoder form, English+pcm encoder form, Japanese+
Pcm encoder form, Chinese+dolby coded formats, English+dolby coded formats, Korean+DTS coded formats, Chinese+MP3 are compiled
Code form and English+MP3 coded formats etc.) and captions languages (such as Chinese, English, French, German).
For example, in the prior art, the form composition of disk or video file is as shown in Table 1:
Table one
Wherein, video code flow refers to the view data encoded using video code model, i.e., the figure shown on screen
Picture;Audio code stream is constituted as shown in following table two, refers to encoded the recording of different language using audio coding formats
Voice data, that is, the sound heard when playing, most commonly English+pcm encoder form, English+DTS coded formats, English+
Dolby coded formats etc., wherein, audio presentation form refers to the channel number of audio, such as is stereo or 5.1 sound
Road etc.;Sampling rate information refers to audio sample rate, such as 44.1KHz, 48KHz etc.;Audio language information refers to recording
Languages, such as be English recording or Chinese recording or Guangdong language recording etc..
Table two
Wherein, captions code stream composition is as shown in following table three, the captions that the video referred to is illustrated below, wherein, captions languages letter
It is the language informations such as Chinese or English to cease the captions referred to.
Table three
For example, by taking audio format as an example, by reading the audio included in audio/video file (such as disk or video file)
Code stream, contains the audio format that disk or video are supported in audio code stream, and parsing audio code stream data therefrom obtain coding
Form and language information, so that it is determined that the audio format that disk or video are supported.For example, the audio/video file obtained is supported
Audio format for Chinese+DTS coded formats, English+DTS coded formats, Korean+DTS coded formats, Chinese+dolby coding
Form, English+dolby coded formats, Chinese+pcm encoder form, English+pcm encoder form and Japanese+pcm encoder form
Deng.
Record has the priority of broadcast format in step 13, inquiry broadcast format sequencing table, the broadcast format sequencing table
Sequentially, step 14 is performed.
Wherein, broadcast format sequencing table is also classified into audio format sequencing table and captions languages sequencing table, above-mentioned broadcast format
Sequencing table is that the broadcast format record used according to user's history is formulated, and can accurately reflect the hobby of user, excellent
The higher broadcast format of first level shows that user is more frequent using the broadcast format, further illustrates that user more likes the broadcasting lattice
Formula.
Step 14, determine in the broadcast format sequencing table whether the broadcast format supported comprising the audio/video file.
If for example, inquiring the broadcast format that the audio/video file is supported in broadcast format sequencing table, it is determined that described
The broadcast format supported in broadcast format sequencing table comprising the audio/video file, then perform step 15.
Priority is selected in step 15, the broadcast format supported according to the broadcast format sequencing table from the audio/video file
Highest broadcast format, performs step 16.
For example, when carrying out audio format selection, then selecting the audio lattice of highest priority from audio format sequencing table
Formula;When carrying out the selection of captions languages, then the languages of highest priority are selected from captions languages sequencing table.
Step 16, the data code flow of the corresponding audio/video file of the broadcast format of the highest priority exported to broadcasting
Equipment is put, so that the playback equipment plays the audio/video file according to the data code flow.
For example, the corresponding audio-visual text of the audio format and/or captions languages of the highest priority that step 15 is selected
The data code flow of part is exported to playback equipment, so that the playback equipment plays the audio/video file according to the data code flow.
The present embodiment obtains the broadcast format that the audio/video file is supported by receiving audio/video file playing request, inquiry
Record has the broadcast format sequencing table of the priority orders of broadcast format, however, it is determined that comprising described in the broadcast format sequencing table
In the broadcast format that audio/video file is supported, the then broadcast format supported from the audio/video file according to the broadcast format sequencing table
Select the broadcast format of highest priority;By using the number of the corresponding audio/video file of broadcast format of the highest priority
Exported according to code stream to playback equipment, so that the playback equipment plays the audio/video file, Neng Gougen according to the data code flow
The broadcast format for being selected to like by user automatically according to broadcast format sequencing table, makes multimedia more intelligent, removes use from
Family repeats the operating process set.
Exemplary, on the basis of above-described embodiment, methods described also includes:
If being exported by the data code flow of the corresponding audio/video file of the broadcast format of the highest priority to broadcasting
Before equipment, receive the broadcast format of user's selection, then the corresponding audio/video file of broadcast format selected user
Data code flow is exported to playback equipment.
For example, user can select the broadcast format liked by remote control, will if user have selected broadcast format
The data code flow of the corresponding audio/video file of broadcast format of user's selection is exported to playback equipment.
Exemplary, before the inquiry broadcast format sequencing table, in addition to:
Obtain the broadcast format that playback equipment is supported;After inquiry broadcast format sequencing table, in addition to:
If not including the broadcast format that the audio/video file is supported in the broadcast format sequencing table, by audio/video file and
The corresponding data code flow of broadcast format that the playback equipment is supported is exported to playback equipment so that the playback equipment according to
The data code flow plays the audio/video file.
Wherein, playback equipment can be the playback terminals such as DTV.
If encoded for example, the audio format that the audio/video file is supported is Chinese+pcm encoder form and English+dolby
Chinese+pcm encoder form and English+dolby coded formats are not included in form, audio format sequencing table, if the broadcasting obtained
The audio format that equipment is supported is English+dolby coded formats, then by the corresponding data code flow of English+dolby coded formats
Output is to playback equipment, so that the playback equipment plays the audio/video file according to the data code flow.
Exemplary, the number that the broadcast format processing that the audio/video file and the playback equipment are supported is obtained
Exported according to code stream to playback equipment, in addition to:
The broadcast format that the audio/video file and the playback equipment are supported is added to the broadcast format sequencing table
In.
If encoded for example, the broadcast format that the audio/video file is supported is Chinese+pcm encoder form and English+dolby
Form, the broadcast format that the playback equipment is supported is English+dolby coded formats, then by English+dolby coded formats
Encode corresponding data code flow to export to playback equipment, English+dolby coded formats are added into the broadcast format arranges
In sequence table.
Exemplary, on the basis of above-described embodiment, determining the priority orders of the broadcast format includes:
Count the number of times that each broadcast format is selected by user;
The priority orders of each broadcast format are determined according to the order of selected number of times from more to less.
For example, selecting data according to user's history, the number of times that each broadcast format was used by a user is counted, user's history makes
With the more broadcast formats of number of times, its priority is higher.By taking the audio format used as an example, counting user is to each audio format
Number of times is selected, such as statistical result is as shown in following table four:
Table four
Audio format | History selectes number of times |
English+pcm encoder form | 100 |
English+LPCM coded formats | 56 |
English+MP3 coded formats | 150 |
English+WMA coded formats | 128 |
English+AAC coded formats | 139 |
Then the audio format sequencing table of the order determination of number of times from more to less is selected as shown in following table five according to history:
Table five
Audio format | Priority orders | History selectes number of times |
English+MP3 coded formats | 1 | 150 |
English+AAC coded formats | 2 | 139 |
English+WMA coded formats | 3 | 128 |
English+pcm encoder form | 4 | 100 |
English+LPCM coded formats | 5 | 56 |
The formulation of captions languages sequencing table is similar with audio format sequencing table, is described again here.
Second embodiment
Fig. 2 is a kind of schematic flow sheet for audio/video file player method that second embodiment of the invention is provided, and is specifically included
Following steps:
Step 21, reception audio/video file playing request, perform step 22.
Referring specifically to the detailed description of a pair steps of above-described embodiment, it is described again here.
Step 22, the broadcast format for obtaining the audio/video file and playback equipment support respectively, perform step 23.
For example, by reading the audio code stream included in disk or video file, contained in audio code stream disk or
Video support audio format, parsing audio code stream data therefrom obtain encoding format information and languages, so that it is determined that disk or
The audio format that person's video is supported.For example, obtain the audio/video file support audio format for English+AAC coded formats,
English+MP3 coded formats, English+VQF coded formats, English+OggVorbis coded formats, English+WMA coded formats, are obtained
The captions languages that the audio/video file taken is supported are Chinese, Korean, Japanese, German, English, the playback equipment branch of acquisition
The audio format held is English+AAC coded formats, English+MP3 coded formats, English+VQF coded formats, and the described of acquisition is broadcast
It is Chinese, English to put the captions languages of equipment support.
Record has the priority of broadcast format in step 23, inquiry broadcast format sequencing table, the broadcast format sequencing table
Sequentially, step 24 is performed.
For example, the audio format sequencing table of inquiry is as shown in upper table five, captions languages sequencing table is as shown in following table six:
Table six
Captions languages | Priority orders | History selectes number of times |
Chinese | 1 | 1200 |
English | 2 | 1000 |
Korean | 3 | 998 |
French | 4 | 654 |
German | 5 | 546 |
Russian | 6 | 361 |
Step 24, determine broadcast format sequencing table whether comprising the audio/video file support broadcast format.
For example, by inquiring about the audio format sequencing table shown in above-mentioned table five, determining to deposit in above-mentioned audio format sequencing table
The audio format supported in the audio/video file is English+AAC coded formats, English+MP3 coded formats, English+WMA coding
Form, by inquiring about the captions languages sequencing table shown in above-mentioned table six, determines there is the shadow in above-mentioned captions languages sequencing table
The captions languages that sound file is supported are Chinese, Korean, German, English, then step 27 are performed, if in above-mentioned broadcast format sequencing table
The broadcast format supported in the absence of the audio/video file, then perform step 25.
The corresponding data code flow output of step 25, the broadcast format for supporting the audio/video file and the playback equipment
To playback equipment, so that the playback equipment plays the audio/video file according to the data code flow, step 26 is performed.
For example, the audio format that the audio/video file is supported is English+OggVorbis coded formats, English+VQF is encoded
Form, the audio format that playback equipment is supported is English+MP3 coded formats, English+VQF coded formats, by inquiring about above-mentioned table
Audio format sequencing table shown in five, determines that the English that audio/video file and playback equipment are supported is not present in audio format sequencing table
Text+VQF audio coding formats, then will directly be exported using the corresponding voice data code stream of English+VQF audio coding formats to
Playback equipment, so that playback equipment plays the audio/video file.Selection to captions languages uses similar method, no longer tires out here
State.
Step 26, the broadcast format for supporting the audio/video file and playback equipment are added to the broadcast format sequence
In table.
For example, the audio format English+VQF audio coding formats in step 25 being added to shown in above-mentioned table five sorts
In table, new audio format sequencing table is obtained as shown in following table seven, and the new audio format sequencing table contains more audios
Form, can search the audio format sequencing table after updating during so as to follow-up play audio/video file.Captions languages sequencing table is adopted
With similar method, it is described again here.
Table seven
Audio format | Priority orders | History selectes number of times |
English+MP3 coded formats | 1 | 150 |
English+AAC coded formats | 2 | 139 |
English+WMA coded formats | 3 | 128 |
English+pcm encoder form | 4 | 100 |
English+LPCM coded formats | 5 | 56 |
English+VQF coded formats | 6 | 0 |
Step 27, from the broadcast format sequencing table select highest priority broadcast format, perform step 28.
Step 28, the broadcast format for supporting the highest priority and the audio/video file and playback equipment are corresponding
The data code flow of the audio/video file is exported to playback equipment, so that the playback equipment is according to being played the data code flow
Audio/video file.
For example, the example in 22~step 24 of above-mentioned steps, the sound that the audio/video file and playback equipment are supported
Frequency form is English+AAC coded formats, English+MP3 coded formats, English+VQF coded formats, the audio shown in above-mentioned table five
There is the audio format that the audio/video file and playback equipment support in form sequencing table is English+AAC coded formats, English
+ MP3 coded formats, the English+AAC coded formats, English+MP3 coded formats being ordered as in audio format sequencing table
English+MP3 coded formats, English+AAC coded formats, then it is the English+MP3 audio coding formats of highest priority are corresponding
The data code flow of the audio/video file is exported to playback equipment.For another example being deposited in captions languages sequencing table shown in above-mentioned table six
The captions languages supported in the audio/video file and playback equipment are Chinese, English, and the Chinese, English are in the sequence of captions languages
Being ordered as in table is Chinese, English, then the data code flow of the corresponding audio/video file of the Chinese subtitle of highest priority is defeated
Go out to playback equipment.
The present embodiment obtains the broadcast format that the audio/video file is supported by receiving audio/video file playing request, inquiry
Record has the broadcast format sequencing table of the priority orders of broadcast format, however, it is determined that comprising described in the broadcast format sequencing table
The broadcast format that audio/video file is supported, then select the broadcast format of highest priority from the broadcast format sequencing table;By institute
The data code flow for stating the corresponding audio/video file of broadcast format of highest priority is exported to playback equipment, so that described play
Equipment plays the audio/video file according to the data code flow, can be liked automatically by user's selection according to broadcast format sequencing table
Joyous broadcast format, makes multimedia more intelligent, removes the operating process that user repeats to set from.
Also, when not including the broadcast format that the audio/video file is supported in the broadcast format sequencing table, then it will adopt
The data code flow for the corresponding audio/video file of broadcast format supported with the audio/video file and playback equipment is exported to broadcasting
Equipment is put, so that the playback equipment plays the audio/video file, and by broadcasting that the audio/video file and playback equipment are supported
Put form to be added in the broadcast format sequencing table, the broadcasting lattice after updating can be searched by facilitating during follow-up play audio/video file
Formula sequencing table.
3rd embodiment
Fig. 3 be third embodiment of the invention provide a kind of multi-medium play method schematic flow sheet, specifically include as
Lower step:
Step 31, reception audio/video file playing request, perform step 32.
Step 32, the broadcast format for receiving user's selection, perform step 33.
The data code flow of the corresponding audio/video file of step 33, the broadcast format for selecting user, which is exported to broadcasting, to be set
It is standby, so that the playback equipment plays the audio/video file, perform step 34.
Step 34, renewal broadcast format sequencing table.
For example, by taking audio format sequencing table as an example, the audio format that user selectes is English+VQF coded formats, then by sound
The corresponding history of frequency form sequencing table English+VQF coded formats is selected number of times and is updated, by taking above-mentioned table seven as an example, then will
The corresponding history of the English+VQF audio coding formats of table seven selectes number of times and is updated to 1, subsequently to select number of times according to history
Update corresponding priority orders.Similar method is used to recording languages sequencing table, is described again here.
The present embodiment plays the audio/video file by the broadcast format selected according to user, and updates broadcast format sequence
The corresponding history of broadcast format of user's selection in table selectes number of times, updates corresponding subsequently to select number of times according to history
Priority orders, make audio-visual broadcasting more intelligent.
Fourth embodiment
Fig. 4 is a kind of structural representation for audio/video file playing device that fourth embodiment of the invention is provided, and is specifically included
Receiving module 41, acquisition module 42, enquiry module 43, determining module 44, selecting module 45 and output module 46.
Receiving module 41 is used to receive audio/video file playing request;
Acquisition module 42 is used to obtain the broadcast format that the audio/video file is supported;
Enquiry module 43, which is used to inquire about record in broadcast format sequencing table, the broadcast format sequencing table, broadcast format
Priority orders;
Determining module 44 is used to determine in the broadcast format sequencing table broadcasting for whether including audio/video file support
Form;
Selecting module 45 is used in the determining module 44 determines the broadcast format sequencing table include the audio-visual text
After the broadcast format that part is supported, selected in the broadcast format supported according to the broadcast format sequencing table from the audio/video file
The broadcast format of highest priority;
Output module 46 is used for the data code flow of the corresponding audio/video file of the broadcast format of the highest priority
Output is to playback equipment, so that the playback equipment plays the audio/video file according to the data code flow.
Exemplary, on the basis of above-described embodiment, the receiving module 41 is additionally operable to will in the output module 46
The data code flow of the audio/video file obtained using the broadcast format processing of the highest priority export to playback equipment it
Before, receive the broadcast format of user's selection;
The output module 46 is additionally operable to the data code flow for the corresponding audio/video file of broadcast format for selecting user
Export to playback equipment.
Exemplary, on the basis of above-described embodiment, the acquisition module 42 is additionally operable to look into the enquiry module 43
Ask before broadcast format sequencing table, obtain the broadcast format that the playback equipment is supported;
The output module 46 is additionally operable in the determining module 44 determines the broadcast format sequencing table not include institute
It is after the broadcast format for stating audio/video file support, the audio/video file is corresponding with the broadcast format that the playback equipment is supported
Data code flow export to playback equipment so that the playback equipment plays the audio/video file according to the data code flow.
Exemplary, described device also includes:
Add module 47 is used for the corresponding data of broadcast format for supporting the audio/video file in the output module 46
Code stream is exported to playback equipment, and the broadcast format that the audio/video file and the playback equipment are supported is added to described
In broadcast format sequencing table.
Exemplary, on the basis of above-described embodiment, described device also includes:
Statistical module 48 is used to count the number of times that each broadcast format is selected by user;
Order module 49 is used for the priority orders that each broadcast format is determined according to the order of selected number of times from more to less.
The audio/video file playing device that the embodiment of the present invention is provided can be used for performing what any embodiment of the present invention was provided
Audio/video file player method, possesses corresponding functional module, realizes identical beneficial effect.
The embodiment of the present invention also provides a kind of blue light disc player, including the audio/video file playing device in fourth embodiment.
Obviously, it will be understood by those skilled in the art that above-mentioned each module of the invention or each step can be by as above
Described server implementation.Alternatively, the embodiment of the present invention can be realized with the executable program of computer installation, so as to
Performed with being stored in storage device by processor, described program can be stored in a kind of computer-readable storage
In medium, storage medium mentioned above can be read-only storage, disk or CD etc.;Or be fabricated to them respectively each
Individual integrated circuit modules, or the multiple modules or step in them are fabricated to single integrated circuit module to realize.So,
The present invention is not restricted to the combination of any specific hardware and software.The preferred embodiments of the present invention are the foregoing is only, not
For limiting the present invention, to those skilled in the art, the present invention can have various changes and change.It is all the present invention
Any modification, equivalent substitution and improvements made within spirit and principle etc., should be included in the scope of the protection.
Claims (6)
1. a kind of audio/video file player method, it is characterised in that including:
Receive audio/video file playing request;
Obtain the broadcast format that the audio/video file is supported;
Broadcast format sequencing table is inquired about, the broadcast format record that the broadcast format sequencing table is used according to user's history is made
It is fixed, wherein record has the priority orders of broadcast format;
Determine the broadcast format that the audio/video file is supported whether is included in the broadcast format sequencing table, if including basis
The broadcast format of highest priority is selected in the broadcast format that the broadcast format sequencing table is supported from the audio/video file;
The data code flow of the corresponding audio/video file of the broadcast format of the highest priority is exported to playback equipment, so that
The playback equipment plays the audio/video file according to the data code flow;
Wherein, before inquiry broadcast format sequencing table, in addition to:Obtain the broadcast format that playback equipment is supported;
After inquiry broadcast format sequencing table, in addition to:If not including the audio/video file in the broadcast format sequencing table
The broadcast format of support, then it is the corresponding data code flow of broadcast format that the audio/video file and the playback equipment are supported is defeated
Go out to playback equipment, so that the playback equipment plays the audio/video file according to the data code flow;
Wherein, the corresponding data code flow of broadcast format that the audio/video file and the playback equipment are supported export to
After playback equipment, the broadcast format that the audio/video file and the playback equipment are supported is added to the broadcast format row
In sequence table.
2. according to the method described in claim 1, it is characterised in that also include:
If being exported by the data code flow of the corresponding audio/video file of the broadcast format of the highest priority to playback equipment
Before, the broadcast format of user's selection, the then data of the corresponding audio/video file of broadcast format selected user are received
Code stream is exported to playback equipment.
3. the method according to any one of claim 1 and 2, it is characterised in that determine that the priority of the broadcast format is suitable
Sequence includes:
Count the number of times that each broadcast format is selected by user;
The priority orders of each broadcast format are determined according to the order of selected number of times from more to less.
4. a kind of audio/video file playing device, it is characterised in that including:
Receiving module, for receiving audio/video file playing request;
Acquisition module, for obtaining the broadcast format that the audio/video file is supported;
Enquiry module, for inquiring about broadcast format sequencing table, the broadcasting that the broadcast format sequencing table is used according to user's history
Form record is formulated, wherein record has the priority orders of broadcast format;
Determining module, for determining the broadcast format that the audio/video file is supported whether is included in the broadcast format sequencing table;
Selecting module, for what is supported in determining the broadcast format sequencing table in the determining module comprising the audio/video file
After broadcast format, priority is selected most in the broadcast format supported according to the broadcast format sequencing table from the audio/video file
High broadcast format;
Output module, for by the data code flow of the corresponding audio/video file of the broadcast format of the highest priority export to
Playback equipment, so that the playback equipment plays the audio/video file according to the data code flow;
Wherein, before inquiry broadcast format sequencing table, in addition to:
The acquisition module, is additionally operable to before enquiry module inquiry broadcast format sequencing table, obtains the playback equipment
The broadcast format of support;
The output module, is additionally operable in the determining module determines the broadcast format sequencing table not include the audio-visual text
After the broadcast format that part is supported, the corresponding numeric data code of broadcast format that the audio/video file and the playback equipment are supported
Stream output is to playback equipment, so that the playback equipment plays the audio/video file according to the data code flow;
Add module, the corresponding data code flow output of broadcast format for supporting the audio/video file in the output module
To playback equipment, the broadcast format that the audio/video file and the playback equipment are supported is added to the broadcast format
In sequencing table.
5. device according to claim 4, it is characterised in that the receiving module is additionally operable to:
The data code flow of the corresponding audio/video file of the broadcast format of the highest priority is exported in the output module
To before playback equipment, the broadcast format of user's selection is received;
The output module is additionally operable to:The data code flow for the corresponding audio/video file of broadcast format that user is selected export to
Playback equipment.
6. the device according to any one of claim 4 and 5, it is characterised in that described device also includes:
Statistical module, for counting the number of times that each broadcast format is selected by user;
Order module, the priority orders for determining each broadcast format according to the order of selected number of times from more to less.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510106459.4A CN104796766B (en) | 2015-03-11 | 2015-03-11 | Audio/video file player method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510106459.4A CN104796766B (en) | 2015-03-11 | 2015-03-11 | Audio/video file player method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104796766A CN104796766A (en) | 2015-07-22 |
CN104796766B true CN104796766B (en) | 2017-11-03 |
Family
ID=53561219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510106459.4A Active CN104796766B (en) | 2015-03-11 | 2015-03-11 | Audio/video file player method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104796766B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872791A (en) * | 2015-12-15 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Method and device for playing audio-video file and player |
WO2018032159A1 (en) * | 2016-08-14 | 2018-02-22 | 阮元 | Market-based format matching technology adjusting method and website |
WO2018032157A1 (en) * | 2016-08-14 | 2018-02-22 | 阮元 | Method for matching webpage format according to mobile phone number and website |
WO2018032158A1 (en) * | 2016-08-14 | 2018-02-22 | 阮元 | Method for disabling mobile phone number-based webpage format matching and website |
CN106341726A (en) * | 2016-09-12 | 2017-01-18 | 努比亚技术有限公司 | Information play method and equipment thereof |
WO2018176225A1 (en) * | 2017-03-28 | 2018-10-04 | 深圳实现创新科技有限公司 | Decoding method and system for audio and video data |
CN106899886A (en) * | 2017-03-28 | 2017-06-27 | 深圳实现创新科技有限公司 | Audio, video data coding/decoding method and system |
CN108156480B (en) * | 2017-12-27 | 2022-01-04 | 腾讯科技(深圳)有限公司 | Video subtitle generation method, related device and system |
CN114466219A (en) * | 2021-11-23 | 2022-05-10 | 海信视像科技股份有限公司 | Display device, subtitle data processing method, and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101442560A (en) * | 2008-12-10 | 2009-05-27 | 南京邮电大学 | Method for playing and enquiring mobile communication terminal image and sound based on mobile grid |
EP2339842A1 (en) * | 2009-11-18 | 2011-06-29 | STMicroelectronics (Grenoble 2) SAS | Method and apparatus for controlling the playback speed of a coded digital video sequence |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWM240626U (en) * | 2003-06-13 | 2004-08-11 | Aviquest Technology Co Ltd | Integrated flat display |
KR100656207B1 (en) * | 2005-03-14 | 2006-12-13 | 삼성전자주식회사 | Image recording and playing apparatus for automatically generating playlist using bookmark to - Video Recoding format and playlist generating method thereof |
CN102157168B (en) * | 2011-01-13 | 2013-04-03 | 博视联(苏州)信息科技有限公司 | Intelligent play device and play method for personalized music |
CN103067759A (en) * | 2011-10-19 | 2013-04-24 | 深圳市快播科技有限公司 | Establishment method and devices of playback link and player |
CN103093776B (en) * | 2011-11-04 | 2016-01-20 | 腾讯科技(深圳)有限公司 | Multi-audio-track content player method and system in network audiovisual |
-
2015
- 2015-03-11 CN CN201510106459.4A patent/CN104796766B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101442560A (en) * | 2008-12-10 | 2009-05-27 | 南京邮电大学 | Method for playing and enquiring mobile communication terminal image and sound based on mobile grid |
EP2339842A1 (en) * | 2009-11-18 | 2011-06-29 | STMicroelectronics (Grenoble 2) SAS | Method and apparatus for controlling the playback speed of a coded digital video sequence |
Also Published As
Publication number | Publication date |
---|---|
CN104796766A (en) | 2015-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104796766B (en) | Audio/video file player method and device | |
US11831959B2 (en) | Media preference database | |
US11055059B2 (en) | Identification of audio content | |
US11016727B2 (en) | Audio track selection and playback | |
US10524070B2 (en) | Conditional content enhancement | |
US10331736B2 (en) | Facilitating streaming media access via a media-item database | |
KR102255152B1 (en) | Contents processing device and method for transmitting segments of variable size and computer-readable recording medium | |
US20230109783A1 (en) | Computing device and corresponding method for generating data representing text | |
CN105868400A (en) | Recorded sound information processing method and recorded sound information processing device | |
CN102291621B (en) | Information-providing server, messaging device and homogeneity decision-making system and method | |
CN112765396A (en) | Song recommendation method and device, electronic equipment and storage medium | |
JP2007201680A (en) | Information management apparatus and method, and program | |
US10031899B2 (en) | Computing device and corresponding method for generating data representing text | |
US10339219B2 (en) | Computing device and corresponding method for generating data representing text |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |