CN104185087A - Switching method based on different video streams of one video file - Google Patents

Switching method based on different video streams of one video file Download PDF

Info

Publication number
CN104185087A
CN104185087A CN201410408667.5A CN201410408667A CN104185087A CN 104185087 A CN104185087 A CN 104185087A CN 201410408667 A CN201410408667 A CN 201410408667A CN 104185087 A CN104185087 A CN 104185087A
Authority
CN
China
Prior art keywords
method based
transitions
transition
input source
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410408667.5A
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.)
Xiamen Meitu Technology Co Ltd
Original Assignee
Xiamen Meitu 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 Xiamen Meitu Technology Co Ltd filed Critical Xiamen Meitu Technology Co Ltd
Priority to CN201410408667.5A priority Critical patent/CN104185087A/en
Publication of CN104185087A publication Critical patent/CN104185087A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Circuits (AREA)

Abstract

The invention discloses a switching method based on different video streams of one video file. The switching method based on the different video streams of one video file comprises the steps that multiple video stream input sources, to be processed, related to scene changing are obtained after a development environment is started, the overall scene changing time, the scene changing effect and the playing order of the multiple video stream input sources are set according to a specific format, then the multiple video stream input sources to be processed are re-integrated and saved according to the setting, a user can rapidly complete complicated switching for scene changing simply by conducting scene changing setting according to a specific format, various switching effects for scene changing can be obtained by changing the setting, the content is richer, and the user experience is better.

Description

A kind of changing method based on between a video file different video stream
Technical field
The present invention relates to a kind of method for processing video frequency, particularly a kind of changing method based on between a video file different video stream.
Background technology
Transition, refers to transition or conversion between paragraph and paragraph, scene and scene.The method of transition is a lot, connected mode, can be divided into skill transition with without skill transition.Skill transition is usually used in the postproduction phase of film, TV play, for it adds specific effect, claims again transition special effective.Use transition special effective, not only can strengthen the artistic appeal of works, and bring a kind of logical coherent, smooth artistic effect visually to spectators.Although there are now many transitions, for domestic consumer, it is very difficult completing a complicated transition hand-off process.
Summary of the invention
The present invention, for addressing the above problem, provides a kind of based on making domestic consumer also can complete fast complicated transition hand-off process with the changing method between a video file different video stream by specific form is set.
For achieving the above object, the technical solution used in the present invention is:
Based on the changing method with between a video file different video stream, it is characterized in that, comprise the following steps:
10. start development environment, and obtain the related multiple pending video flowing input source of transition;
Transition total time, transitions and playing sequence thereof between multiple video flowing input sources described in 20. pairs arranges according to specific form;
30. reintegrate and preserve described multiple pending video flowing input source according to arranging in step 20.
Preferably, specific format in described step 20 mainly comprises: the hop count N of the total time of transition, the video flowing input source of transition, script corresponding to numbering, each transitions of the corresponding original position of N section video flowing input source, number M, a M transitions of transitions and adjustable name variable, the corresponding parameter value of the corresponding name variable of each transitions.
Preferably, the corresponding original position of described N section video flowing input source, mainly refers to the position that every section of video flowing input source starts, and according to the total time of transition intercepting end position, if end position deficiency, supplements with the image of last frame.
Preferably, the script that described each transitions is corresponding and adjustable name variable, comprise the hop count N of the video flowing input source of this script support, the numbering that this video flowing input source is corresponding, the effect numbering of this script output.
Preferably, the corresponding parameter value of the corresponding name variable of described each transitions, comprises the parameter value of corresponding adjustable variable in script and the Changing Pattern of this parameter value.
Preferably, the Changing Pattern of described parameter value comprises: linear change, acceleration change, deceleration changes, irregular variation.
Preferably, described development environment comprises OpenGL environment or OpenGL-ES environment or DirectX environment, is mainly to utilize GPU to play up, and uses script to carry out the design and development of effect.
The invention has the beneficial effects as follows:
A kind of changing method based on between a video file different video stream of the present invention, it obtains multiple pending video flowing input sources after startup development environment, and to the transition total time between described multiple video flowing input sources, transitions and playing sequence thereof arrange according to specific form, then arrange described multiple pending video flowing input source is reintegrated and preserved according to this, user can complete complicated transition hand-off process fast by only needing to carry out transition setting according to specific form, and can obtain various transition switching effect by change setting, content is abundanter, user experiences better.
Brief description of the drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the general flow chart of a kind of changing method based on between a video file different video stream of the present invention.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearer, clear, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, a kind of changing method based on between a video file different video stream of the present invention, it comprises the following steps:
10. start development environment, and obtain the related multiple pending video flowing input source of transition;
Transition total time, transitions and playing sequence thereof between multiple video flowing input sources described in 20. pairs arranges according to specific form;
30. reintegrate and preserve described multiple pending video flowing input source according to arranging in step 20.
Development environment in described step 10 comprises OpenGL environment or OpenGL-ES environment or DirectX environment, is mainly to utilize GPU to play up, and uses script to carry out the design and development of effect.
Specific format in described step 20 mainly comprises: the hop count N of the total time of transition, the video flowing input source of transition, script corresponding to numbering, each transitions of the corresponding original position of N section video flowing input source, number M, a M transitions of transitions and adjustable name variable, the corresponding parameter value of the corresponding name variable of each transitions.Can above-mentioned parameter be increased or be reduced according to actual needs.
Represent the total length of time that this transition special effective uses the total time of the transition described in above-mentioned specific format, represent with frame number here, also can represent with second; The number N of the video flowing input source of described transition, represents that total total N section video flowing participates in this transition special effective; The number M of transitions represents that the special efficacy script number that this transition special effective uses is total to M.The effect numbering of M transition represents that effect is numbered the already present special efficacy script numbering of system, belong to most basic script, such as convergent-divergent, fuzzy, displacement, cutting etc., if the script of this special efficacy does not exist in system, start to represent this numbering with-1, and numbering deducts 1 successively, and encloses the corresponding script of each numbering, and adjustable name variable in script.
The corresponding original position of above-mentioned N section video flowing input source, mainly refers to the position that every section of video flowing input source starts, and according to the total time of transition intercepting end position, if end position deficiency is supplemented with the image of last frame.The script that above-mentioned each transitions of stating is corresponding and adjustable name variable, comprise the hop count N of the video flowing input source of this script support, the numbering that this video flowing input source is corresponding, the effect numbering of this script output.The corresponding parameter value of the corresponding name variable of above-mentioned each transitions, comprises the parameter value of corresponding adjustable variable in script, and the Changing Pattern of this parameter value, comprising: linear change, accelerate to change, slow down change, irregular variation.
Adopt changing method of the present invention, user is by reading default specific format, and be ready to all pending video flowing input sources, only need and load in order the required all effect scripts of transition according to this specific format carries out transition setting and can complete fast complicated transition hand-off process, system is obtained corresponding effect script and parameter to each two field picture by the order of transitions, and carries out playing up of transitions; The effect of having played up all transition frames represents that transition finishes, and user also can obtain various transition by change setting and switch effect, and content is abundanter, and user experiences better.Method of the present invention is not only applicable to software developer's development and Design, and can offer third party even domestic consumer adopt said method to design various transition to switch effect.
Above-mentioned explanation illustrates and has described the preferred embodiments of the present invention, be to be understood that the present invention is not limited to disclosed form herein, should not regard the eliminating to other embodiment as, and can be used for various other combinations, amendment and environment, and can, in invention contemplated scope herein, change by technology or the knowledge of above-mentioned instruction or association area.And the change that those skilled in the art carry out and variation do not depart from the spirit and scope of the present invention, all should be in the protection range of claims of the present invention.

Claims (7)

1. the changing method based on between a video file different video stream, is characterized in that, comprises the following steps:
10. start development environment, and obtain the related multiple pending video flowing input source of transition;
Transition total time, transitions and playing sequence thereof between multiple video flowing input sources described in 20. pairs arranges according to specific form;
30. reintegrate and preserve described multiple pending video flowing input source according to arranging in step 20.
2. a kind of changing method based on between a video file different video stream according to claim 1, it is characterized in that: the specific format in described step 20 mainly comprises: the hop count N of the total time of transition, the video flowing input source of transition, script corresponding to numbering, each transitions of the corresponding original position of N section video flowing input source, number M, a M transitions of transitions and adjustable name variable, the corresponding parameter value of the corresponding name variable of each transitions.
3. a kind of changing method based on between a video file different video stream according to claim 2, it is characterized in that: the corresponding original position of described N section video flowing input source, mainly refer to the position that every section of video flowing input source starts, and according to the total time of transition intercepting end position, if end position deficiency, supplements with the image of last frame.
4. a kind of changing method based on between a video file different video stream according to claim 2, it is characterized in that: the script that described each transitions is corresponding and adjustable name variable, comprise the hop count N of the video flowing input source of this script support, the numbering that this video flowing input source is corresponding, the effect numbering of this script output.
5. a kind of changing method based on between a video file different video stream according to claim 2, it is characterized in that: the described corresponding parameter value of the corresponding name variable of each transitions, comprise the parameter value of corresponding adjustable variable in script, and the Changing Pattern of this parameter value.
6. a kind of changing method based on between individual video file different video stream according to claim 5, is characterized in that: the Changing Pattern of described parameter value comprises: linear change, acceleration variation, slow down variation, irregular variation.
7. a kind of changing method based on between a video file different video stream according to claim 1, it is characterized in that: described development environment comprises OpenGL environment or OpenGL-ES environment or DirectX environment, be mainly to utilize GPU to play up, and use script to carry out the design and development of effect.
CN201410408667.5A 2014-08-19 2014-08-19 Switching method based on different video streams of one video file Pending CN104185087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410408667.5A CN104185087A (en) 2014-08-19 2014-08-19 Switching method based on different video streams of one video file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410408667.5A CN104185087A (en) 2014-08-19 2014-08-19 Switching method based on different video streams of one video file

Publications (1)

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

Family

ID=51965773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410408667.5A Pending CN104185087A (en) 2014-08-19 2014-08-19 Switching method based on different video streams of one video file

Country Status (1)

Country Link
CN (1) CN104185087A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980794A (en) * 2015-06-30 2015-10-14 北京金山安全软件有限公司 Video splicing method and device
CN105657494A (en) * 2015-12-31 2016-06-08 北京小鸟看看科技有限公司 Virtual cinema and implementation method thereof
CN105933620A (en) * 2016-04-21 2016-09-07 深圳市创凯智能股份有限公司 Video signal switching method and equipment
CN112312201A (en) * 2020-04-09 2021-02-02 北京沃东天骏信息技术有限公司 Method, system, device and storage medium for video transition

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101283581A (en) * 2005-10-14 2008-10-08 微软公司 Photo and video collage effects
CN102724423A (en) * 2011-09-30 2012-10-10 新奥特(北京)视频技术有限公司 Method and apparatus for material segmentation processing
US20130129304A1 (en) * 2011-11-22 2013-05-23 Roy Feinson Variable 3-d surround video playback with virtual panning and smooth transition
CN103347155A (en) * 2013-06-18 2013-10-09 北京汉博信息技术有限公司 Transition special effect module and method for achieving switching of different transition effects of two video streams
CN103853562A (en) * 2014-03-26 2014-06-11 北京奇艺世纪科技有限公司 Video frame rendering method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101283581A (en) * 2005-10-14 2008-10-08 微软公司 Photo and video collage effects
CN102724423A (en) * 2011-09-30 2012-10-10 新奥特(北京)视频技术有限公司 Method and apparatus for material segmentation processing
US20130129304A1 (en) * 2011-11-22 2013-05-23 Roy Feinson Variable 3-d surround video playback with virtual panning and smooth transition
CN103347155A (en) * 2013-06-18 2013-10-09 北京汉博信息技术有限公司 Transition special effect module and method for achieving switching of different transition effects of two video streams
CN103853562A (en) * 2014-03-26 2014-06-11 北京奇艺世纪科技有限公司 Video frame rendering method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
互联网: "如何在会声会影中添加转场", 《飞翔下载》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980794A (en) * 2015-06-30 2015-10-14 北京金山安全软件有限公司 Video splicing method and device
CN105657494A (en) * 2015-12-31 2016-06-08 北京小鸟看看科技有限公司 Virtual cinema and implementation method thereof
CN105657494B (en) * 2015-12-31 2018-12-25 北京小鸟看看科技有限公司 A kind of virtual theater and its implementation
US10362283B2 (en) 2015-12-31 2019-07-23 Beijing Pico Technology Co., Ltd. Virtual cinema and implementation method thereof
CN105933620A (en) * 2016-04-21 2016-09-07 深圳市创凯智能股份有限公司 Video signal switching method and equipment
CN112312201A (en) * 2020-04-09 2021-02-02 北京沃东天骏信息技术有限公司 Method, system, device and storage medium for video transition
CN112312201B (en) * 2020-04-09 2023-04-07 北京沃东天骏信息技术有限公司 Method, system, device and storage medium for video transition

Similar Documents

Publication Publication Date Title
US10930318B2 (en) Gapless video looping
CN104185087A (en) Switching method based on different video streams of one video file
CN104410918A (en) Method and device for adjusting parameters of live video
CN104244087B (en) A kind of method and apparatus of Video Rendering
CN104492082A (en) Method and device for dynamic display of player images
CN104394331A (en) Video processing method for adding matching sound effect in video picture
CN104517307A (en) Method and device for animation producing
CN104504447A (en) Method and device for distributing virtual seat images
CN105430471A (en) Method and device for displaying live commenting in video
CN105138216A (en) Method and apparatus for displaying audience interaction information on virtual seats
CN105589816A (en) Method for making and playing compiled type scene interactive animation
CN106162296A (en) A kind of method and system playing barrage
Shin et al. Realistic media authoring tool based on MPEG-V international standard
CN108876866B (en) Media data processing method, device and storage medium
CN102572297B (en) Efficient high-quality video special effect rendering method
CN104954892B (en) A kind of method and device showing video subject content
CN106651998B (en) Animation playing speed adjusting method and device based on Canvas
CN104168501A (en) Method for video playback of mobile terminal
US9396573B2 (en) Image generating device, image generating method, and information storage medium
US9077993B2 (en) Method of converting a video file to a graphics interchange format image using same palette table for consecutive frames
CN101771837A (en) Method for realizing 2.5D menu as well as device and television therefor
KR102146557B1 (en) Method and apparatus for rendering data of web application and recording medium thereof
CN108614829A (en) A kind of playback method and terminal
CN103927184A (en) Optimization method and device for rendering on same screen
CN102685087B (en) Adjustable chair system interactive with movie content and application thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141203

WD01 Invention patent application deemed withdrawn after publication