CN104185031A - Video absolute time point determination method and device - Google Patents

Video absolute time point determination method and device Download PDF

Info

Publication number
CN104185031A
CN104185031A CN201410067985.XA CN201410067985A CN104185031A CN 104185031 A CN104185031 A CN 104185031A CN 201410067985 A CN201410067985 A CN 201410067985A CN 104185031 A CN104185031 A CN 104185031A
Authority
CN
China
Prior art keywords
video file
absolute time
time point
played
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410067985.XA
Other languages
Chinese (zh)
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.)
Wuxi Tvmining Juyuan Media Technology Co Ltd
Original Assignee
Wuxi Tvmining Juyuan Media Technology Co 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 Wuxi Tvmining Juyuan Media Technology Co Ltd filed Critical Wuxi Tvmining Juyuan Media Technology Co Ltd
Priority to CN201410067985.XA priority Critical patent/CN104185031A/en
Publication of CN104185031A publication Critical patent/CN104185031A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

An embodiment of the invention provides a video absolute time point determination method comprising obtaining a video file list; analyzing the video file list to obtain an absolute starting time of a video file included in the video file list; receiving an absolute time point appointed by a user; determining a video file to be played according to the absolute time point appointed by the user; and calculating the playing starting point of the video file to be played and playing the video file to be played from the playing starting point. The embodiment of the invention also provides a corresponding device. With the video absolute time point determination method and device disclosed in the invention, according to the absolute time point provided by the user, the video file requested to be played and corresponding relative points in the video file can be positioned, thereby realizing determination of the absolute time point and the playing of the corresponding video file.

Description

A kind of definite method and device of video absolute time point
Technical field
The present invention relates to technical field of video processing, relate in particular to a kind of definite method and device of video absolute time point.
Background technology
M3U8 is a kind of video stream format file of encoding by UTF-8 form, and it is not video file itself in essence, but the listing file of video file is text-only file, has wherein comprised filename and the storage address of at least one video file.When user opens this file, playing program is not to play this file itself, but finds the network address URL of file according to the record of this file, then uses this address to play online.
Current player is in the time of playing video file, if user wants to jump to certain particular point in time of this video, is all generally to be navigated to and wanted the part seen by the relative point in time in this video (HH:mm:ss).And under some scene, may need to locate by absolute time point (yyyy/MM/dd HH:mm:ss) video that will play, for example, at real-time edition video flowing or while processing some live or monitor video, user can require to certain year in such a month, and on such a day what time somewhat the video of several seconds edit, at this moment just need to put to locate the video that will play by absolute time, but in prior art, do not exist and realize accordingly means, cause the video that will play by absolute time point location to realize.
Summary of the invention
Cannot pass through the problem of absolute time point location video in order to solve in prior art, the embodiment of the present invention proposes a kind of definite method and apparatus of video absolute time point.
One aspect of the present invention, provides a kind of definite method of video absolute time point, comprising:
Obtain video file list;
Resolve described video file list, obtain the absolute time started of the video file comprising in described video file list;
Receive the absolute time point that user specifies;
The absolute time point of specifying according to described user is determined video file to be played;
Calculate the initial broadcast point in described video file to be played, and start to play described video file to be played from described initial broadcast point.
Another aspect of the present invention, provides a kind of determining device of video absolute time point, comprising:
Acquiring unit, for obtaining video file list;
Resolution unit, the video file list of obtaining for resolving described acquiring unit, obtains absolute time started of the video file comprising in described video file list;
Receiving element, the absolute time point of specifying for receiving user;
Determining unit, determines video file to be played for the absolute time point of specifying according to described user;
Broadcast unit, for calculating the initial broadcast point of described video file to be played, and starts to play described video file to be played from described initial broadcast point.
Use definite method and apparatus of the disclosed video absolute time point of the embodiment of the present invention, by resolving video file list, the absolute time started of the video file wherein being comprised, the absolute time point of then specifying according to user is determined video file to be played, and calculate the initial broadcast point in described video file to be played, start to play video file to be played from the initial broadcast point calculating, the absolute time point location that can provide according to user to the video file that will play and in this video file corresponding corresponding point, realize the broadcasting of the definite and corresponding video file of absolute time point.
Brief description of the drawings
It shown in Fig. 1, is definite method schematic diagram of the video absolute time point that provides of the embodiment of the present invention;
It shown in Fig. 2, is the flow chart of definite method of the video absolute time point that provides of the embodiment of the present invention;
It shown in Fig. 3, is the structural representation of the determining device of a kind of video absolute time point of providing of the embodiment of the present invention.
Embodiment
In embodiments of the present invention, by resolving video file list, the absolute time started of the video file wherein being comprised, the absolute time point of then specifying according to user is determined video file to be played, and calculate the initial broadcast point in described video file to be played, start to play video file to be played from the initial broadcast point calculating, thereby realized determining and the broadcasting of corresponding video file of absolute time point.
Below describe definite method of the video absolute time point that the embodiment of the present invention provides in detail.
The definite method schematic diagram that Figure 1 shows that the video absolute time point that one embodiment of the invention provides, according to this figure, describes each step in detail as follows:
Step 101, obtain video file list;
Wherein, the file that described video file list is m3u8 form.
Describedly obtain video file list, comprising:
Obtain described video file list to server request;
Receive the described video file list that described server sends.
Step 102, resolve described video file list, obtain the absolute time started of the video file comprising in described video file list;
Wherein, the described video file list of described parsing, obtains absolute time started of the video file comprising in described video file list, comprising:
Resolve the file of described m3u8 form, obtain the video file list that comprises in described file, wherein said video file is with absolute time started name separately.
The absolute time point that step 103, reception user specify;
Step 104, the absolute time point of specifying according to described user are determined video file to be played;
Wherein, described absolute time point of specifying according to described user is determined video file to be played, comprising:
Described video file was sorted according to the absolute time started, locate the video file of the absolute time point both sides of described user's appointment;
In the video file of the absolute time point both sides that described user specifies, to be definitely positioned at absolute time point that described user specifies file be before described video file to be played the time started.
Step 105, calculate the initial broadcast point in described video file to be played, and start to play described video file to be played from described initial broadcast point.
Wherein, the initial broadcast point in the described video file to be played of described calculating, comprising:
The absolute time started that deducts described video file to be played with the absolute time point that described user specifies, obtain the initial broadcast point in described video file to be played.
In the aforementioned embodiment, described video file is TS form.
Use definite method of the disclosed video absolute time point of the embodiment of the present invention, by resolving video file list, the absolute time started of the video file wherein being comprised, the absolute time point of then specifying according to user is determined video file to be played, and calculate the initial broadcast point in described video file to be played, start to play video file to be played from the initial broadcast point calculating, the absolute time point location that can provide according to user to the video file that will play and in this video file corresponding corresponding point, realize the broadcasting of the definite and corresponding video file of absolute time point.
Based on definite method of aforementioned disclosed video absolute time point, below the detailed openly flow process of definite method of video absolute time point.Shown in Fig. 2, be the flow chart of definite method of the disclosed video absolute time point of one embodiment of the invention.
Introduce each step in this flow process as follows:
Step 201, start play;
Step 202, parsing absolute time point;
Wherein, by parsing the URL of video file in m3u8 file, then from the filename of video file, parse absolute time point.
Step 203, navigate to played file;
First navigate to video file according to the absolute time point of input and the beginning absolute time point of each video.
Particularly, the absolute time started of selected absolute next video file of time started point < of the absolute time started <=user of current video file.
Step 204, navigate to reproduction time;
According to the absolute time point of user's input and the absolute time started point of video file navigating to, calculate relative point in time.
Step 205, start playing video file from absolute time point.
Use definite method of the disclosed video absolute time point of the embodiment of the present invention, by resolving video file list, the absolute time started of the video file wherein being comprised, the absolute time point of then specifying according to user is determined video file to be played, and calculate the initial broadcast point in described video file to be played, start to play video file to be played from the initial broadcast point calculating, the absolute time point location that can provide according to user to the video file that will play and in this video file corresponding corresponding point, realize the broadcasting of the definite and corresponding video file of absolute time point.
The determining device of a kind of video absolute time point of following discloses, in order to carry out definite method of disclosed video absolute time point in previous embodiment.
Shown in Fig. 3, be the structural representation of the determining device of a kind of video absolute time point that one embodiment of the invention provides.Each part of determining device of introducing video absolute time point according to this figure is as follows.
Acquiring unit 301, for obtaining video file list;
Wherein, the file that described video file list is m3u8 form.
Described acquiring unit obtains video file list, comprising:
Obtain described video file list to server request;
Receive the described video file list that described server sends.
Resolution unit 302, the video file list of obtaining for resolving described acquiring unit, obtains absolute time started of the video file comprising in described video file list;
Wherein, described resolution unit is resolved described video file list, obtains the absolute time started of the video file comprising in described video file list, comprising:
Resolve the file of described m3u8 form, obtain the video file list that comprises in described file, wherein said video file is with absolute time started name separately.
Receiving element 303, the absolute time point of specifying for receiving user;
Determining unit 304, determines video file to be played for the absolute time point of specifying according to described user;
Wherein, the absolute time point that described determining unit is specified according to described user is determined video file to be played, comprising:
Described video file was sorted according to the absolute time started, locate the video file of the absolute time point both sides of described user's appointment;
In the video file of the absolute time point both sides that described user specifies, to be definitely positioned at absolute time point that described user specifies file be before described video file to be played the time started.
Broadcast unit 305, for calculating the initial broadcast point of described video file to be played, and starts to play described video file to be played from described initial broadcast point.
Described broadcast unit calculates the initial broadcast point in described video file to be played, comprising:
The absolute time started that deducts described video file to be played with the absolute time point that described user specifies, obtain the initial broadcast point in described video file to be played.
Use the determining device of the disclosed video absolute time point of the embodiment of the present invention, by resolving video file list, the absolute time started of the video file wherein being comprised, the absolute time point of then specifying according to user is determined video file to be played, and calculate the initial broadcast point in described video file to be played, start to play video file to be played from the initial broadcast point calculating, the absolute time point location that can provide according to user to the video file that will play and in this video file corresponding corresponding point, realize the broadcasting of the definite and corresponding video file of absolute time point.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in read/write memory medium, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc, CD, network node, schedulers.
Finally it should be noted that: these are only the preferred embodiments of the present invention, be not limited to the present invention, although the present invention is had been described in detail with reference to previous embodiment, for a person skilled in the art, its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (13)

1. a definite method for video absolute time point, is characterized in that, comprising:
Obtain video file list;
Resolve described video file list, obtain the absolute time started of the video file comprising in described video file list;
Receive the absolute time point that user specifies;
The absolute time point of specifying according to described user is determined video file to be played;
Calculate the initial broadcast point in described video file to be played, and start to play described video file to be played from described initial broadcast point.
2. method according to claim 1, is characterized in that, described in obtain video file list, comprising:
Obtain described video file list to server request;
Receive the described video file list that described server sends.
3. method according to claim 1, is characterized in that, described video file list is the file of m3u8 form.
4. method according to claim 3, is characterized in that, the described video file list of described parsing obtains absolute time started of the video file comprising in described video file list, comprising:
Resolve the file of described m3u8 form, obtain the video file list that comprises in described file, wherein said video file is with absolute time started name separately.
5. method according to claim 4, is characterized in that, described absolute time point of specifying according to described user is determined video file to be played, comprising:
Described video file was sorted according to the absolute time started, locate the video file of the absolute time point both sides of described user's appointment;
In the video file of the absolute time point both sides that described user specifies, to be definitely positioned at absolute time point that described user specifies file be before described video file to be played the time started.
6. method according to claim 5, is characterized in that, the initial broadcast point in the described video file to be played of described calculating, comprising:
The absolute time started that deducts described video file to be played with the absolute time point that described user specifies, obtain the initial broadcast point in described video file to be played.
7. according to the method described in any one in claim 1-6, it is characterized in that, described video file is TS form.
8. a determining device for video absolute time point, is characterized in that, comprising:
Acquiring unit, for obtaining video file list;
Resolution unit, the video file list of obtaining for resolving described acquiring unit, obtains absolute time started of the video file comprising in described video file list;
Receiving element, the absolute time point of specifying for receiving user;
Determining unit, determines video file to be played for the absolute time point of specifying according to described user;
Broadcast unit, for calculating the initial broadcast point of described video file to be played, and starts to play described video file to be played from described initial broadcast point.
9. device according to claim 8, is characterized in that, described acquiring unit obtains video file list, comprising:
Obtain described video file list to server request;
Receive the described video file list that described server sends.
10. device according to claim 8, is characterized in that, described video file list is the file of m3u8 form.
11. devices according to claim 10, described resolution unit is resolved described video file list, obtains the absolute time started of the video file comprising in described video file list, comprising:
Resolve the file of described m3u8 form, obtain the video file list that comprises in described file, wherein said video file is with absolute time started name separately.
12. devices according to claim 11, is characterized in that, the absolute time point that described determining unit is specified according to described user is determined video file to be played, comprising:
Described video file was sorted according to the absolute time started, locate the video file of the absolute time point both sides of described user's appointment;
In the video file of the absolute time point both sides that described user specifies, to be definitely positioned at absolute time point that described user specifies file be before described video file to be played the time started.
13. devices according to claim 12, is characterized in that, described broadcast unit calculates the initial broadcast point in described video file to be played, comprising:
The absolute time started that deducts described video file to be played with the absolute time point that described user specifies, obtain the initial broadcast point in described video file to be played.
CN201410067985.XA 2014-02-26 2014-02-26 Video absolute time point determination method and device Pending CN104185031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410067985.XA CN104185031A (en) 2014-02-26 2014-02-26 Video absolute time point determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410067985.XA CN104185031A (en) 2014-02-26 2014-02-26 Video absolute time point determination method and device

Publications (1)

Publication Number Publication Date
CN104185031A true CN104185031A (en) 2014-12-03

Family

ID=51965723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410067985.XA Pending CN104185031A (en) 2014-02-26 2014-02-26 Video absolute time point determination method and device

Country Status (1)

Country Link
CN (1) CN104185031A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554580A (en) * 2015-12-10 2016-05-04 深圳市科漫达智能管理科技有限公司 Streaming media file positioning method and device
CN110856047A (en) * 2019-12-05 2020-02-28 湖南省农业信息与工程研究所 Decomposition method of traceability video file, streaming media server and client

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007105697A1 (en) * 2006-03-15 2007-09-20 Pioneer Corporation Digital image data processing device and processing method
CN101420577A (en) * 2008-11-07 2009-04-29 武汉烽火网络有限责任公司 Storage method for multimedia data and method for accurately positioning playback position
CN103024289A (en) * 2012-12-28 2013-04-03 天脉聚源(北京)传媒科技有限公司 Method and device for editing live stream on basis of M3U8 listing protocol
CN103501392A (en) * 2013-10-16 2014-01-08 江西省文明手机台传播有限责任公司 Method for performing real-time audio and video shooting and live broadcast by using mobile phone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007105697A1 (en) * 2006-03-15 2007-09-20 Pioneer Corporation Digital image data processing device and processing method
CN101420577A (en) * 2008-11-07 2009-04-29 武汉烽火网络有限责任公司 Storage method for multimedia data and method for accurately positioning playback position
CN103024289A (en) * 2012-12-28 2013-04-03 天脉聚源(北京)传媒科技有限公司 Method and device for editing live stream on basis of M3U8 listing protocol
CN103501392A (en) * 2013-10-16 2014-01-08 江西省文明手机台传播有限责任公司 Method for performing real-time audio and video shooting and live broadcast by using mobile phone

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554580A (en) * 2015-12-10 2016-05-04 深圳市科漫达智能管理科技有限公司 Streaming media file positioning method and device
CN110856047A (en) * 2019-12-05 2020-02-28 湖南省农业信息与工程研究所 Decomposition method of traceability video file, streaming media server and client

Similar Documents

Publication Publication Date Title
US11081101B1 (en) Real time popularity based audible content acquisition
US10110960B2 (en) Methods and systems for facilitating media-on-demand-based channel changing
US10049702B2 (en) Digital video recorder options for editing content
CN102665129B (en) Played content-customizing method and played content-customizing device
US20110219386A1 (en) Method and apparatus for generating bookmark information
EP2991341A1 (en) Video playback method, media device, playback device, and multimedia system
KR102330088B1 (en) System for filtering media manifests using manifest attributes
CN104298728B (en) A kind of method and system by internet distributing video advertisement
KR20120099034A (en) Automatic media asset update over an online social network
CN112383790B (en) Live broadcast screen recording method and device, electronic equipment and storage medium
CN110740386A (en) Live broadcast switching method and device and storage medium
EP3258640B1 (en) Location based authentication
US20140282666A1 (en) Systems and Methods for Content History
KR101666918B1 (en) Method and apparatus for skip and seek processing in streaming service
CA2964721C (en) Reception apparatus, transmission apparatus, and data processing method
KR20160077764A (en) Music information provision method and system
JP2016521063A (en) Providing interrelated program information for broadcast and streaming media content
US20180124472A1 (en) Providing Interactive Content to a Second Screen Device via a Unidirectional Media Distribution System
CN104185031A (en) Video absolute time point determination method and device
JP2010114808A (en) Voice comment distribution-sharing method and system
CN104023278B (en) Streaming medium data processing method and electronic equipment
KR20190091215A (en) Method and apparatus for streaming multimedia data without transcoding using meta data
KR101947186B1 (en) Content reproduction method and system
US20170329831A1 (en) System and method for analyzing content usage events
CN111869225A (en) Information processing device, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141203

RJ01 Rejection of invention patent application after publication