CN101188751A - A playing method and device for local video program - Google Patents

A playing method and device for local video program Download PDF

Info

Publication number
CN101188751A
CN101188751A CNA2007102031038A CN200710203103A CN101188751A CN 101188751 A CN101188751 A CN 101188751A CN A2007102031038 A CNA2007102031038 A CN A2007102031038A CN 200710203103 A CN200710203103 A CN 200710203103A CN 101188751 A CN101188751 A CN 101188751A
Authority
CN
China
Prior art keywords
player
video file
video
local
advance
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
CNA2007102031038A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CNA2007102031038A priority Critical patent/CN101188751A/en
Publication of CN101188751A publication Critical patent/CN101188751A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a broadcasting method of local video programs, which comprises a web page comprising an embedded player; a video file which is stored in the local area in advanced, is sent to the embedded player; and the embedded player plays the video file. The invention also discloses a broadcasting device of local video programs simultaneously. The invention broadcasts the local video programs by utilizing the embedded player of the web page, and the trouble that an independent player which is additionally arranged on a local user computer is avoided.

Description

A kind of playing method and device of local video program
The application require on September 24th, 2007 submit that Patent Office of the People's Republic of China, application number are 2007102018264 to, denomination of invention is the priority of the Chinese patent application of " a kind of playing method and device of local video program ", its full content is by reference in conjunction with in this application.
Technical field
The present invention relates to the computer video technical field, more specifically to a kind of playing method and device of local video program.
Background technology
Computer network and people's life are more and more closer, and along with the fast development of computer and network technologies, computer video and Internet video are partly replacing TV and disc player becomes the mode that people enjoy video frequency program.
Meanwhile, relevant network technology, software engineering is development thereupon also, the video file format and the video flowing server that have Real company and Microsoft to release the earliest, use p2p (point-to-point was arranged again afterwards, point-to-point) mode of technology, and it was most popular in recent years, surely belong to the video website of this class of youtube based on the Flash technology, this class website surges forward in recent years, comprise external famous youtube, grouper, metacafe, veoh, prominent domestic potato, the idol idol, excellent cruel, 56, six rooms, the cruel slide, uume, tvix etc., simultaneously, some have also used the Flash video technique instead in the website of non-Flash video technique originally, and for example the news video of Sina used mms (stream media format of Microsoft) originally, also changed the Flash video technique in the recent period into.The video of CCTV, HNTV equally also uses the Flash video technique.
Please refer to Fig. 1 and Fig. 2, the mode of watching of this class video is at present: use the browser access video website, find the program that will see, online then watching.The user can find instrument that these videos are downloaded to this locality, can't watch with browser but download to local back, an independent player must be installed could play, and this has caused inconvenience to the user.And have wmp (the Windows MediaPlayer of Microsoft on the general computer of user, the windows media player of Microsoft) software, can play wmv (Windows MediaVideo, the video format file of Microsoft) program, some user has adorned the real player, but it is very few several that the player of supporting Flash video flv (Flash Video, the video format file of Adobe company) program at present has only, and what software many people even do not know with can be play the flv program.
Like this, just produced a very strange situation: the general user sees the program of flv, real, wmv at an easy rate on the net, and after program downloaded to this locality, how the program ratio of wmv and real is easier to play in this locality (need call independently player), and the then many people of the program of flv do not know to play in this locality (what player plays flv most people do not know with).
Summary of the invention
In view of this, the method and apparatus that the object of the present invention is to provide a kind of local video to play is to solve the trouble that the user needs to install separately player.
The present invention is achieved in that
A kind of player method of local video program comprises:
Setting comprises the webpage that embeds player;
Be sent to described embedding player with being stored in local video file in advance;
The existing decoder of browser calling system is decoded to described video file and is play on the embedding player interface.
Preferably,
Above-mentioned webpage embedded embedding player is directly obtained and is stored in local video file in advance, and the existing decoder of browser calling system is play.
Preferably,
By a converting member, obtain and be stored in local video file in advance, give above-mentioned webpage embedded embedding player from local network interface (Localhost) in the mode of network service, play by the existing decoder decode of browser calling system and on the embedding player interface.
Preferably,
When use comprises the video file of the webpage broadcast this locality that embeds player, advertising message or other network informations are incorporated into this webpage.
The present invention also discloses a kind of playing device of local video program, comprising:
Boundary element, by the embedding player that is used for playing video file, and the page unit that comprises this embedding player is formed;
Processing unit is used for carrying out preliminary treatment, decoding with being stored in local video file in advance, and is sent to described boundary element.
Preferably, described processing unit comprises:
Pretreatment unit is used for and will states preliminary treatment work such as video file decoding;
Transmitting element is used for pretreated video data is sent to boundary element.
Preferably, described pretreatment unit is directly obtained local video file, and gives transmitting element data passes.
Preferably, described pretreatment unit is obtained local video file, and with file according to the network communication protocol reorganization after, pass to transmitting element with the form of procotol.
Said apparatus also comprises:
Information integrated unit is used for information integratedly to the described page unit that embeds player that comprises with what set in advance, and the described information that sets in advance is advertising message or other network informations.
From technique scheme as can be seen, compared with prior art, the present invention defers to most of netizen's custom, as long as the netizen can be at the video of seeing on the webpage on the website, after this video is downloaded, need not to install again independent, special-purpose player, can play and download to local video, for the user, should use more conveniently, solved the problem of this inconvenience that prior art exists.
Description of drawings
Fig. 1 is the realization flow figure of prior art one: the flow process of playing local program now;
Fig. 2 is the realization flow figure of prior art two: the flow process of present playing network program;
Fig. 3 is the flow chart of the embodiment one of the player method of a kind of local video program of the present invention: use webpage to embed the flow process that player is play-overed local program;
Fig. 4 is the flow chart of the embodiment two of the player method of a kind of local video program of the present invention: use webpage to embed the flow process that player is play local program indirectly;
Fig. 5 is the structural representation of the embodiment one of the playing device of a kind of local video program of the present invention;
Fig. 6 is the structural representation of the embodiment two of the playing device of a kind of local video program of the present invention.
Embodiment
Because historical reasons, the Flash technology is to occur in web advertisement at first, use the Flash technology of Macromedia (adobe) company, make original copy, display advertising become animated advertising, video ads, the Flash player plug-in unit of browser is also installed on the computer of major part online, thereby the video website of Flash technology occurred using.And Flash player plug-in unit is at browser, rather than to resemble wmp and the real player be independent software, such situation therefore occurred: rare independent flv player but the browser of nearly all computer can both be play online flv program.
With present Flash video for example: general browser can be installed Flash player plug-in unit, this plug-in unit has the function of flv decoding, the Software tool that the while video website can use Macromedia (back is purchased by Adobe) to provide is a swf (Shockware Flash, the file format that a kind of Flash plug-in unit is supported) player interface (source file is fla), the swf player calls the flv video file that Flash decoder (Flash player plug-in unit) goes to the displaying video website then.The process of briefly online Flash video playback comes to this: the browser that Flash player plug-in unit has been installed is opened a webpage, and the swf player interface is arranged in the webpage, and the swf player interface calls the Flash decoder and plays the flv video file.
Here illustrate: actual two parts that comprised of player that common people understand, player interface and decoder, wmp and real have comprised two-part player software, but most of player can add other decoders again to support more form.And the flv plug-in unit to be the apparent in view decoder that has only do not have player interface, the swf player that provides of video website all is that each website is self-made, different at present.
Basic thought of the present invention is: the online method of playing of simulation, in webpage, embed player, and utilize the content (being the audio/video program of preserving on the subscriber computer) of this embedding player plays this locality.Though the broadcast demand in this way of other video formats such as Wmv and real is necessary like this not as flv, can use method of the present invention equally.
We are example with flv in the following argumentation.
The solution of the present invention is: use the similar method of above-mentioned netcast method, we do a webpage, and a swf player interface is arranged in the webpage, play the flv video file of subscriber computer this locality with the swf player interface.Like this, the user just need not independent flv player is installed, but can reach the effect of playing local flv file.
In fact, above-mentioned webpage, embedding player have also formed " a simple playback device software " that is similar to player, but it and traditional " independent player " have a great difference, at first this " player " may reside on the network, concerning the user, need not " installation " software and but can play local content like this; Secondly, though should " player " partly or entirely be present in this locality because it is the structure of a webpage, can be at an easy rate with the Internet on content merge; Even this programme can be used as the parts existence of another software.
Fig. 3 shows the flow chart of embodiment one of the player method of a kind of local video program of the present invention.
Specifically may further comprise the steps:
Step S301: the webpage that comprises the swf player is set, the video file that request is local.
Step S302:swf player is obtained and is stored in local video file in advance, and browser can be decoded to this local video file by the existing Flash decoder of calling system.
Step S303: decoded data are sent on the described swf player and play.
The file of above-mentioned webpage and swf player interface can be that video file is present in this locality on network also in this locality.
Need to prove that being stored in local flv video file can have dual mode to be connected with above-mentioned webpage embedded swf player:
First kind of mode is that the swf player is directly obtained local flv video file in the mode of file;
The second way is that a simple server program (converting unit) is installed, this server program can be independent or be attached on certain other program, its purpose is exactly that mode with file obtains the local video file, again in the mode of access to netwoks, provide video data from local network interface (localhost) to the swf player.Please refer to Fig. 4, be the flow chart of the embodiment two of the player method of a kind of local video program of the present invention.
The second way specifically may further comprise the steps:
Step S401: the webpage that comprises the swf player is set, sends request by Localhost to converting unit in the mode of network requests.
Step S402-S403: converting unit obtains with file request and is stored in local video file in advance
Step S404: converting unit is issued browser in the mode of network response with data, and browser can be decoded to this local video file by the existing Flash decoder of calling system.
Step S405: decoded data are sent on the described swf player and play.
Though because the Flash video is different owing to historical reasons with other videos such as windows wmv video, Real videos, cause all can installing on the general computer windows player, Real player, and all do not have independent flv player on the general computer, cause demand of the present invention clearly to the Flash video, not obvious to other video requirements.But by the present invention, can make the user use same, the most familiar browser interface when visiting different videos, therefore the present invention is directed to the broadcast of windows, real and other video formats, also have meaning, also be that the present invention needs protection.
Simultaneously, therefore some application software is embedded at present web browser also can use method of the present invention, and the mode with webpage in embedded browser is play local video.This also is that the present invention needs protection.
By the present invention, local relevant information can be integrated with online relevant information easily, and for example present " lyrics plug-in unit " can be when user's played songs, find and download the corresponding lyrics from network, in the interface of plug-in unit interface or player itself, show the lyrics.And use the present invention will realize that such function is very easy to, though the embedding player plays is local content, the space beyond the embedding player of this webpage can be an online content, and these lyrics just can obtain from network.For a webpage, the content of integrating different web sites is very easy, uses the present invention local content and online content can be incorporated in the same webpage.
Similarly, when playing a video, also can show captions, perhaps video introduces content.Use the present invention, also can realize similar function, can superpose on swf player video literal, picture, animation even other audiovisual content such as the lyrics, letter, introduction even advertisement also can show these contents in swf player next door in playing webpage.
In a word, as long as use the embedded player of browser to play local video, audio program, be exactly the scope that this patent will be protected.Also there are not similar products like or method at present.
The present invention also discloses a kind of playing device of local video program, please refer to Fig. 5, be the structural representation of the embodiment one of the playing device of a kind of local video program of the present invention.
This device comprises: boundary element 111, processing unit 112 and FLV plug-in unit decoder or wmv/rm decoder 113.
Described processing unit 112 is used for being divided into some video-frequency bands with being stored in local video file in advance, and each video-frequency band is sent to described FLV plug-in unit decoder wmv/rm decoder 113 in order.
After decoding, the video-frequency band that 113 pairs of processing units 112 of described FLV plug-in unit decoder or wmv/rm decoder send over offers boundary element 111.It is to belong to prior art that the video-frequency band that 113 pairs of processing units 112 of FLV plug-in unit decoder or wmv/rm decoder send over is decoded, and its detailed process is not described in detail at this.
Described boundary element 111 comprises page unit 1111, and embed in this page unit 1111, be used for playing video file swf player 1112, and be used to receive the receiving element 1113 of the video information that described processing unit 112 sends over.
Its course of work and operation principle are as follows:
Described processing unit 112 will be stored in local video file in advance and be sent to described FLV plug-in unit decoder or wmv/rm decoder 113, after being decoded by this FLV plug-in unit decoder or wmv/rm decoder 113, offer boundary element 111.After receiving element 1113 in the boundary element receives described video, offer swf player 1112, play by swf player 1112.
Being stored in local flv video file can have dual mode to be connected with above-mentioned webpage embedded swf player:
First kind of mode is that the swf player is directly obtained local flv video file in the mode of file;
The second way is that a simple server program (converting unit) is installed, this server program can be independent or be attached on certain other program, its purpose is exactly that mode with file obtains the local video file, again in the mode of access to netwoks, provide video data from local network interface (localhost) to the swf player.
Please refer to Fig. 6, be the structural representation of the embodiment two of the playing device of a kind of local video program of the present invention.
On the basis of the foregoing description one, the present invention can also comprise:
Integral unit 114 is used for relevant information of this locality and online relevant information are integrated.
The relevant information of described this locality can be the advertising message that the user sets in advance, also can the lyrics, literal, picture, animation even other audiovisual content such as letter, introduction even advertisement, by integral unit 114 it is superimposed upon on the swf player video, perhaps it is arranged on the player of swf described in page unit next door.
The mode of the present invention by playing with webpage, the flv plug-in unit that has not only utilized basic all users all can install is play needs to install the local flv file that the flv player could be play originally, and play unified interface when comprising other video formats for the user, thereby make that the user is more convenient when watching video frequency program, custom is more unified, solved prior art and watched the interface difference, problem such as can't conveniently watch owing to what the distribution situation of decoder, player caused.
More than disclosed only be preferred implementation of the present invention; but the present invention is not limited thereto; any those skilled in the art can think do not have a creationary variation, and, all should drop in protection scope of the present invention not breaking away from some improvements and modifications of being done under the principle of the invention prerequisite.

Claims (9)

1. the player method of a local video program is characterized in that, comprising:
Setting comprises the webpage that embeds player;
Be sent to described embedding player with being stored in local video file in advance;
The existing decoder of browser calling system is decoded to described video file and is play on the embedding player interface.
2. the method for claim 1 is characterized in that,
Above-mentioned webpage embedded embedding player is directly obtained and is stored in local video file in advance, and the existing decoder of browser calling system is play.
3. the method for claim 1 is characterized in that,
By a converting member, obtain and be stored in local video file in advance, give above-mentioned webpage embedded embedding player from local network interface (Localhost) in the mode of network service, play by the existing decoder decode of browser calling system and on the embedding player interface.
4. as any described method of claim 1-3, it is characterized in that,
When use comprises the video file of the webpage broadcast this locality that embeds player, advertising message or other network informations are incorporated into this webpage, accomplish the video playback of the relative trouble of regular software and the integration problem of other information easily.
5. the playing device of a video frequency program is characterized in that, comprising:
Boundary element embeds player by being used for playing video file, and comprises the page unit composition of this embedding player;
Processing unit is used for carrying out preliminary treatment, decoding with being stored in local video file in advance, and is sent to described boundary element.
6. device as claimed in claim 5 is characterized in that, described processing unit comprises:
Pretreatment unit is used for and will states preliminary treatment work such as video file decoding;
Transmitting element is used for pretreated video data is sent to boundary element.
7. device as claimed in claim 6 is characterized in that,
Pretreatment unit is directly obtained local video file, and gives transmitting element data passes.
8. device as claimed in claim 6 is characterized in that,
Pretreatment unit is obtained local video file, and with file according to the network communication protocol reorganization after, pass to transmitting element with the form of procotol.
9. as any described device of claim 5-8, it is characterized in that, also comprise:
Information integrated unit is used for information integratedly to the described page unit that embeds player that comprises with what set in advance, and the described information that sets in advance is advertising message or other network informations.
CNA2007102031038A 2007-09-24 2007-12-17 A playing method and device for local video program Pending CN101188751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007102031038A CN101188751A (en) 2007-09-24 2007-12-17 A playing method and device for local video program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200710201826.4 2007-09-24
CN200710201826 2007-09-24
CNA2007102031038A CN101188751A (en) 2007-09-24 2007-12-17 A playing method and device for local video program

Publications (1)

Publication Number Publication Date
CN101188751A true CN101188751A (en) 2008-05-28

Family

ID=39480901

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007102031038A Pending CN101188751A (en) 2007-09-24 2007-12-17 A playing method and device for local video program

Country Status (1)

Country Link
CN (1) CN101188751A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321176B (en) * 2008-07-11 2011-05-25 中兴通讯股份有限公司 Live broadcasting method and system of browser client terminal, browser client terminal and background client terminal
CN102665129A (en) * 2012-04-27 2012-09-12 北京人民广播电台 Played content-customizing method and played content-customizing device
CN103391476A (en) * 2013-06-21 2013-11-13 苏州鼎富软件科技有限公司 Remote assistance method for player
CN103577176A (en) * 2012-08-02 2014-02-12 腾讯科技(深圳)有限公司 Method for realizing independent video play and mobile terminal device for realizing the method
CN104581171A (en) * 2013-10-15 2015-04-29 腾讯科技(深圳)有限公司 Method and device for playing videos on browser as well as mobile terminal
CN105611379A (en) * 2016-03-31 2016-05-25 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN105721924A (en) * 2016-03-31 2016-06-29 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN105744348A (en) * 2016-03-31 2016-07-06 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN108268327A (en) * 2016-12-30 2018-07-10 亿度慧达教育科技(北京)有限公司 The processing method of big data, apparatus and system in remote online
CN110545460A (en) * 2018-05-29 2019-12-06 北京字节跳动网络技术有限公司 Media file preloading method and device and storage medium
CN110545467A (en) * 2018-05-29 2019-12-06 北京字节跳动网络技术有限公司 Media file loading control method and device and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321176B (en) * 2008-07-11 2011-05-25 中兴通讯股份有限公司 Live broadcasting method and system of browser client terminal, browser client terminal and background client terminal
CN102665129B (en) * 2012-04-27 2015-05-27 北京人民广播电台 Played content-customizing method and played content-customizing device
CN102665129A (en) * 2012-04-27 2012-09-12 北京人民广播电台 Played content-customizing method and played content-customizing device
CN103577176A (en) * 2012-08-02 2014-02-12 腾讯科技(深圳)有限公司 Method for realizing independent video play and mobile terminal device for realizing the method
CN103391476B (en) * 2013-06-21 2016-08-31 北京银网信科技有限公司 The remote assistance method of player
CN103391476A (en) * 2013-06-21 2013-11-13 苏州鼎富软件科技有限公司 Remote assistance method for player
CN104581171A (en) * 2013-10-15 2015-04-29 腾讯科技(深圳)有限公司 Method and device for playing videos on browser as well as mobile terminal
CN104581171B (en) * 2013-10-15 2019-08-27 腾讯科技(深圳)有限公司 The method, device and mobile terminal of video are played on a kind of browser
CN105611379A (en) * 2016-03-31 2016-05-25 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN105721924A (en) * 2016-03-31 2016-06-29 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN105744348A (en) * 2016-03-31 2016-07-06 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN105611379B (en) * 2016-03-31 2019-03-26 北京金山安全软件有限公司 Method and device for playing video by using web browser and electronic equipment
CN108268327A (en) * 2016-12-30 2018-07-10 亿度慧达教育科技(北京)有限公司 The processing method of big data, apparatus and system in remote online
CN110545460A (en) * 2018-05-29 2019-12-06 北京字节跳动网络技术有限公司 Media file preloading method and device and storage medium
CN110545467A (en) * 2018-05-29 2019-12-06 北京字节跳动网络技术有限公司 Media file loading control method and device and storage medium

Similar Documents

Publication Publication Date Title
CN101188751A (en) A playing method and device for local video program
US12137134B2 (en) Internet streaming of dynamic content from a file
KR101571678B1 (en) Sharing content-synchronized ratings
CN102137137B (en) Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream
US20020004839A1 (en) Method of controlling the display of a browser during a transmission of a multimedia stream over an internet connection so as to create a synchronized convergence platform
US20040133467A1 (en) Method and apparatus for selecting streaming media in real-time
WO2013080502A1 (en) Terminal apparatus, server apparatus, information processing method, program, and linking application supply system
US20080288600A1 (en) Apparatus and method for providing access to associated data related to primary media data via email
US20170195744A1 (en) Live-stream video advertisement system
US20020068525A1 (en) Methods and systems for dynamically serving in-stream advertisements
US20070089158A1 (en) Apparatus and method for providing access to associated data related to primary media data
US20030066089A1 (en) Trigger mechanism for sync-to-broadcast web content
EP1479019A2 (en) Placement of alternative advertisements
US20150074714A1 (en) System and method for providing digital content
WO2007097987A2 (en) System and method for advertising on remote devices
WO2011139622A2 (en) Method and apparatus for insertion of advertising in a live video stream
CN101594538A (en) A kind of advertisement in digital television player method and system
KR20130089604A (en) Stream messaging for program stream automation
KR100915314B1 (en) Method and apparatus for managing TV broadcast content that has synchronized web applications
US20020067907A1 (en) Universal video client/universal video server system
TWI322397B (en)
KR100845138B1 (en) Interactive Rich Media Service Method Associated with Digital Multimedia Broadcasting and Its Service System
WO2012104855A1 (en) Mobile video streaming system with contextual advertising and dynamic transcoding
JP2005057606A (en) Server and method for video distribution
Karena It's about Time, It's about Space: Crank TV

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20080528