CN102855909A - Batch dynamic loading method for video titles - Google Patents

Batch dynamic loading method for video titles Download PDF

Info

Publication number
CN102855909A
CN102855909A CN2012103131725A CN201210313172A CN102855909A CN 102855909 A CN102855909 A CN 102855909A CN 2012103131725 A CN2012103131725 A CN 2012103131725A CN 201210313172 A CN201210313172 A CN 201210313172A CN 102855909 A CN102855909 A CN 102855909A
Authority
CN
China
Prior art keywords
video
file
head
dynamic load
header file
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
CN2012103131725A
Other languages
Chinese (zh)
Other versions
CN102855909B (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.)
4399 NETWORK Co Ltd
Original Assignee
4399 NETWORK 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 4399 NETWORK Co Ltd filed Critical 4399 NETWORK Co Ltd
Priority to CN201210313172.5A priority Critical patent/CN102855909B/en
Publication of CN102855909A publication Critical patent/CN102855909A/en
Application granted granted Critical
Publication of CN102855909B publication Critical patent/CN102855909B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention provides a batch dynamic loading method for video titles, which comprises the following steps of: S11, uploading files: uploading video files, configuration files and title files to a server, wherein the video files are stored in the server according to the classification of video topics; S12, editing the configuration files: allocating a video ID to each video file, allocating a title ID to each title file, and writing the video ID and the title ID into the configuration files; S13, calling the configuration files by a video player through the video ID, calling the title files in the configuration files according to the title ID and dynamically loading the title files; and S14, generating an HTML page playing videos. According to the method disclosed by the invention, through carrying out batch dynamic loading on the video titles, the server resources can be saved.

Description

A kind of method of batch dynamic load video head
Technical field
The present invention relates to the video playback technical field, relate in particular to a kind of method of batch dynamic load video head.
Background technology
Along with the development of video network, online watches the netizen of video more and more, and a large amount of TV series is arranged in video frequency program, how to be that these serial dynamic load head and run-out are a matter of great account feelings.For video adds one section head or run-out is a kind of postproduction of movies treatment technology of frequent use, in the time of particularly a series of video work will being made special edition, generally for unified style or put into logo and all can add head and run-out for these films.
It is that video adds head or run-out that following methods is generally arranged in the prior art:
By video post-processing software head or the run-out of handling well and the video that need to add head are synthesized, and play up a film.The method needs the later stage Video processing personnel operation software of specialty to come each video is synthesized and plays up, whole like this process efficiency is just very low and repeatedly loaded down with trivial details, efficient is lower, if want to change certain part in the head, again add again one time head after must having changed, do not possess the dirigibility of dynamic appending slide glass head.In addition, these videos become large by the rear file that video software loaded head, and for a large amount of videos, the load that each video adds a whole video resource server of head is just larger, consumes more resource.
Summary of the invention
The object of the invention is to design the method for the online film head of a kind of batch dynamic load, by batch dynamic load video head, can save server resource.
To achieve these goals, the technical solution used in the present invention is as follows:
The method of batch dynamic load video head of the present invention may further comprise the steps:
S11, upload file: to server, described video file is kept on the described server according to the audio special classification with video file, configuration file and head File Upload;
S12 edits described configuration file: for described video file distributes video ID, be described head file allocation head ID, and described video ID and described head ID are write described configuration file;
S13, video player calls described configuration file by described video ID, calls sheet header file and described header file of dynamic load according to head ID in described configuration file;
S14, the html page of generation displaying video.
Preferably, described configuration file is the xml file.
Preferably, described video file is not for adding the video file of head.
Preferably, the described video player of S13 calls described configuration file and described header file of dynamic load by described video ID, is specially:
S21, video player calls corresponding described configuration file by video ID;
S22 calls head ID corresponding in the described configuration file, loads described header file corresponding to described head ID and plays described header file, loads video file in the process of playing described header file.
Preferably, also comprise after described header file of the described dynamic load of S13:
S31 plays described header file, and described header file is kept at buffer memory;
S32 loads described video file when playing described header file, continuation loads and play described video file after described header file of broadcast finished;
S33 after once described header file finished in loading, when playing other described video files of same audio special, obtains described header file in described buffer memory.
Preferably, the quantity of the described video file of same audio special is a plurality of, the corresponding described head ID of a plurality of described video ID that a plurality of described video files are corresponding, and a plurality of described video files add described header file in batches.
As can be seen from the above technical solutions, beneficial effect of the present invention can be summarized as follows:
Method of the present invention is that to load the whole process of video quicker, does not need to take much time that it is synthetic and play up that each video is carried out head, and modification head content that can be flexible.
Method of the present invention can reduce the consumption of server traffic, and all videos of whole special topic can share head, can directly reach in buffer memory as long as load other video files of sheet header file, has saved server resource.
Method of the present invention is simpler, and people that can video editing also can add self-defining head easily by the method for revising configuration file.
Description of drawings
Fig. 1 is schematic flow sheet of the present invention.
Embodiment
In order to make technical matters solved by the invention, technical scheme and beneficial effect clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.
The invention provides a kind of method of batch dynamic load video head, be used for the in batches online film head of dynamic load, by batch dynamic load video head, can save server resource.
See also Fig. 1, the method for the batch dynamic load video head in the embodiment of the invention may further comprise the steps:
S11, upload file: to server, described video file is kept on the server according to the audio special classification with video file, configuration file and head File Upload;
Described video file is not for adding the video file of head;
Server is described video file according to the audio special classification and is the unique video ID of each video distribution, the corresponding configuration file of each video file;
Wherein, described configuration file is the xml file, described xml file is used for the electroactive marker son file makes described e-file have structural markup language, can be used for flag data, definition data type, the source language that to be a kind of user of permission define oneself markup language.
S12 edits described configuration file: for described video file distributes video ID, be described head file allocation head ID, and described video ID and described head ID are write described configuration file;
Described configuration file comprises video ID and head ID.
S13, video player calls described configuration file by described video ID, calls sheet header file and described header file of dynamic load according to head ID in described configuration file;
S14, the html page of generation displaying video.
Described video player calls described configuration file and described header file of dynamic load by described video ID, is specially:
S21, video player calls corresponding described configuration file by video ID;
S22 calls head ID corresponding in the described configuration file, loads described header file corresponding to described head ID and plays described header file, loads video file in the process of playing described header file.
After described video player is obtained configuration file corresponding to certain video ID, in described configuration file, obtain with head ID and think corresponding sheet header file, video player loads described header file and plays described video file, when playing the sheet header file, load video file, beginning playing video file after the sheet header file finishes playing.
Finish the process of dynamic load head by above-mentioned loading sheet header file and two loading procedures of loading video file.
Also comprise after described header file of dynamic load:
S31 plays described header file, and described header file is kept at buffer memory;
S32 loads described video file when playing described header file, continuation loads and play described video file after described header file of broadcast finished;
S33 after once described header file finished in loading, when playing other described video files of same audio special, obtains described header file in described buffer memory.
The quantity of the described video file of same audio special is a plurality of, the corresponding described head ID of a plurality of described video ID that a plurality of described video files are corresponding, and a plurality of described video files add described header file in batches.
Embodiment one:
The below is described further technical scheme of the present invention as an example of 4399 trivial games video players example.
The 4399th, the trivial games professional website of Largest In China provides free various greens, safe, healthy trivial games.
4399 video players are mainly used in the game replaying Video tutorials, the game publicity, and information news etc.
The technical scheme that 4399 video players add the sheet header file in batches is as follows:
The first step, video editing, the staff uploads onto the server needed resource, comprising: an xml configuration file does not add the video file of head with at least one.
Second step, the user clicks and to enter after the html page of displaying video, and video player obtains according to video ID after the configuration file of corresponding video ID, obtains head ID and load the sheet header file and play described header file from configuration file.
In the 3rd step, video player begins to continue to load video file when playing the sheet header file.
After the sheet header file plays, play-over video file, can not produce the stand-by period that loads video file.
In sum, the present invention cooperates this video player by simple configuration, has finished the in batches dynamic function that loads the video head, and is simple and convenient, and of many uses, improved user's experience.
More than by the detailed description of concrete and preferred embodiment the present invention; but those skilled in the art should be understood that; the present invention is not limited to the above embodiment; within the spirit and principles in the present invention all; any modification of doing, be equal to replacement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the method for batch dynamic load video head is characterized in that, comprising:
S11, upload file: to server, described video file is kept on the described server according to the audio special classification with video file, configuration file and head File Upload;
S12 edits described configuration file: for described video file distributes video ID, be described head file allocation head ID, and described video ID and described head ID are write described configuration file;
S13, video player calls described configuration file by described video ID, calls sheet header file and described header file of dynamic load according to head ID in described configuration file;
S14, the html page of generation displaying video.
2. the method for batch dynamic load video head according to claim 1 is characterized in that, described configuration file is the xml file.
3. the method for batch dynamic load video head according to claim 1 is characterized in that, described video file is not for adding the video file of head.
4. the method for batch dynamic load video head according to claim 1 is characterized in that, the described video player of S13 calls described configuration file and described header file of dynamic load by described video ID, is specially:
S21, video player calls corresponding described configuration file by video ID;
S22 calls head ID corresponding in the described configuration file, loads described header file corresponding to described head ID and plays described header file, loads video file in the process of playing described header file.
5. the method for batch dynamic load video head according to claim 1 is characterized in that, also comprises after described header file of the described dynamic load of S13:
S31 plays described header file, and described header file is kept at buffer memory;
S32 loads described video file when playing described header file, continuation loads and play described video file after described header file of broadcast finished;
S33 after once described header file finished in loading, when playing other described video files of same audio special, obtains described header file in described buffer memory.
6. the method for batch dynamic load video head according to claim 1, it is characterized in that, the quantity of the described video file that same audio special is preserved is a plurality of, the corresponding described head ID of a plurality of described video ID that a plurality of described video files are corresponding, a plurality of described video files add described header file in batches.
CN201210313172.5A 2012-08-29 2012-08-29 Batch dynamic loading method for video titles Active CN102855909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210313172.5A CN102855909B (en) 2012-08-29 2012-08-29 Batch dynamic loading method for video titles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210313172.5A CN102855909B (en) 2012-08-29 2012-08-29 Batch dynamic loading method for video titles

Publications (2)

Publication Number Publication Date
CN102855909A true CN102855909A (en) 2013-01-02
CN102855909B CN102855909B (en) 2015-06-17

Family

ID=47402421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210313172.5A Active CN102855909B (en) 2012-08-29 2012-08-29 Batch dynamic loading method for video titles

Country Status (1)

Country Link
CN (1) CN102855909B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152620A (en) * 2013-02-27 2013-06-12 四三九九网络股份有限公司 Method and system for dynamically loading different on-line videos
CN103648021A (en) * 2013-12-24 2014-03-19 深圳国微技术有限公司 Method for playing network video files from USB storage device
CN103702180A (en) * 2014-01-14 2014-04-02 北京奇艺世纪科技有限公司 Media file playing method and device
CN103702182A (en) * 2014-01-14 2014-04-02 北京奇艺世纪科技有限公司 Video playing method and device
CN105516736A (en) * 2016-01-18 2016-04-20 腾讯科技(深圳)有限公司 Video file processing method and device
CN111726677A (en) * 2020-06-08 2020-09-29 腾讯科技(深圳)有限公司 Video playing method and device, computer storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060146734A1 (en) * 2005-01-04 2006-07-06 Nokia Corporation Method and system for low-delay video mixing
CN101046873A (en) * 2006-03-29 2007-10-03 腾讯科技(深圳)有限公司 Method and device for issuing network advertisement in network game

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060146734A1 (en) * 2005-01-04 2006-07-06 Nokia Corporation Method and system for low-delay video mixing
CN101046873A (en) * 2006-03-29 2007-10-03 腾讯科技(深圳)有限公司 Method and device for issuing network advertisement in network game

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152620A (en) * 2013-02-27 2013-06-12 四三九九网络股份有限公司 Method and system for dynamically loading different on-line videos
CN103152620B (en) * 2013-02-27 2016-05-11 四三九九网络股份有限公司 The method and system of the different Online Videos of dynamic load
CN103648021A (en) * 2013-12-24 2014-03-19 深圳国微技术有限公司 Method for playing network video files from USB storage device
CN103702180A (en) * 2014-01-14 2014-04-02 北京奇艺世纪科技有限公司 Media file playing method and device
CN103702182A (en) * 2014-01-14 2014-04-02 北京奇艺世纪科技有限公司 Video playing method and device
CN105516736A (en) * 2016-01-18 2016-04-20 腾讯科技(深圳)有限公司 Video file processing method and device
CN105516736B (en) * 2016-01-18 2020-07-28 腾讯科技(深圳)有限公司 Video file processing method and device
CN111726677A (en) * 2020-06-08 2020-09-29 腾讯科技(深圳)有限公司 Video playing method and device, computer storage medium and electronic equipment
CN111726677B (en) * 2020-06-08 2021-09-17 腾讯科技(深圳)有限公司 Video playing method and device, computer storage medium and electronic equipment

Also Published As

Publication number Publication date
CN102855909B (en) 2015-06-17

Similar Documents

Publication Publication Date Title
JP7230158B2 (en) Dynamic custom interstitial transition video for video streaming services
CN102855909B (en) Batch dynamic loading method for video titles
US11615131B2 (en) Method and system for storytelling on a computing device via social media
US9374411B1 (en) Content recommendations using deep data
TWI542204B (en) Multimedia comment system and multimedia comment method
Bohn et al. Info capacity| measuring consumer information
Jedlowski Small screen cinema: Informality and remediation in Nollywood
US20180084218A1 (en) Displaying content between loops of a looping media item
US12058388B2 (en) Event progress detection in media items
CN103984690A (en) Creating playlists
Xiaojuan Technology and culture in the digital era
Klug et al. Struggle for strategy. Presence, practices, and communicative strategies of legacy news providers on TikTok
Bottomley Quality TV and the branding of US network television: Marketing and promoting Friday Night Lights
CN102752525B (en) It is a kind of that the method and device for broadcasting list is created based on script
US9360983B1 (en) Systems and methods for newsroom management with electronic-publish-point integration
CN102835103A (en) Chapter creation device, chapter creation method, and chapter creation program
CN108632643A (en) A kind of method and system of video file transcoding
Einhorn Long Tail or Bottleneck: What's Next for Spotify?
US20150331869A1 (en) Method and system allowing users to easily contribute to a social composition
CN106851330A (en) A kind of online request based on web technology micro- class video gets player method ready
CN108235135A (en) A kind of method and system of automatic fitration advertisement editor video
Pintilii THE UNIFICATION OF PLATFORMS IN THE VIRTUAL ENVIRONMENT AND THE CITIZEN JOURNALISM
CN103313143B (en) Method and apparatus for generating logic material used for playing
Yusanto et al. Critical Discourse Analysis of Marginalization of Local Wisdom Content in Television Documentary Program
CN102737085B (en) A kind of method of competition data structure optimization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant