CN104681047B - A kind of adaptive video player method, device and terminal - Google Patents
A kind of adaptive video player method, device and terminal Download PDFInfo
- Publication number
- CN104681047B CN104681047B CN201310611641.6A CN201310611641A CN104681047B CN 104681047 B CN104681047 B CN 104681047B CN 201310611641 A CN201310611641 A CN 201310611641A CN 104681047 B CN104681047 B CN 104681047B
- Authority
- CN
- China
- Prior art keywords
- played
- broadcasting speed
- video
- video file
- speed information
- 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
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/102—Programmed access in sequence to addressed parts of tracks of operating record carriers
Landscapes
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiments of the invention provide a kind of adaptive video player method, device and terminal, this method includes:It is determined that whether the broadcasting speed information of the video file to be played got is stored in presetting database;If not, separate the video data and voice data in video file to be played, and according to the initial play speed for the voice data isolated, broadcasting speed corresponding to the preset audio bandwidth range confirmed with the user of collection, the broadcasting speed information of video file to be played is generated, and is saved into presetting database;According to the broadcasting speed information of generation, video file to be played is played.In the present invention, when terminal performs above-mentioned flow, it may be implemented in before playing video file, terminal is according to the demand of user, the broadcasting speed of adjust automatically video file, subsequent terminal need to only be played out according to the broadcasting speed after adjustment, and fast forward and fast reverse operation is carried out by hand without user, operate more convenient, and improve Consumer's Experience.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of adaptive video player method, device and terminal.
Background technology
At present, for user when using terminal plays video file, terminal is typically to play video with fixed broadcasting speed
File, during broadcasting, if user wants to quick look at some specific plots, or want to review some specific plots
When, fast forward and fast reverse operation is typically performed manually, in this case, for terminal, can be used existing
Application No. 201110002610.1, entitled " fast forwarding and fast rewinding processing method, device and movement are whole during video playback
Broadcast mode in the patent document at end " plays out, to improve Consumer's Experience.
But broadcast mode disclosed in above-mentioned patent document is, it is necessary to which user performs fast forward and fast reverse behaviour in playing process
Make, i.e. the manual adjustment dependent on user, this results in user and operated inconvenience, and Consumer's Experience is still relatively low.
The content of the invention
The embodiments of the invention provide a kind of adaptive video player method, device and terminal, to solve existing video
The broadcast mode of file causes user inconvenient for operation, and experiences the problem of relatively low.
Based on above mentioned problem, a kind of adaptive video player method provided in an embodiment of the present invention, including:
It is determined that whether the broadcasting speed information of the video file to be played got is stored in presetting database;
If it is not, video data and voice data in the separation video file to be played;
The preset audio bandwidth range confirmed according to the user of the initial play speed for the voice data isolated, and collection
Corresponding broadcasting speed, generates the broadcasting speed information of the video file to be played, and is saved into the preset data
In storehouse;
According to the broadcasting speed information of generation, the video file to be played is played.
A kind of adaptive video playing device provided in an embodiment of the present invention, including:
Video playback control module, for obtaining video file to be played;And according to the video playback generation module
The broadcasting speed information of generation, play the video file to be played;
Video playback determining module, the video file to be played got for determining the video playback control module
Whether broadcasting speed information is stored in presetting database;And for preserving the broadcasting of the video playback generation module generation
Velocity information;
Video playback decoder module, for separating video data and voice data in the video file to be played;
Video playback generation module, the initial of voice data for being isolated according to the video playback decoder module are broadcast
Put speed, and broadcasting speed corresponding to the preset audio bandwidth range that confirms of user of video playback setup module collection, generation
The broadcasting speed information of the video file to be played.
Terminal provided in an embodiment of the present invention, including said apparatus provided in an embodiment of the present invention.
The beneficial effect of the embodiment of the present invention includes:
Adaptive video player method, device and terminal provided in an embodiment of the present invention, in the method, first, it is determined that
Whether the broadcasting speed information of the video file to be played got is stored in presetting database;Really go out not situation
Under, the video data and voice data in video file to be played are separated, and according to the initial play for the voice data isolated
Speed, and broadcasting speed corresponding to the preset audio bandwidth range of the user's confirmation gathered, generate broadcasting for video file to be played
Velocity information is put, and is saved into presetting database;According to the broadcasting speed information of generation, video text to be played is played
Part.
In embodiments of the present invention, when terminal performs above-mentioned flow, may be implemented in before playing video file, terminal root
According to the demand of user, the broadcasting speed of adjust automatically video file, subsequent terminal need to only be carried out according to the broadcasting speed after adjustment
Broadcasting, so, fast forward and fast reverse operation is carried out by hand without user, operation is more convenient, and improves user's body
Test.
Brief description of the drawings
Fig. 1 is the flow chart of adaptive video player method provided in an embodiment of the present invention;
Fig. 2 is the structural representation of adaptive video playing device provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram interacted in adaptive video playing device provided in an embodiment of the present invention between each module
One of;
Fig. 4 is the schematic diagram interacted in adaptive video playing device provided in an embodiment of the present invention between each module
Two.
Embodiment
With reference to Figure of description, to a kind of adaptive video player method provided in an embodiment of the present invention, device and
The embodiment of terminal illustrates.
A kind of adaptive video player method provided in an embodiment of the present invention, as shown in figure 1, specifically including following steps:
S11:It is determined that whether the broadcasting speed information of the video file to be played got is stored in presetting database;If
It is to perform step S12;Otherwise, step S13 is performed;
S12:According to the broadcasting speed information preserved in presetting database, video file to be played is played;
S13:Separate the video data and voice data in video file to be played;
S14:The preset audio bandwidth confirmed according to the user of the initial play speed for the voice data isolated, and collection
Broadcasting speed corresponding to scope, generates the broadcasting speed information of video file to be played, and is saved into presetting database;
S15:According to the broadcasting speed information of generation, video file to be played is played.
Preferably, the executive agent of the above method can be terminal, such as mobile phone, notebook computer, tablet personal computer etc..
It should be noted that when performing above-mentioned steps S13, the video data and audio in video file to be played are separated
The specific separation process of data is prior art, be will not be described in detail herein.
Preferably, in above-mentioned steps S13, the preset audio bandwidth model of user's confirmation can be collected by following manner
Enclose corresponding broadcasting speed:
When the broadcasting speed information for the video file to be played for determining to get is not in presetting database, display bag
The page of corresponding relation containing multipair preset audio bandwidth range and broadcasting speed, so that user selects according to self-demand;
Receive the preset audio bandwidth range of user's input and the corresponding relation of broadcasting speed.
It should be noted that above-mentioned preset audio bandwidth range can be speech audio bandwidth range, or chorus audio
Bandwidth range, it is, of course, also possible to be other kinds of audio bandwidth scope.
In addition, broadcasting speed can be according to executive agent example corresponding to above-mentioned initial play speed and preset audio bandwidth range
Set such as the practical operation situation of terminal, also, the above-mentioned selection page is typically to be previously set to be saved in executive agent sheet
Ground, for example, the above-mentioned selection page present content it is as shown in table 1 below:
User chooses | Audio bandwidth scope (HZ) | Broadcasting speed (second/frame) |
□ | 12-16HZ | 1 second/25 frames |
□ | 30-50HZ | 1 second/50 frames |
□ | 60-70HZ | 1 second/250 frames |
Table 1
Certainly, the embodiment of the present invention is not limited in above-mentioned acquisition mode, can also use other acquisition modes to obtain user
Broadcasting speed corresponding to the audio bandwidth scope of confirmation.
Preferably, in above-mentioned steps S14, the broadcasting speed of video file to be played can be generated especially by following manner
Information:
From the voice data isolated, audio data section of the audio bandwidth in preset audio bandwidth range is selected;
By the initial play speed for the audio data section selected, it is updated to play speed corresponding to preset audio bandwidth range
Degree, the broadcasting speed information for the voice data isolated, and as the broadcasting speed information of video file to be played.
So, executive agent be terminal in the case of, may be implemented in before playing video file, terminal according to
The demand at family, the broadcasting speed of adjust automatically video file, subsequent terminal need to only play out according to the broadcasting speed after adjustment
, fast forward and fast reverse operation is carried out by hand without user, and operation is more convenient, and improves Consumer's Experience.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of adaptive video playing device, due to the dress
It is similar to foregoing adaptive video player method to put the principle of solved problem, therefore the implementation of the device may refer to foregoing side
The implementation of method, repeat part and repeat no more.
Adaptive video playing device provided in an embodiment of the present invention, as shown in Fig. 2 specifically including:
Video playback control module 21, for obtaining video file to be played;And according to video playback generation module 24
The broadcasting speed information of generation, plays video file to be played;
Video playback determining module 22, the video file to be played got for determining video playback control module 21
Whether broadcasting speed information is stored in presetting database;And for preserving the broadcasting speed of the generation of video playback generation module 23
Spend information;
Video playback decoder module 23, for separating video data and voice data in video file to be played;
Video playback generation module 24, the initial of voice data for being isolated according to video playback decoder module 23 are broadcast
Put speed, and broadcasting speed corresponding to the preset audio bandwidth range that confirms of the user that gathers of video playback setup module 25, it is raw
Into the broadcasting speed information of video file to be played.
Preferably, above-mentioned video playback setup module 25 is specifically used for determining to get in video playback determining module 22
Video file to be played broadcasting speed information not in presetting database when, display include multipair preset audio bandwidth range
With the page of the corresponding relation of broadcasting speed, so that user selects according to self-demand;And receive the default sound of user's input
The corresponding relation of frequency band wide scope and broadcasting speed.
Preferably, above-mentioned video playback generation module 24, specifically for the sound isolated from video playback decoder module 23
Frequency selects audio data section of the audio bandwidth in preset audio bandwidth range, and the audio data section that will be selected in
Initial play speed, be updated to preset audio bandwidth range corresponding to broadcasting speed, the voice data isolated broadcasts
Velocity information is put, and as the broadcasting speed information of video file to be played.
Preferably, above-mentioned video playback control module 21, it is additionally operable to determine in video playback determining module 22 to be played
When the broadcasting speed information of video file is stored in presetting database, believed according to the broadcasting speed preserved in presetting database
Breath, plays video file to be played.
With reference to following 2 embodiments, to each module in adaptive video playing device provided in an embodiment of the present invention
Between interaction be described in detail.
Embodiment 1
As shown in Figure 3, it is assumed that video playback determining module 22 determines the broadcasting speed information of video file to be played not
In presetting database, then, the interaction between above-mentioned each module is as follows:
Video playback control module 21 obtains video file to be played from video file storehouse 26;
Video playback control module 21 sends the broadcasting speed for inquiring about video file to be played to video playback determining module 22
Spend the inquiry request of information;
After video playback determining module 22 receives inquiry request, video file to be played is inquired about from presetting database 27
Broadcasting speed information;
Video playback determining module 22 is inquired in the absence of corresponding broadcasting speed information, is sent out to video playback decoder module 23
Send the request for separating video file to be played;
After video playback decoder module 23 receives request, the video data and voice data of video file to be played are separated,
The initial play speed for the voice data isolated is sent to video generation module 24;
The preset audio band that the user that video playback generation module 24 collects according to video playback setup module 25 confirms
Broadcasting speed corresponding to wide scope, the voice data isolated is analyzed, obtain the broadcasting speed of video file to be played
Information;
Video playback generation module 23 returns to the broadcasting speed information of generation to video playback decoder module 25;
Video playback decoder module 25 returns to the broadcasting speed information of generation to video playback determining module 22;
After the broadcasting speed information of generation is saved in presetting database by video playback determining module 22, video is returned to
Play control module 21;
Video playback control module 21 plays video file to be played according to the broadcasting speed information of generation.
Embodiment 2
It is assumed that video playback determining module 22 determines that the broadcasting speed information of video file to be played exists
In presetting database, then, the interaction between above-mentioned each module is as follows:
Video playback control module 21 obtains video file to be played from video file storehouse 26;
Video playback control module 21 sends the broadcasting speed for inquiring about video file to be played to video playback determining module 22
Spend the inquiry request of information;
After video playback determining module 22 receives inquiry request, video file to be played is inquired about from presetting database 27
Broadcasting speed information;
Video playback determining module 22 inquires corresponding broadcasting speed information, and returns to video playback control module
21;
Video playback control module 21 plays video file to be played according to the broadcasting speed information inquired.
In addition, the embodiment of the present invention also provides a kind of terminal, including the device shown in above-mentioned Fig. 2.
Adaptive video player method, device and terminal provided in an embodiment of the present invention, in the method, first, it is determined that
Whether the broadcasting speed information of the video file to be played got is in presetting database;Really going out not in case, point
From the video data and voice data in video file to be played, and according to the initial play speed for the voice data isolated,
Broadcasting speed corresponding to the preset audio bandwidth range confirmed with the user of collection, generate the broadcasting speed of video file to be played
Information, and be saved into presetting database;According to the broadcasting speed information of generation, video file to be played is played.At this
In inventive embodiments, when terminal performs above-mentioned flow, it may be implemented in before playing video file, terminal is according to the need of user
To ask, the broadcasting speed of adjust automatically video file, subsequent terminal need to only play out according to the broadcasting speed after adjustment, this
Sample one, fast forward and fast reverse operation is carried out by hand without user, operation is more convenient, and improves Consumer's Experience.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (5)
- A kind of 1. adaptive video player method, it is characterised in that including:It is determined that whether the broadcasting speed information of the video file to be played got is stored in presetting database;If it is not, video data and voice data in the separation video file to be played;It is corresponding according to the preset audio bandwidth range that the user of the initial play speed for the voice data isolated, and collection confirms Broadcasting speed, generate the broadcasting speed information of the video file to be played, and be saved into the presetting database; The broadcasting speed information of the video file to be played is generated by following manner:From the voice data isolated, sound is selected Audio data section of the bandwidth in the preset audio bandwidth range;By the initial play speed for the audio data section selected Degree, it is updated to broadcasting speed corresponding to the preset audio bandwidth range, the broadcasting speed letter for the voice data isolated Breath, and as the broadcasting speed information of the video file to be played;According to the broadcasting speed information of generation, the video file to be played is played;Wherein, broadcasting speed corresponding to the preset audio bandwidth range of user's confirmation is collected by following manner:When the broadcasting speed information for the video file to be played for determining to get is not in presetting database, display is comprising more To preset audio bandwidth range and the page of the corresponding relation of broadcasting speed, so that user selects according to self-demand;Receive the preset audio bandwidth range of user's input and the corresponding relation of broadcasting speed.
- 2. the method as described in claim 1, it is characterised in that also include:When the broadcasting speed information for determining the video file to be played is stored in presetting database, according to described default The broadcasting speed information preserved in database, play the video file to be played.
- A kind of 3. adaptive video playing device, it is characterised in that including:Video playback control module, for obtaining video file to be played;And generated according to the video playback generation module Broadcasting speed information, play the video file to be played;Video playback determining module, the broadcasting of the video file to be played got for determining the video playback control module Whether velocity information is stored in presetting database;And for preserving the broadcasting speed of the video playback generation module generation Information;Video playback decoder module, for separating video data and voice data in the video file to be played;Video playback generation module, for the initial play speed for the voice data isolated according to the video playback decoder module Degree, and broadcasting speed corresponding to the preset audio bandwidth range that confirms of user of video playback setup module collection, described in generation The broadcasting speed information of video file to be played;The video playback generation module, specifically for being decoded from the video playback In the voice data that module is isolated, audio data section of the audio bandwidth in the preset audio bandwidth range is selected, and will The initial play speed for the audio data section selected, be updated to the preset audio bandwidth range corresponding to broadcasting speed, obtain To the broadcasting speed information for the voice data isolated, and as the broadcasting speed information of the video file to be played;Wherein, the video playback setup module, treated specifically for determine to get in the video playback determining module When the broadcasting speed information of playing video file is not in presetting database, display is comprising multipair preset audio bandwidth range with broadcasting The page of the corresponding relation of speed is put, so that user selects according to self-demand;And receive the preset audio band of user's input The corresponding relation of wide scope and broadcasting speed.
- 4. device as claimed in claim 3, it is characterised in that the video playback control module, be additionally operable in the video When broadcasting determining module determines that the broadcasting speed information of the video file to be played is stored in presetting database, according to institute The broadcasting speed information preserved in presetting database is stated, plays the video file to be played.
- 5. a kind of terminal, it is characterised in that including the device as any one of above-mentioned claim 3 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310611641.6A CN104681047B (en) | 2013-11-26 | 2013-11-26 | A kind of adaptive video player method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310611641.6A CN104681047B (en) | 2013-11-26 | 2013-11-26 | A kind of adaptive video player method, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104681047A CN104681047A (en) | 2015-06-03 |
CN104681047B true CN104681047B (en) | 2018-03-23 |
Family
ID=53315991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310611641.6A Active CN104681047B (en) | 2013-11-26 | 2013-11-26 | A kind of adaptive video player method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104681047B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106534964B (en) * | 2016-11-23 | 2020-02-14 | 广东小天才科技有限公司 | Method and device for adjusting speech rate |
CN108235123B (en) * | 2016-12-15 | 2020-09-22 | 阿里巴巴(中国)有限公司 | Video playing method and device |
WO2019227324A1 (en) * | 2018-05-30 | 2019-12-05 | 深圳市大疆创新科技有限公司 | Method and device for controlling video playback speed and motion camera |
CN109862193B (en) * | 2019-04-12 | 2020-10-02 | 珠海天燕科技有限公司 | Incoming call video control method and device in terminal |
CN116546253A (en) * | 2022-01-25 | 2023-08-04 | 北京字节跳动网络技术有限公司 | Video playing setting method and device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1101356B1 (en) * | 1998-07-30 | 2007-04-18 | Tivo, Inc. | Multimedia time warping system |
CN101909191A (en) * | 2009-06-04 | 2010-12-08 | 佳能株式会社 | Video processing equipment and method for processing video frequency |
-
2013
- 2013-11-26 CN CN201310611641.6A patent/CN104681047B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1101356B1 (en) * | 1998-07-30 | 2007-04-18 | Tivo, Inc. | Multimedia time warping system |
CN101909191A (en) * | 2009-06-04 | 2010-12-08 | 佳能株式会社 | Video processing equipment and method for processing video frequency |
Also Published As
Publication number | Publication date |
---|---|
CN104681047A (en) | 2015-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104681047B (en) | A kind of adaptive video player method, device and terminal | |
US9865279B2 (en) | Method and electronic device | |
CN101668085B (en) | Method for regulating voice output of mobile terminal and mobile terminal | |
CN102982823B (en) | A kind of method and apparatus of automatic regulating volume | |
US20160119730A1 (en) | Method for improving audio quality of online multimedia content | |
CN107256139A (en) | Method of adjustment, terminal and the computer-readable recording medium of audio volume | |
CA2941375C (en) | Generating a playlist based on a data generation attribute | |
CN105006240B (en) | A kind of musical sound control method and system based on audio-frequence player device | |
CN107609034A (en) | A kind of audio frequency playing method of intelligent sound box, audio playing apparatus and storage medium | |
CN104967951A (en) | Method and apparatus for reducing noise | |
CN107360507A (en) | A kind of play parameter Automatic adjustment method, intelligent sound box and storage medium | |
US9671999B2 (en) | Methods and apparatus for improving understandability of audio corresponding to dictation | |
US11593550B2 (en) | Computing device and corresponding method for generating data representing text | |
CN105812581A (en) | Volume automatic adjustment method and device | |
CN103347070A (en) | Method, terminal, server and system for voice data pushing | |
CN107452398A (en) | Echo acquisition methods, electronic equipment and computer-readable recording medium | |
CN107967919A (en) | Eliminate the method, device and mobile terminal of TDD noises | |
AU2013204547A1 (en) | Audio signal processing method and electronic device supporting the same | |
CN109889170A (en) | Audio signal control method and device | |
CN105786363B (en) | A kind of control method for playing back of voice box group, device and intelligent sound box | |
US10031899B2 (en) | Computing device and corresponding method for generating data representing text | |
CN204143441U (en) | A kind of intelligent sound system | |
US10339219B2 (en) | Computing device and corresponding method for generating data representing text | |
CN103165150B (en) | The safe audition system and method for a kind of smart mobile phone music | |
CN107615754B (en) | Method for adjusting television volume and digital television equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |