[go: up one dir, main page]

CN104796766A - Video file play method and device - Google Patents

Video file play method and device Download PDF

Info

Publication number
CN104796766A
CN104796766A CN201510106459.4A CN201510106459A CN104796766A CN 104796766 A CN104796766 A CN 104796766A CN 201510106459 A CN201510106459 A CN 201510106459A CN 104796766 A CN104796766 A CN 104796766A
Authority
CN
China
Prior art keywords
playback
audio
format
playback format
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510106459.4A
Other languages
Chinese (zh)
Other versions
CN104796766B (en
Inventor
黄童丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510106459.4A priority Critical patent/CN104796766B/en
Publication of CN104796766A publication Critical patent/CN104796766A/en
Application granted granted Critical
Publication of CN104796766B publication Critical patent/CN104796766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明实施例公开了一种影音文件播放方法和装置。所述方法包括接收影音文件播放请求;获取所述影音文件支持的播放格式;查询播放格式排序表,所述播放格式排序表中记录有播放格式的优先级顺序;确定所述播放格式排序表中是否包含所述影音文件支持的播放格式,若包含则根据播放格式排序表从所述影音文件支持的播放格式中选择优先级最高的播放格式;将所述优先级最高的播放格式对应的所述影音文件的数据码流输出至播放设备,以使所述播放设备根据所述数据码流播放所述影音文件,本发明实施例能够根据播放格式排序表自动为用户选择播放格式,使影音文件播放更加智能化。

The embodiment of the invention discloses a video and audio file playing method and device. The method includes receiving an audio-visual file playback request; obtaining the playback format supported by the audio-visual file; querying the playback format sorting table, the priority order of the playback format is recorded in the playback format sorting table; determining the playback format in the playback format sorting table Whether to include the playback format supported by the audio-visual file, if included, select the playback format with the highest priority from the playback formats supported by the audio-visual file according to the playback format sorting table; The data code stream of the video file is output to the playback device, so that the playback device plays the video file according to the data code stream. The embodiment of the present invention can automatically select the playback format for the user according to the playback format sorting table, so that the video file can be played Smarter.

Description

Audio/video file player method and device
Technical field
The embodiment of the present invention relates to multimedia technology, particularly relates to a kind of audio/video file player method and device.
Background technology
Along with the development of multimedia technology, the broadcast format that audio/video file is supported (such as, audio format comprises audio coding formats and the recording combination of languages, captions languages) kind get more and more, playback equipment also all can compatible multiple broadcast format simultaneously.For audio format, conventional audio format comprises Chinese+digital cinema system (Digital Theatre System, DTS) form, English+DTS coded format, Korean+DTS coded format, Chinese+Doby (dolby) coded format, English+dolby coded format, Chinese+pulse code modulation (Pulse Code Modulation, PCM) form, English+pcm encoder form and Japanese+pcm encoder form etc.; For captions languages, comprise Chinese, English, French etc.For different people, also different to the hobby of broadcast format, some people likes English+dolby coded format, and some people likes English+DTS coded format or other audio format, and someone likes Chinese subtitle, someone likes English subtitles.
At present, user when using playback equipment (such as Digital Television) to watch multimedia, all by broadcast format that remote controller selects oneself to like on blue light disc player.And user use at every turn blue light disc player watch audio/video file time, all need to reselect the broadcast format oneself liked, therefore, existing player method complicated operation, intelligence degree is lower.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of audio/video file playing method and device, to optimize existing audio-visual play-back technology, audio/video file is play more intelligent.
In first aspect, embodiments provide a kind of audio/video file player method, comprising:
Receive audio/video file playing request;
Obtain the broadcast format that described audio/video file is supported;
Inquiry broadcast format sequencing table, records the priority orders of broadcast format in described broadcast format sequencing table;
Determine the broadcast format whether comprising the support of described audio/video file in described broadcast format sequencing table, if comprise, then from the broadcast format that described audio/video file is supported, select the broadcast format that priority is the highest according to described broadcast format sequencing table;
Export the data code flow of described audio/video file corresponding for broadcast format the highest for described priority to playback equipment, play described audio/video file to make described playback equipment according to described data code flow.
In second aspect, embodiments provide a kind of audio/video file playing device, comprising:
Receiver module, for receiving audio/video file playing request;
Acquisition module, for obtaining the broadcast format that described audio/video file is supported;
Enquiry module, for inquiring about broadcast format sequencing table, records the priority orders of broadcast format in described broadcast format sequencing table;
Determination module, for determining the broadcast format whether comprising the support of described audio/video file in described broadcast format sequencing table;
Select module, for determine to comprise in described broadcast format sequencing table broadcast format that described audio/video file supports at described determination module after, from the broadcast format that described audio/video file is supported, select the broadcast format that priority is the highest according to described broadcast format sequencing table;
Output module, for exporting the data code flow of described audio/video file corresponding for broadcast format the highest for described priority to playback equipment, plays described audio/video file to make described playback equipment according to described data code flow.
The embodiment of the present invention is by receiving audio/video file playing request, obtain the broadcast format that described audio/video file is supported, query note has the broadcast format sequencing table of the priority orders of broadcast format, comprise the broadcast format that described audio/video file is supported if determine in described broadcast format sequencing table, then from the broadcast format sequencing table that described audio/video file is supported, select the broadcast format that priority is the highest according to described broadcast format sequencing table; Export the data code flow of described audio/video file corresponding for broadcast format the highest for described priority to playback equipment, described audio/video file is play according to described data code flow to make described playback equipment, the embodiment of the present invention can, according to broadcast format sequencing table automatically for user selects broadcast format, make audio-visual broadcasting more intelligent.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of audio/video file player method that first embodiment of the invention provides;
Fig. 2 is the schematic flow sheet of a kind of audio/video file player method that second embodiment of the invention provides;
Fig. 3 is the schematic flow sheet of a kind of audio/video file player method that third embodiment of the invention provides;
Fig. 4 is the structural representation of a kind of audio/video file playing device that fourth embodiment of the invention provides.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the specific embodiment of the invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not full content.
The method of the embodiment of the present invention can be performed by the audio/video file playing device be integrated in mobile terminal or dedicated multimedia connection device (such as blue light disc player), this device realizes by the mode of hardware and/or software, does not limit this.
First embodiment
Fig. 1 is the schematic flow sheet of a kind of audio/video file player method that first embodiment of the invention provides, and specifically comprises the steps:
Step 11, reception audio/video file playing request, perform step 12.
Such as, user is by clicking or touch the broadcast button of multimedia connection device (such as blue light disc player), then playing request is sent to audio/video file playing device with the form of instruction.Wherein, in audio/video file playing request, carry the position (such as IP address etc.) at play content (such as video disc, video) or play content place, so that during follow-up play, user can be found fast to be about to the content play.
Step 12, obtain described audio/video file support broadcast format, perform step 13.
Wherein, broadcast format comprises audio format (such as Chinese+pcm encoder form, English+pcm encoder form, Japanese+pcm encoder form, Chinese+dolby coded format, English+dolby coded format, Korean+DTS coded format, Chinese+MP3 coded format and English+MP3 coded format etc.) and captions languages (such as Chinese, English, French, German etc.).
Such as, in the prior art, the form composition of video disc or video file is as shown in Table 1:
Table one
Wherein, video code flow refers to the view data adopting video code model coding, the image namely shown on screen; Shown in audio code stream table two composed as follows, refer to and adopt audio coding formats the recording of different language to be carried out the voice data of encoding, the sound heard when namely playing, modal is English+pcm encoder form, English+DTS coded format, English+dolby coded format etc., wherein, audio presentation form refers to the channel number of audio frequency, is such as stereo or 5.1 sound channels etc.; Sampling rate information refers to audio sample rate, such as 44.1KHz, 48KHz etc.; Audio frequency language information refers to the languages of recording, is such as English recording or Chinese recording or Guangdong language recording etc.
Table two
Wherein, shown in captions code stream table three composed as follows, the captions that the video referred to shows below, wherein, the captions that captions language information refers to are Chinese or the language information such as English.
Table three
Such as, for audio format, by reading the audio code stream comprised in audio/video file (such as video disc or video file), the audio format of video disc or video support is contained in audio code stream, resolve audio code stream data and therefrom obtain coded format and language information, thus determine the audio format that video disc or video are supported.Such as, the audio format of the described audio/video file support of acquisition is Chinese+DTS coded format, English+DTS coded format, Korean+DTS coded format, Chinese+dolby coded format, English+dolby coded format, Chinese+pcm encoder form, English+pcm encoder form and Japanese+pcm encoder form etc.
Step 13, inquiry broadcast format sequencing table, record the priority orders of broadcast format, perform step 14 in described broadcast format sequencing table.
Wherein, broadcast format sequencing table is also divided into audio format sequencing table and captions languages sequencing table, above-mentioned broadcast format sequencing table is all that the broadcast format record adopted according to user's history carries out formulating, accurately can reflect the hobby of user, the broadcast format that priority is higher shows that user uses this broadcast format more frequent, further illustrates user and more likes this broadcast format.
Step 14, determine whether to comprise in described broadcast format sequencing table the broadcast format that described audio/video file supports.
Such as, if inquire the broadcast format of described audio/video file support in broadcast format sequencing table, then determine the broadcast format comprising the support of described audio/video file in described broadcast format sequencing table, then perform step 15.
Step 15, from the broadcast format that described audio/video file is supported, select the broadcast format that priority is the highest according to described broadcast format sequencing table, perform step 16.
Such as, when carrying out audio format and selecting, then from audio format sequencing table, the audio format that priority is the highest is selected; When carrying out captions languages and selecting, then from captions languages sequencing table, select the languages that priority is the highest.
Step 16, export the data code flow of described audio/video file corresponding for broadcast format the highest for described priority to playback equipment, play described audio/video file to make described playback equipment according to described data code flow.
Such as, the data code flow of the audio format that priority step 15 selected is the highest and/or described audio/video file corresponding to captions languages exports playback equipment to, plays described audio/video file to make described playback equipment according to described data code flow.
The present embodiment is by receiving audio/video file playing request, obtain the broadcast format that described audio/video file is supported, query note has the broadcast format sequencing table of the priority orders of broadcast format, comprise the broadcast format that described audio/video file is supported if determine in described broadcast format sequencing table, then from the broadcast format that described audio/video file is supported, select the broadcast format that priority is the highest according to described broadcast format sequencing table; Playback equipment is exported to by adopting the data code flow of described audio/video file corresponding to the highest broadcast format of described priority, described audio/video file is play according to described data code flow to make described playback equipment, can according to broadcast format sequencing table automatically for user selects the broadcast format liked, make multimedia more intelligent, remove the operating process that user repeats to arrange from.
Exemplary, on the basis of above-described embodiment, described method also comprises:
If before exporting the data code flow of described audio/video file corresponding for broadcast format the highest for described priority to playback equipment, receive the broadcast format that user selects, then the data code flow of the described audio/video file that broadcast format user selected is corresponding exports playback equipment to.
Such as, user can select by remote controller the broadcast format liked, if user have selected broadcast format, then the data code flow of the described audio/video file that broadcast format user selected is corresponding exports playback equipment to.
Exemplary, before described inquiry broadcast format sequencing table, also comprise:
Obtain the broadcast format that playback equipment is supported; After inquiry broadcast format sequencing table, also comprise:
If do not comprise the broadcast format that described audio/video file is supported in described broadcast format sequencing table, the data code flow that the broadcast format then audio/video file and described playback equipment all supported is corresponding exports playback equipment to, plays described audio/video file to make described playback equipment according to described data code flow.
Wherein, playback equipment can be the playback terminals such as Digital Television.
Such as, if the audio format of described audio/video file support is Chinese+pcm encoder form and English+dolby coded format, Chinese+pcm encoder form and English+dolby coded format is not comprised in audio format sequencing table, if the audio format that the playback equipment obtained is supported is English+dolby coded format, then export data code flow corresponding for English+dolby coded format to playback equipment, play described audio/video file to make described playback equipment according to described data code flow.
Exemplary, described export the data code flow that the broadcast format process that described audio/video file and described playback equipment are all supported obtains to playback equipment after, also comprise:
The broadcast format that described audio/video file and described playback equipment are all supported is added in described broadcast format sequencing table.
Such as, if the broadcast format of described audio/video file support is Chinese+pcm encoder form and English+dolby coded format, the broadcast format of described playback equipment support is English+dolby coded format, then after exporting data code flow corresponding for English+dolby coded format coding to playback equipment, English+dolby coded format is added in described broadcast format sequencing table.
Exemplary, on the basis of above-described embodiment, determine that the priority orders of described broadcast format comprises:
Add up the number of times that each broadcast format is selected by user;
The priority orders of each broadcast format is determined according to selected number of times order from more to less.
Such as, according to user's historical selection data, add up each broadcast format by the used number of times of user, the broadcast format that user's history access times are more, its priority is higher.For the audio format used, counting user is to the selection number of times of each audio format, and such as statistics is as shown in following table four:
Table four
Audio format History selectes number of times
English+pcm encoder form 100
English+LPCM coded format 56
English+MP3 coded format 150
English+WMA coded format 128
English+AAC coded format 139
Then select audio format sequencing table that number of times order from more to less determines as shown in following table five according to history:
Table five
Audio format Priority orders History selectes number of times
English+MP3 coded format 1 150
English+AAC coded format 2 139
English+WMA coded format 3 128
English+pcm encoder form 4 100
English+LPCM coded format 5 56
The formulation of captions languages sequencing table is similar with audio format sequencing table, is not repeated here.
Second embodiment
Fig. 2 is the schematic flow sheet of a kind of audio/video file player method that second embodiment of the invention provides, and specifically comprises the steps:
Step 21, reception audio/video file playing request, perform step 22.
Specifically see the detailed description of above-described embodiment a pair step, be not repeated here.
Step 22, obtain the broadcast format that described audio/video file and playback equipment support respectively, perform step 23.
Such as, by reading the audio code stream comprised in video disc or video file, in audio code stream, contain the audio format of video disc or video support, resolve audio code stream data and therefrom obtain encoding format information and languages, thus determine the audio format that video disc or video are supported.Such as, the audio format of the described audio/video file support obtained is English+AAC coded format, English+MP3 coded format, English+VQF coded format, English+OggVorbis coded format, English+WMA coded format, the captions languages that the described audio/video file obtained is supported are Chinese, Korean, Japanese, German, English, the audio format of the described playback equipment support obtained is English+AAC coded format, English+MP3 coded format, English+VQF coded format, and the captions languages that the described playback equipment of acquisition is supported are Chinese, English.
Step 23, inquiry broadcast format sequencing table, record the priority orders of broadcast format, perform step 24 in described broadcast format sequencing table.
Such as, the audio format sequencing table of inquiry is as above shown in table five, and 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 comprise described audio/video file support broadcast format.
Such as, by inquiring about the audio format sequencing table shown in above-mentioned table five, the audio format determining to exist in above-mentioned audio format sequencing table described audio/video file support is English+AAC coded format, English+MP3 coded format, English+WMA coded format, by inquiring about the captions languages sequencing table shown in above-mentioned table six, determine to there are the captions languages of described audio/video file support in above-mentioned captions languages sequencing table for Chinese, Korean, German, English, then perform step 27, if there is not the broadcast format that described audio/video file is supported in above-mentioned broadcast format sequencing table, then perform step 25.
Step 25, the data code flow that the broadcast format described audio/video file and described playback equipment all supported is corresponding export playback equipment to, to make described playback equipment play described audio/video file according to described data code flow, perform step 26.
Such as, the audio format that this audio/video file is supported is English+OggVorbis coded format, English+VQF coded format, the audio format of playback equipment support is English+MP3 coded format, English+VQF coded format, by inquiring about the audio format sequencing table shown in above-mentioned table five, determine not exist in audio format sequencing table the English+VQF audio coding formats that audio/video file and playback equipment are all supported, then direct by adopting voice data code stream corresponding to English+VQF audio coding formats to export playback equipment to, play this audio/video file to make playback equipment.Similar method is adopted to the selection of captions languages, is not repeated here.
Step 26, the broadcast format that described audio/video file and playback equipment are all supported to be added in described broadcast format sequencing table.
Such as, English+VQF audio coding formats in step 25 is added in the audio format sequencing table shown in above-mentioned table five, obtain new audio format sequencing table as shown in following table seven, this new audio format sequencing table contains more audio format, can search the audio format sequencing table after renewal during follow-up play audio/video file.Similar method is adopted to captions languages sequencing table, is not repeated here.
Table seven
Audio format Priority orders History selectes number of times
English+MP3 coded format 1 150
English+AAC coded format 2 139
English+WMA coded format 3 128
English+pcm encoder form 4 100
English+LPCM coded format 5 56
English+VQF coded format 6 0
Step 27, from described broadcast format sequencing table, select the broadcast format that priority is the highest, perform step 28.
The data code flow of step 28, described audio/video file that the broadcast format the highest for described priority and described audio/video file and playback equipment all supported is corresponding exports playback equipment to, plays described audio/video file to make described playback equipment according to described data code flow.
Such as, according to the example in above-mentioned steps 22 ~ step 24, the audio format that described audio/video file and playback equipment are all supported is English+AAC coded format, English+MP3 coded format, English+VQF coded format, there is the audio format that described audio/video file and playback equipment all support in audio format sequencing table shown in above-mentioned table five is English+AAC coded format, English+MP3 coded format, described English+AAC coded format, the sequence of English+MP3 coded format in audio format sequencing table is English+MP3 coded format, English+AAC coded format, then export the data code flow of described audio/video file corresponding for English+MP3 audio coding formats the highest for priority to playback equipment.Again such as, exist in captions languages sequencing table shown in above-mentioned table six the captions languages that described audio/video file and playback equipment all support be Chinese, English, the described Chinese, English sequence in captions languages sequencing table are Chinese, English, then export the data code flow of described audio/video file corresponding for Chinese subtitle the highest for priority to playback equipment.
The present embodiment is by receiving audio/video file playing request, obtain the broadcast format that described audio/video file is supported, query note has the broadcast format sequencing table of the priority orders of broadcast format, comprise the broadcast format that described audio/video file is supported if determine in described broadcast format sequencing table, then from described broadcast format sequencing table, select the broadcast format that priority is the highest; Export the data code flow of described audio/video file corresponding for broadcast format the highest for described priority to playback equipment, described audio/video file is play according to described data code flow to make described playback equipment, can according to broadcast format sequencing table automatically for user selects the broadcast format liked, make multimedia more intelligent, remove the operating process that user repeats to arrange from.
And, when not comprising the broadcast format that described audio/video file is supported in described broadcast format sequencing table, then export the data code flow of described audio/video file corresponding for the broadcast format adopting described audio/video file and playback equipment all to support to playback equipment, described audio/video file is play to make described playback equipment, and the broadcast format that described audio/video file and playback equipment are all supported is added in described broadcast format sequencing table, facilitate the broadcast format sequencing table after can searching renewal during follow-up play audio/video file.
3rd embodiment
Fig. 3 is the schematic flow sheet of a kind of multi-medium play method that third embodiment of the invention provides, and specifically comprises the steps:
Step 31, reception audio/video file playing request, perform step 32.
The broadcast format that step 32, reception user select, performs step 33.
Step 33, the data code flow of described audio/video file corresponding to broadcast format user selected export playback equipment to, to make described playback equipment play described audio/video file, perform step 34.
Step 34, renewal broadcast format sequencing table.
Such as, for audio format sequencing table, the audio format that user selectes is English+VQF coded format, then history corresponding for audio format sequencing table English+VQF coded format is selected number of times to upgrade, for above-mentioned table seven, then history corresponding for table seven English+VQF audio coding formats is selected number of times and be updated to 1, select number of times so that follow-up according to history and upgrade corresponding priority orders.Similar method is adopted to recording languages sequencing table, is not repeated here.
The present embodiment plays described audio/video file by the broadcast format selected according to user, and the history upgrading broadcast format that user in broadcast format sequencing table selects corresponding selectes number of times, select number of times so that follow-up according to history and upgrade corresponding priority orders, audio-visual broadcasting is play more intelligent.
4th embodiment
Fig. 4 is the structural representation of a kind of audio/video file playing device that fourth embodiment of the invention provides, and specifically comprises receiver module 41, acquisition module 42, enquiry module 43, determination module 44, selects module 45 and output module 46.
Receiver module 41 is for receiving audio/video file playing request;
The broadcast format that acquisition module 42 is supported for obtaining described audio/video file;
Enquiry module 43, for inquiring about broadcast format sequencing table, records the priority orders of broadcast format in described broadcast format sequencing table;
Determination module 44 is for determining the broadcast format whether comprising the support of described audio/video file in described broadcast format sequencing table;
Select module 45 for after the broadcast format determining to comprise in described broadcast format sequencing table described audio/video file at described determination module 44 and support, from the broadcast format that described audio/video file is supported, select the broadcast format that priority is the highest according to described broadcast format sequencing table;
Output module 46, for exporting the data code flow of described audio/video file corresponding for broadcast format the highest for described priority to playback equipment, plays described audio/video file to make described playback equipment according to described data code flow.
Exemplary, on the basis of above-described embodiment, described receiver module 41 also for before exporting the data code flow of the described audio/video file adopting the highest broadcast format process of described priority to obtain to playback equipment at described output module 46, receives the broadcast format that user selects;
Described output module 46 also exports playback equipment to for the data code flow of described audio/video file corresponding to broadcast format user selected.
Exemplary, on the basis of above-described embodiment, described acquisition module 42 also for before inquiring about broadcast format sequencing table at described enquiry module 43, obtains the broadcast format that described playback equipment is supported;
Described output module 46 is also for after determining not comprise in described broadcast format sequencing table broadcast format that described audio/video file supports at described determination module 44, the data code flow that the broadcast format described audio/video file and described playback equipment all supported is corresponding exports playback equipment to, plays described audio/video file to make described playback equipment according to described data code flow.
Exemplary, described device also comprises:
Add after module 47 exports playback equipment to for the data code flow that the broadcast format supported by described audio/video file at described output module 46 is corresponding, the broadcast format that described audio/video file and described playback equipment are all supported is added in described broadcast format sequencing table.
Exemplary, on the basis of above-described embodiment, described device also comprises:
The number of times that statistical module 48 is selected by user for adding up each broadcast format;
Order module 49 is for determining the priority orders of each broadcast format according to selected number of times order from more to less.
The audio/video file playing device that the embodiment of the present invention provides can be used for the audio/video file player method that execution any embodiment of the present invention provides, and possesses corresponding functional module, realizes identical beneficial effect.
The embodiment of the present invention also provides a kind of blue light disc player, comprises the audio/video file playing device in the 4th embodiment.
Obviously, it will be understood by those skilled in the art that above-mentioned of the present invention each module or each step can by server implementations as above.Alternatively, the embodiment of the present invention can realize by the executable program of computer installation, thus they storages can be performed by processor in the storage device, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.; Or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to the combination of any specific hardware and software.The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, to those skilled in the art, the present invention can have various change and change.All do within spirit of the present invention and principle any amendment, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1.一种影音文件播放方法,其特征在于,包括:1. A video file playback method, characterized in that, comprising: 接收影音文件播放请求;Receive audio and video file playback request; 获取所述影音文件支持的播放格式;Obtain the playback format supported by the audio-visual file; 查询播放格式排序表,所述播放格式排序表中记录有播放格式的优先级顺序;Query the playback format sorting table, the priority order of the playback format is recorded in the playback format sorting table; 确定所述播放格式排序表中是否包含所述影音文件支持的播放格式,若包含,则根据所述播放格式排序表从所述影音文件支持的播放格式中选择优先级最高的播放格式;Determine whether the playback format supported by the audio-visual file is included in the playback format sorting table, and if so, select the playback format with the highest priority from the playback formats supported by the audio-visual file according to the playback format sorting table; 将所述优先级最高的播放格式对应的所述影音文件的数据码流输出至播放设备,以使所述播放设备根据所述数据码流播放所述影音文件。Outputting the data code stream of the video and audio file corresponding to the playback format with the highest priority to the playback device, so that the playback device plays the video and audio file according to the data code stream. 2.根据权利要求1所述的方法,其特征在于,还包括:2. The method according to claim 1, further comprising: 若在将所述优先级最高的播放格式对应的所述影音文件的数据码流输出至播放设备之前,接收到用户选择的播放格式,则将用户选择的播放格式对应的所述影音文件的数据码流输出至播放设备。If the playback format selected by the user is received before the data stream of the audio-visual file corresponding to the playback format with the highest priority is output to the playback device, then the data of the audio-visual file corresponding to the playback format selected by the user is received. The code stream is output to the playback device. 3.根据权利要求1所述的方法,其特征在于,所述查询播放格式排序表之前,还包括:获取播放设备支持的播放格式;3. The method according to claim 1, further comprising: obtaining the playback format supported by the playback device before the querying the playback format sorting table; 在查询播放格式排序表之后,还包括:若所述播放格式排序表中不包含所述影音文件支持的播放格式,则将所述影音文件和所述播放设备均支持的播放格式对应的数据码流输出至播放设备,以使所述播放设备根据所述数据码流播放所述影音文件。After querying the playback format sorting table, it also includes: if the playback format sorting table does not contain the playback format supported by the audio-visual file, the data code corresponding to the playback format supported by the audio-visual file and the playback device The stream is output to the playback device, so that the playback device plays the video and audio file according to the data code stream. 4.根据权利要求3所述的方法,其特征在于,所述将所述影音文件和所述播放设备均支持的播放格式对应的数据码流输出至播放设备之后,还包括:4. The method according to claim 3, wherein, after outputting the data code stream corresponding to the playback format supported by the video file and the playback device to the playback device, further comprising: 将所述影音文件和所述播放设备均支持的播放格式添加到所述播放格式排序表中。Add the playback formats supported by both the video and audio files and the playback device to the playback format sorting table. 5.根据权利要求1~4任一项所述的方法,其特征在于,确定所述播放格式的优先级顺序包括:5. The method according to any one of claims 1 to 4, wherein determining the priority order of the playing formats comprises: 统计各播放格式被用户选定的次数;Count the number of times each playback format is selected by the user; 按照选定次数由多到少的顺序确定各播放格式的优先级顺序。Determine the priority sequence of each playback format in descending order of the selected times. 6.一种影音文件播放装置,其特征在于,包括:6. A video and audio file playback device, characterized in that, comprising: 接收模块,用于接收影音文件播放请求;The receiving module is used to receive audio and video file playback requests; 获取模块,用于获取所述影音文件支持的播放格式;An acquisition module, configured to acquire the playback format supported by the audio-visual file; 查询模块,用于查询播放格式排序表,所述播放格式排序表中记录有播放格式的优先级顺序;The query module is used to query the playback format sorting table, and the priority order of the playback format is recorded in the playback format sorting table; 确定模块,用于确定所述播放格式排序表中是否包含所述影音文件支持的播放格式;A determining module, configured to determine whether the playback format supported by the audio-visual file is included in the playback format sorting table; 选择模块,用于在所述确定模块确定所述播放格式排序表中包含所述影音文件支持的播放格式之后,根据所述播放格式排序表从所述影音文件支持的播放格式中选择优先级最高的播放格式;A selection module, configured to select the highest priority from the playback formats supported by the audio and video files according to the playback format sorting table after the determination module determines that the playback formats supported by the audio and video files are included in the playback format sorting table playback format; 输出模块,用于将所述优先级最高的播放格式对应的所述影音文件的数据码流输出至播放设备,以使所述播放设备根据所述数据码流播放所述影音文件。The output module is configured to output the data code stream of the video and audio file corresponding to the playback format with the highest priority to the playback device, so that the playback device plays the video and audio file according to the data code stream. 7.根据权利要求6所述的装置,其特征在于,所述接收模块还用于:7. The device according to claim 6, wherein the receiving module is also used for: 在所述输出模块将所述优先级最高的播放格式对应的所述影音文件的数据码流输出至播放设备之前,接收用户选择的播放格式;Before the output module outputs the data stream of the audio-visual file corresponding to the playback format with the highest priority to the playback device, receiving the playback format selected by the user; 所述输出模块还用于:将用户选择的播放格式对应的所述影音文件的数据码流输出至播放设备。The output module is further configured to: output the data code stream of the video and audio file corresponding to the playback format selected by the user to the playback device. 8.根据权利要求6所述的装置,其特征在于,所述获取模块,还用于在所述查询模块查询播放格式排序表之前,获取所述播放设备支持的播放格式;8. The device according to claim 6, wherein the acquisition module is further configured to obtain the playback format supported by the playback device before the query module queries the playback format sorting table; 所述输出模块,还用于在所述确定模块确定所述播放格式排序表中不包含所述影音文件支持的播放格式之后,将所述影音文件和所述播放设备均支持的播放格式对应的数据码流输出至播放设备,以使所述播放设备根据所述数据码流播放所述影音文件。The output module is further configured to, after the determination module determines that the playback formats supported by the audio and video files are not included in the playback format sorting table, corresponding to the audio and video files and the playback formats supported by the playback device. The data code stream is output to the playback device, so that the playback device plays the video and audio file according to the data code stream. 9.根据权利要求8所述的装置,其特征在于,所述装置还包括:9. The device according to claim 8, further comprising: 添加模块,用于在所述输出模块将所述影音文件支持的播放格式对应的数据码流输出至播放设备之后,将所述影音文件和所述播放设备均支持的播放格式添加到所述播放格式排序表中。The adding module is used to add the playback format supported by both the audio and video file and the playback device to the playback after the output module outputs the data stream corresponding to the playback format supported by the audio and video file to the playback device Format Sort Table. 10.根据权利要求6~9任一项所述的装置,其特征在于,所述装置还包括:10. The device according to any one of claims 6-9, characterized in that the device further comprises: 统计模块,用于统计各播放格式被用户选定的次数;A statistics module, used to count the number of times each playback format is selected by the user; 排序模块,用于按照选定次数由多到少的顺序确定各播放格式的优先级顺序。The sorting module is used to determine the priority sequence of each playback format in descending order of the selected times.
CN201510106459.4A 2015-03-11 2015-03-11 Audio/video file player method and device Active CN104796766B (en)

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 true CN104796766A (en) 2015-07-22
CN104796766B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
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
CN106341726A (en) * 2016-09-12 2017-01-18 努比亚技术有限公司 Information play method and equipment thereof
CN106899886A (en) * 2017-03-28 2017-06-27 深圳实现创新科技有限公司 Audio, video data coding/decoding method and system
WO2018032157A1 (en) * 2016-08-14 2018-02-22 阮元 Method for matching webpage format according to mobile phone number and website
WO2018032159A1 (en) * 2016-08-14 2018-02-22 阮元 Market-based format matching technology adjusting method and website
WO2018032158A1 (en) * 2016-08-14 2018-02-22 阮元 Method for disabling mobile phone number-based webpage format matching and website
CN108156480A (en) * 2017-12-27 2018-06-12 腾讯科技(深圳)有限公司 A kind of method, relevant apparatus and the system of video caption generation
WO2018176225A1 (en) * 2017-03-28 2018-10-04 深圳实现创新科技有限公司 Decoding method and system for audio and video data
CN114466219A (en) * 2021-11-23 2022-05-10 海信视像科技股份有限公司 Display device, subtitle data processing method, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040252079A1 (en) * 2003-06-13 2004-12-16 Joe Sheu Integrated flat panel display
US20060204220A1 (en) * 2005-03-14 2006-09-14 Samsung Electronics Co. Ltd. Image recording and playing apparatus for automatically generating playlist using bookmark to-video recording format and playlist generating method thereof
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
CN102157168A (en) * 2011-01-13 2011-08-17 博视联(苏州)信息科技有限公司 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
CN103093776A (en) * 2011-11-04 2013-05-08 腾讯科技(深圳)有限公司 Method and system of multi-audio-track content play in network seeing and hearing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040252079A1 (en) * 2003-06-13 2004-12-16 Joe Sheu Integrated flat panel display
US20060204220A1 (en) * 2005-03-14 2006-09-14 Samsung Electronics Co. Ltd. Image recording and playing apparatus for automatically generating playlist using bookmark to-video recording format and playlist generating method thereof
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
CN102157168A (en) * 2011-01-13 2011-08-17 博视联(苏州)信息科技有限公司 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
CN103093776A (en) * 2011-11-04 2013-05-08 腾讯科技(深圳)有限公司 Method and system of multi-audio-track content play in network seeing and hearing

Cited By (11)

* Cited by examiner, † Cited by third party
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
WO2018032157A1 (en) * 2016-08-14 2018-02-22 阮元 Method for matching webpage format according to mobile phone number and website
WO2018032159A1 (en) * 2016-08-14 2018-02-22 阮元 Market-based format matching technology adjusting method 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
CN106899886A (en) * 2017-03-28 2017-06-27 深圳实现创新科技有限公司 Audio, video data coding/decoding method and system
WO2018176225A1 (en) * 2017-03-28 2018-10-04 深圳实现创新科技有限公司 Decoding method and system for audio and video data
CN108156480A (en) * 2017-12-27 2018-06-12 腾讯科技(深圳)有限公司 A kind of method, relevant apparatus and the system of video caption generation
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
CN114466219B (en) * 2021-11-23 2024-10-18 海信视像科技股份有限公司 Display device, subtitle data processing method, and storage medium

Also Published As

Publication number Publication date
CN104796766B (en) 2017-11-03

Similar Documents

Publication Publication Date Title
CN104796766A (en) Video file play method and device
US11831959B2 (en) Media preference database
US11947865B2 (en) Identification of audio content
JP6599508B2 (en) Method and system for sending playlists
JP6262398B2 (en) Dynamic display of filter conditions
US10873820B2 (en) Conditional content enhancement
CN101228582B (en) Audio reproduction method and apparatus supporting audio thumbnail function
CN101438348B (en) Method for recovering content reproduction of spanning equipment
US7665035B2 (en) Content selection apparatus, system, and method
JPH11238071A (en) Device and method for digest generation
US20080195661A1 (en) Digital media recognition using metadata
KR102255152B1 (en) Contents processing device and method for transmitting segments of variable size and computer-readable recording medium
RU2453899C1 (en) Apparatus and method for audio-visual search and browse interface, machine-readable medium
CN112765396A (en) Song recommendation method and device, electronic equipment and storage medium
EP1906404A1 (en) Device, method, and computer program product for structuring digital-content program
US8843961B2 (en) Multiple resolution audio and video systems, methods of production, delivery and uses thereof
JP2005208875A (en) Metadata distribution method
KR20200042287A (en) Providing Method for music information related to audio/video contents and service device supporting the same
JP2007006095A (en) Content reproducer, content reproducing method, recording medium with content reproduction program stored, and integrated circuit used for the content reproducer
JP2007080498A5 (en)
JP2007026661A5 (en)
JP2007080499A5 (en)
JP2006344370A5 (en)

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

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.

CP01 Change in the name or title of a patent holder