WO2022083223A1 - 一种动画视频导出的优化方法和装置 - Google Patents

一种动画视频导出的优化方法和装置 Download PDF

Info

Publication number
WO2022083223A1
WO2022083223A1 PCT/CN2021/110293 CN2021110293W WO2022083223A1 WO 2022083223 A1 WO2022083223 A1 WO 2022083223A1 CN 2021110293 W CN2021110293 W CN 2021110293W WO 2022083223 A1 WO2022083223 A1 WO 2022083223A1
Authority
WO
WIPO (PCT)
Prior art keywords
animation
video
scene
image frame
static
Prior art date
Application number
PCT/CN2021/110293
Other languages
English (en)
French (fr)
Inventor
邵猛
魏博
Original Assignee
深圳市前海手绘科技文化有限公司
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 深圳市前海手绘科技文化有限公司 filed Critical 深圳市前海手绘科技文化有限公司
Publication of WO2022083223A1 publication Critical patent/WO2022083223A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Definitions

  • the invention belongs to the technical field of animation video export, and in particular relates to an optimization method and device for animation video export.
  • Existing animation videos generally include three types, static elements, animation elements or elements that combine motion and stillness.
  • the main method is that in the animation video production process, it is edited and produced, and finally exported as an animation video file for download and use.
  • the most commonly used method is to play the animation video, intercept and store image frames according to the specified video frame rate, and then synthesize them into video files through the sequence of image frames. That is, the types in the animation video are not distinguished, and all are directly exported in the way of including animation elements.
  • This creation method has the following technical problems: because the image frame captured each time is a complete image frame and the screenshot range is large, the screenshot efficiency is relatively low, and the memory and CPU usage of the machine equipment exported by the user is also very high. Performance is not good enough, not stable enough.
  • the present invention provides an optimization method for animation video export, comprising the steps:
  • For an animation element intercept its animation image frame and reuse the image frame configuration of the previous frame of the animation image frame.
  • an optimization device for exporting animation video including:
  • the read module reads the basic configuration of the animation video file to obtain the scene page;
  • Recognition module to identify animation elements and static elements of scene pages
  • the static element processing module reuses the image frame configuration of the previous frame of static elements for static elements
  • the dynamic element processing module intercepts the animation image frame of the animation element, and reuses the image frame configuration of the previous frame of the animation image frame.
  • the basic configuration of the animation video file includes resolution, animation video duration, frame rate, and scene information.
  • the way of reading the animation video file is to process each scene in parallel with different animation video export processes, so as to obtain the scene page.
  • the scene page contains three types of elements: pure static elements, pure animation elements, and elements combined with static and animation.
  • the existing video export technology does not contain an identification module, that is to say, the static element and the animation element in the animation video file are not distinguished.
  • the computer default animation video contains animation elements, and the image frame captured each time is a complete image frame.
  • the present invention improves the performance and efficiency of video export and reduces the performance occupation of machinery and equipment by identifying static elements and animation elements in animation video files, and performing different export processing methods for different element types.
  • the video exporting work can be completed more efficiently, and the configuration requirements for the machine equipment are also lower.
  • the steps of reading the basic configuration of the animation video file to obtain the scene page include: loading the animation video file.
  • the present invention provides an optimization device for animation video export, further comprising:
  • Load module load animation video file.
  • the present invention provides an optimization method for animation video export, further comprising the steps of:
  • an optimization device for exporting animation video including:
  • the sorting module judges the scene order of the scene pages after the animation element and the static element image frame processing, and sorts the scene pages according to the scene order;
  • Merge module which merges the sorted scene pages to form an animation project video.
  • sequence of the scene pages may be a temporal sequence, a spatial sequence, a logical sequence, and the like.
  • scene page is an independent unit, and each scene page contains dynamic elements, static elements, or elements combining dynamic and static elements.
  • the present invention sorts and synthesizes the scene sequence of the scene page after the animation element and the static element image frame processing, and finally realizes the export processing of the animation project video.
  • the present invention provides an optimization method for animation video export, further comprising the steps of:
  • Get the music file insert the music file into the animation project video to form the video.
  • the present invention provides an optimized device for exporting animation video, including:
  • Music insert module get the music files, insert the music files into the animation project video to form the video.
  • the present invention inserts music files into the animation project video, realizes the audio insertion into the animation project video, and enriches the content of the animation project video.
  • the present invention provides an optimization method for animation video export, comprising the steps of:
  • For the animation element intercept its animation image frame, and reuse the image frame configuration of the previous frame of the animation image frame;
  • a music file is obtained and inserted into the animation item video to form a video.
  • the present invention provides an optimization device for animation video export, including:
  • Load module load animation video file
  • a reading module that reads the basic configuration of the animation video file to obtain a scene page
  • an identification module to identify the animation elements and static elements of the scene page
  • a static element processing module for the static element, multiplexing the image frame configuration of the static element of the previous frame
  • the dynamic element processing module intercepts the animation image frame of the animation element, and reuses the image frame configuration of the previous frame of the animation image frame;
  • a sorting module which sorts the scene pages according to the scene sequence
  • Merging module merging the sorted scene pages to form an animation project video
  • the music insertion module obtains music files, and inserts the music files into the animation project video to form a video.
  • An electronic device includes a memory and a processor, the memory stores a computer program, and the computer program is executed in the processor to implement any of the above methods.
  • a storage medium storing a computer program, the computer program being executed in a processor can implement any of the above methods.
  • the present invention performs different export processing methods for different element types, wherein, for the static elements, the image frame configuration of the previous frame of static elements is reused; For the animation image frame, the image frame configuration of the previous frame of the animation image frame is multiplexed.
  • the performance and efficiency of video export are improved, and the performance occupation of machines and equipment is reduced.
  • the video exporting work can be completed more efficiently, and the configuration requirements for the machine equipment are also lower.
  • FIG. 1 is a flowchart of an optimization method for animation video export provided by an embodiment
  • FIG. 2 is a module structure diagram of an optimization apparatus for exporting animation video provided by an embodiment.
  • the term “storage medium” may be various media that can store computer programs, such as ROM, RAM, magnetic disk or optical disk.
  • the term "processor” can be CPLD (Complex Programmable Logic Device: Complex Programmable Logic Device), FPGA (Field-Programmable Gate Array: Field Programmable Gate Array), MCU (Microcontroller Unit: Micro Control Unit), PLC (Programmable Logic) Controller: programmable logic controller) and CPU (Central Processing Unit: central processing unit) and other chips or circuits with data processing functions.
  • electronic device may be any device with data processing and storage functions, and may generally include both stationary and mobile terminals. Fixed terminals such as desktops, etc. Mobile terminals such as mobile phones, PADs and mobile robots. In addition, the technical features involved in the different embodiments of the present invention described later can be combined with each other as long as there is no conflict with each other.
  • an optimization method for animation video export including steps:
  • the present embodiment provides an optimization device for exporting animation video, including:
  • Read module 1 read the basic configuration of the animation video file to obtain the scene page;
  • Identifying module 2 identifying the animation elements and static elements of the scene page
  • the static element processing module 3-1 for the static element, multiplexes the image frame configuration of the static element of the previous frame;
  • the dynamic element processing module 3-2 intercepts the animation image frame of the animation element, and reuses the image frame configuration of the previous frame of the animation image frame.
  • the present invention improves the performance and efficiency of video export and reduces the performance occupation of machinery and equipment by identifying static elements and animation elements in animation video files, and performing different export processing methods for different element types. Through the present invention, the video exporting work can be completed more efficiently, and the configuration requirements for the machine equipment are also lower.
  • an animation video file includes resolution, animation video duration, frame rate, and scene information.
  • the scene information of the animation video file is read.
  • the scene page contains three types of elements: pure static elements, pure animation elements, and elements combining static and animation.
  • the existing video export technology does not contain an identification module, that is to say, the static elements and animation elements in the animation video file are not distinguished.
  • the computer default animation video contains animation elements, and the image frame captured each time is a complete image frame.
  • the order of the scene pages can be various, and can be based on a chronological order, a logical order of the development of things, a spatial order, and other orders.
  • step S1 and step S2 are creatively combined into an integral technical means that cannot be separated, and are used for identifying and judging the type of the scene page.
  • step S1 obtains the scene page by reading the basic configuration of the animation video file, and then judges the type of the scene page, so as to optimize the subsequent export work.
  • For the pure static scene page and the scene page containing animation respectively Perform different export processing, improve the performance and efficiency of video export, and reduce the performance occupancy of equipment.
  • step S2 is a more critical step in the entire invention.
  • step S1 and step S2 jointly make preliminary preparations for the export processing of the scene page, so as to realize the optimized export processing of the scene page.
  • step S2 and step S3 are creatively combined into an integral technical means that cannot be separated, wherein step S2 identifies the animation elements and static elements of the scene page; step S3-1 reuses the static elements of the previous frame. Image frame configuration of the element; step S3-2 for the animation element, intercepting its animation image frame, and multiplexing the image frame configuration of the previous frame of the animation image frame. It realizes the optimized export processing of different types of scene pages, thereby improving the video export performance and efficiency, and reducing the performance occupation of machines and equipment. By means of the present invention, the video exporting work can be completed more efficiently, and the configuration requirements for the machine equipment are also lower.
  • step S1, step S2, and step S3 are creatively combined into integral technical means that cannot be separated.
  • static elements the image frame configuration of the previous static element is multiplexed; for animation elements, its animation image frame is intercepted, and the image frame configuration of the previous frame of the animation image frame is multiplexed.
  • the performance and efficiency of video export are improved, and the performance occupation of machines and equipment is reduced.
  • the video exporting work can be completed more efficiently, and the configuration requirements for machines and equipment are also lower.
  • step S1 it further includes:
  • Load module 0, load the animation video file
  • step S3-1 and step S3-2 it further includes:
  • Sorting module 4 judges the scene order of the scene page after the animation element and the static element image frame processing, and sorts the scene page according to the scene order;
  • Merging module 5 merging the sorted scene pages to form an animation project video.
  • sequence of the scene pages may be a temporal sequence, a spatial sequence, a logical sequence, and the like.
  • scene page is an independent unit, and each scene page contains dynamic elements, static elements, or elements combining dynamic and static elements.
  • step S5 it also includes:
  • the music insertion module 6 obtains music files, and inserts the music files into the animation project video to form a video.
  • An optimization method for animation video export comprising steps:
  • For the animation element intercept its animation image frame, and reuse the image frame configuration of the previous frame of the animation image frame;
  • a music file is obtained and inserted into the animation item video to form a video.
  • An optimization device for animation video export comprising:
  • Load module load animation video file
  • a reading module that reads the basic configuration of the animation video file to obtain a scene page
  • an identification module to identify the animation elements and static elements of the scene page
  • a static element processing module for the static element, multiplexing the image frame configuration of the static element of the previous frame
  • the dynamic element processing module intercepts the animation image frame of the animation element, and reuses the image frame configuration of the previous frame of the animation image frame;
  • a sorting module which sorts the scene pages according to the scene sequence
  • Merging module merging the sorted scene pages to form an animation project video
  • the music insertion module obtains music files, and inserts the music files into the animation item video to form a video.
  • An electronic device includes a memory and a processor, the memory stores a computer program, and the computer program is executed in the processor to implement the above method.
  • a storage medium storing a computer program, the computer program being executed in a processor can implement any of the above methods.
  • the present invention performs different export processing methods for different element types, wherein, for the static elements, the image frame configuration of the previous frame of static elements is reused; For the animation image frame, the image frame configuration of the previous frame of the animation image frame is multiplexed.
  • the video export performance and efficiency are improved, and the performance occupancy of the machine equipment is reduced.
  • the video exporting work can be completed more efficiently, and the configuration requirements for machines and equipment are also lower.

Abstract

本发明是一种动画视频导出的优化方法,通过识别动画视频文件中的静态元素和动画元素,针对不同的元素类型进行不同的导出处理方式,其中对静态元素,复用上一帧静态元素的图像帧配置;对动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置。提高了视频导出性能和效率,降低了对机器设备的性能占用。通过本发明,可以更高效的完成视频导出工作,对机器设备的配置要求也更低。

Description

一种动画视频导出的优化方法和装置 技术领域
本发明属于动画视频的导出技术领域,尤其涉及一种动画视频导出的优化方法和装置。
背景技术
现有的动画视频一般包括三种类型,静态元素、动画元素或者动静结合的元素。目前动画视频的导出技术中,主要采用的方法是在动画视频制作过程中,经过编辑制作,最后导出为动画视频文件,用于下载使用。目前最常用的手法是通过播放动画视频并按照指定视频帧率截取和存储图像帧,再通过图像帧序列合成为视频文件。即不对动画视频中的类型进行区分,直接全部按照包含动画元素的方式进行导出处理。
这种创作方式都存在如下技术问题:由于每次截取的图像帧都是完整的图像帧,截图范围大,所以截图效率比较低,对用户导出的机器设备内存和CPU占用也非常高,导出的性能不够好,不够稳定。
发明内容
为解决上述技术问题,本发明提供一种动画视频导出的优化方法,包括步骤:
读取动画视频文件的基础配置,以获取场景页;
识别场景页的动画元素和静态元素;
对静态元素,复用上一帧静态元素的图像帧配置;
对动画元素,截取其动画图像帧,复用动画图像帧上一帧的图像 帧配置。
对应的,本发明提供一种动画视频导出的优化装置,包括:
读取模块,读取动画视频文件的基础配置,以获取场景页;
识别模块,识别场景页的动画元素和静态元素;
静态元素处理模块,对静态元素,复用上一帧静态元素的图像帧配置;
动态元素处理模块,对动画元素,截取其动画图像帧,复用动画图像帧上一帧的图像帧配置。
具体的,动画视频文件的基础配置包括分辨率、动画视频时长、帧率和场景信息。
具体的,读取动画视频文件的方式是把每个场景分别以不同的动画视频导出进程进行并行处理,从而获得场景页。
具体的,场景页中含有三种元素类型:纯静态元素,纯动画元素,静态和动画结合的元素。
需要说明的是,在现有的视频导出技术中是不含有识别模块的,也就是说不对动画视频文件中的静态元素和动画元素进行区分。此时,计算机默认动画视频均含有动画元素,每次截取的图像帧都是完整的图像帧。
技术效果说明:本发明通过识别动画视频文件中的静态元素和动画元素,针对不同的元素类型进行不同的导出处理方式,提高了视频导出性能和效率,降低了对机器设备的性能占用。通过本发明,可以更高效的完成视频导出工作,对机器设备的配置要求也更低。
具体的,读取动画视频文件的基础配置,以获取场景页的步骤之前包括:加载动画视频文件。
对应的,本发明提供一种动画视频导出的优化装置,还包括:
加载模块,加载动画视频文件。
技术效果说明:通过加载动画视频文件,为读取动画视频文件的基础配置提供先行条件。
具体的,本发明提供一种动画视频导出的优化方法,还包括步骤:
判断经过动画元素和静态元素图像帧处理之后的场景页的场景顺序,根据场景顺序对场景页进行排序;
合并排序后的场景页以形成动画项目视频。
对应的,本发明提供一种动画视频导出的优化装置,包括:
排序模块,判断经过动画元素和静态元素图像帧处理之后的场景页的场景顺序,根据场景顺序对场景页进行排序;
合并模块,合并排序后的场景页以形成动画项目视频。
需要说明的是,场景页的顺序可以是时间顺序,空间顺序,逻辑顺序等。
需要说明的是,场景页是独立的单元,每一个场景页中含有动态元素、静态元素或者动静结合的元素。
技术效果说明:本发明对经过动画元素和静态元素图像帧处理之后的场景页的场景顺序进行排序和合成,最终实现动画项目视频的导出处理。
具体的,本发明提供一种动画视频导出的优化方法,还包括步骤:
获取音乐文件,将音乐文件插入动画项目视频以形成视频。
对应的,本发明提供一种动画视频导出的优化的装置,包括:
音乐插入模块,获取音乐文件,将音乐文件插入动画项目视频以形成视频。
需要说明的是,对于动画项目视频,通常需要插入音乐文件。
技术效果说明:本发明对动画项目视频中插入音乐文件,实现对 动画项目视频的音频插入,丰富了动画项目视频的内容。
具体的,本发明提供一种动画视频导出的优化方法,包括步骤:
加载动画视频文件;
读取所述动画视频文件的基础配置,获取所述动画视频文件对应的场景页;
识别所述场景页的动画元素和静态元素;
对所述静态元素,复用上一帧静态元素的图像帧配置;
对所述动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置;
根据所述场景顺序对所述场景页进行排序;
合并所述排序后的场景页以形成动画项目视频;
获取音乐文件,将所述音乐文件插入所述动画项目视频以形成视频。
具体的,本发明提供一种动画视频导出的优化装置,包括:
加载模块,加载动画视频文件;
读取模块,读取所述动画视频文件的基础配置,以获取场景页;
识别模块,识别所述场景页的动画元素和静态元素;
静态元素处理模块,对所述静态元素,复用上一帧静态元素的图像帧配置;
动态元素处理模块,对所述动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置;
排序模块,根据所述场景顺序对所述场景页进行排序;
合并模块,合并所述排序后的场景页以形成动画项目视频;
音乐插入模块,获取音乐文件,将所述音乐文件插入所述动画项目视频以形成视频。
一种电子设备,包括存储器和处理器,存储器存储计算机程序,计算机程序在处理器中执行可实现上述任一种方法。
一种存储介质,存储计算机程序,计算机程序在处理器中执行可实现上述任一种方法。
本发明通过识别动画视频文件中的静态元素和动画元素,针对不同的元素类型进行不同的导出处理方式,其中对静态元素,复用上一帧静态元素的图像帧配置;对动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置。提高了视频导出性能和效率,降低了对机器设备的性能占用。通过本发明,可以更高效的完成视频导出工作,对机器设备的配置要求也更低。
附图说明
图1为一实施例提供的一种动画视频导出的优化方法的流程图;
图2为一实施例提供的一种动画视频导出的优化装置的模块架构图。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,在本发明的描述中,除非另有明确的规定和限定,术语“存储介质”可以是ROM、RAM、磁碟或者光盘等各种可以存储计算机程序的介质。术语“处理器”可以是CPLD(Complex Programmable Logic Device:复杂可编程逻辑器件)、FPGA(Field-Programmable Gate Array:现场可编程门阵列)、MCU(Microcontroller Unit:微控制单元)、PLC(Programmable Logic Controller:可编程逻辑控制器)以及CPU(Central Processing Unit:中央处理器)等具备数据处理功能的芯片 或电路。术语“电子设备”可以是具有数据处理功能和存储功能的任何设备,通常可以包括固定终端和移动终端。固定终端如台式机等。移动终端如手机、PAD以及移动机器人等。此外,后续所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
下面,本发明提出部分优选实施例以教导本领域技术人员实现。
实施例一
参见图1,一种动画视频导出的优化方法,包括步骤:
S1、读取动画视频文件的基础配置,以获取场景页;
S2、识别场景页的动画元素和静态元素;
S3-1、对静态元素,复用上一帧静态元素的图像帧配置;
S3-2、对动画元素,截取其动画图像帧,复用动画图像帧上一帧的图像帧配置。
实施例二
参见图2,对应的,本实施例提供一种动画视频导出的优化装置,包括:
读取模块1,读取动画视频文件的基础配置,以获取场景页;
识别模块2,识别场景页的动画元素和静态元素;
静态元素处理模块3-1,对静态元素,复用上一帧静态元素的图像帧配置;
动态元素处理模块3-2,对动画元素,截取其动画图像帧,复用动画图像帧上一帧的图像帧配置。
技术效果说明:本发明通过识别动画视频文件中的静态元素和动画元素,针对不同的元素类型进行不同的导出处理方式,提高了视频导出性能和效率,降低了对机器设备的性能占用。通过本发明,可以 更高效的完成视频导出工作,对机器设备的配置要求也更低。
需要说明的是,在本领域的技术人员而言,动画视频文件的基础配置包括分辨率、动画视频时长、帧率和场景信息。
在本实施例中是读取动画视频文件的场景信息。
本实施例中的场景信息中,场景页中含有三种元素类型:纯静态元素,纯动画元素,静态和动画结合的元素。
需要说明的是,在现有的视频导出技术中是不含有识别模块的,也就是说不对动画视频文件中的静态元素和动画元素进行区分。此时,计算机默认动画视频均含有动画元素,每次截取的图像帧都是完整的图像帧。
场景页的顺序可以是多种多样的,可以是根据时间顺序、事情发展逻辑顺序、空间顺序等多种顺序。
还需要说明的是,步骤S1和步骤S2创造性地组合为不可分割的整体技术手段,用于对场景页的类型进行识别和判断。其中,步骤S1通过读取动画视频文件的基础配置,以获取场景页,然后对场景页的类型进行判断,从而对后续的导出工作进行优化,对于纯静态的场景页和含有动画的场景页分别进行不同的导出处理,提高了视频导出性能和效率,降低了对机器设备的性能占用。
还需要说明的是,步骤S2是整个发明中比较关键的一个步骤,通过对场景页进行播放,然后对场景页的类型进行判断,主要是判断场景页中纯静态元素,含有动画的元素,从而为后续针对不同场景页进行不同的导出处理打下坚实基础和铺垫。因此,步骤S1和步骤S2共同为场景页的导出处理做好前期准备,从而实现对场景页的优化导出处理。
还需要说明的是,步骤S2和步骤S3创造性地组合为不可分割的 整体技术手段,其中,步骤S2识别场景页的动画元素和静态元素;步骤S3-1对静态元素,复用上一帧静态元素的图像帧配置;步骤S3-2对动画元素,截取其动画图像帧,复用动画图像帧上一帧的图像帧配置。实现对不同类型场景页的优化导出处理,从而提高了视频导出性能和效率,降低了对机器设备的性能占用。通过本发明,可以更高效的完成视频导出工作,对机器设备的配置要求也更低。
还需要说明的是,步骤S1、步骤S2、步骤S3创造性地组合为不可分割的整体技术手段,通过识别动画视频文件中的静态元素和动画元素,针对不同的元素类型进行不同的导出处理方式,其中对静态元素,复用上一帧静态元素的图像帧配置;对动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置。提高了视频导出性能和效率,降低了对机器设备的性能占用。通过本发明,可以更高效的完成视频导出工作,对机器设备的配置要求也更低。
实施例三
参见图1,具体的,步骤S1之前还包括:
S0、加载动画视频文件。
实施例四
参见图2,对应的,还包括:
加载模块0,加载动画视频文件;
技术效果说明:通过对加载动画视频项目文件,为读取项目文件基础配置提供前置条件。
实施例五
参见图1,具体的,步骤S3-1和步骤S3-2之后还包括:
S4、判断经过所述动画元素和所述静态元素图像帧处理之后的所述场景页的场景顺序,根据所述场景顺序对所述场景页进行排序;
S5、合并所述排序后的场景页以形成动画项目视频。
实施例六
参见图2,对应的,还包括:
排序模块4,判断经过所述动画元素和所述静态元素图像帧处理之后的所述场景页的场景顺序,根据所述场景顺序对所述场景页进行排序;
合并模块5,合并所述排序后的场景页以形成动画项目视频。
需要说明的是,场景页的顺序可以是时间顺序,空间顺序,逻辑顺序等。
需要说明的是,场景页是独立的单元,每一个场景页中含有动态元素、静态元素或者动静结合的元素。
技术效果说明:通过对经过动画元素和静态元素图像帧处理之后的场景页的场景顺序进行排序和合成,最终实现动画项目视频的导出处理。
实施例七
参见图1,步骤S5之后还包括:
S6、获取音乐文件,将音乐文件插入动画项目视频以形成视频;
实施例八
参见图2,对应的,还包括:
音乐插入模块6,获取音乐文件,将音乐文件插入动画项目视频以形成视频。
技术效果说明:需要说明的是,对于动画项目视频,通常均需要插入音乐文件以丰富动画项目视频的内容。本发明对动画项目视频中插入音乐文件,实现对动画项目视频的音频插入,丰富了动画项目视频的内容。
实施例九
一种动画视频导出的优化方法,包括步骤:
加载动画视频文件;
读取所述动画视频文件的基础配置,获取所述动画视频文件对应的场景页;
识别所述场景页的动画元素和静态元素;
对所述静态元素,复用上一帧静态元素的图像帧配置;
对所述动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置;
根据所述场景顺序对所述场景页进行排序;
合并所述排序后的场景页以形成动画项目视频;
获取音乐文件,将所述音乐文件插入所述动画项目视频以形成视频。
实施例十
一种动画视频导出的优化装置,包括:
加载模块,加载动画视频文件;
读取模块,读取所述动画视频文件的基础配置,以获取场景页;
识别模块,识别所述场景页的动画元素和静态元素;
静态元素处理模块,对所述静态元素,复用上一帧静态元素的图像帧配置;
动态元素处理模块,对所述动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置;
排序模块,根据所述场景顺序对所述场景页进行排序;
合并模块,合并所述排序后的场景页以形成动画项目视频;
音乐插入模块,获取音乐文件,将所述音乐文件插入所述动画项 目视频以形成视频。
需要说明的是,本公开实施例九和实施例十的有益效果可以参考前述实施例的有益效果,本公开实施例在此不再赘述。
一种电子设备,包括存储器和处理器,存储器存储计算机程序,计算机程序在处理器中执行可实现上述一种方法。
一种存储介质,存储计算机程序,计算机程序在处理器中执行可实现上述任一种方法。
本发明通过识别动画视频文件中的静态元素和动画元素,针对不同的元素类型进行不同的导出处理方式,其中对静态元素,复用上一帧静态元素的图像帧配置;对动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置。提高了视频导出性能和效率,降低了对机器设备的性能占用。通过本发明,可以更高效的完成视频导出工作,对机器设备的配置要求也更低。
以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。

Claims (12)

  1. 一种动画视频导出的优化方法,其特征在于,包括步骤:
    读取动画视频文件的基础配置,以获取场景页;
    识别所述场景页的动画元素和静态元素;
    对所述静态元素,复用上一帧静态元素的图像帧配置;
    对所述动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置。
  2. 如权利要求1所述的方法,其特征在于,所述的读取动画视频文件的基础配置,以获取场景页的步骤之前包括:
    加载所述动画视频文件。
  3. 如权利要求1所述的方法,其特征在于,还包括:
    判断经过所述动画元素和所述静态元素图像帧处理之后的所述场景页的场景顺序,根据所述场景顺序对所述场景页进行排序;
    合并所述排序后的场景页以形成动画项目视频。
  4. 如权利要求3所述的方法,其特征在于,所述的合并所述排序后的场景页以形成动画项目视频的步骤包括:
    获取音乐文件,将所述音乐文件插入所述动画项目视频以形成视频。
  5. 一种动画视频导出的优化方法,其特征在于,包括步骤:
    加载动画视频文件;
    读取所述动画视频文件的基础配置,获取所述动画视频文件对应的场景页;
    识别所述场景页的动画元素和静态元素;
    对所述静态元素,复用上一帧静态元素的图像帧配置;
    对所述动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置;
    根据所述场景顺序对所述场景页进行排序;
    合并所述排序后的场景页以形成动画项目视频;
    获取音乐文件,将所述音乐文件插入所述动画项目视频以形成视频。
  6. 一种动画视频导出的优化装置,其特征在于,包括:
    读取模块,读取动画视频文件的基础配置,以获取场景页;
    识别模块,识别所述场景页的动画元素和静态元素;
    静态元素处理模块,对所述静态元素,复用上一帧静态元素的图像帧配置;
    动态元素处理模块,对所述动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置。
  7. 如权利要求6所述的装置,其特征在于,还包括:
    加载模块,加载所述动画视频文件。
  8. 如权利要求6所述的装置,其特征在于,还包括:
    排序模块,判断经过所述动画元素和所述静态元素图像帧处理之后的所述场景页的场景顺序,根据所述场景顺序对所述场景页进行排序;
    合并模块,合并所述排序后的场景页以形成动画项目视频。
  9. 如权利要求6所述的装置,其特征在于,还包括:
    音乐插入模块,获取音乐文件,将所述音乐文件插入所述动画项目视频以形成视频。
  10. 一种动画视频导出的优化装置,其特征在于,包括:
    加载模块,加载动画视频文件;
    读取模块,读取所述动画视频文件的基础配置,以获取场景页;
    识别模块,识别所述场景页的动画元素和静态元素;
    静态元素处理模块,对所述静态元素,复用上一帧静态元素的图像帧配置;
    动态元素处理模块,对所述动画元素,截取其动画图像帧,复用所述动画图像帧上一帧的图像帧配置;
    排序模块,根据所述场景顺序对所述场景页进行排序;
    合并模块,合并所述排序后的场景页以形成动画项目视频;
    音乐插入模块,获取音乐文件,将所述音乐文件插入所述动画项目视频以形成视频。
  11. 一种电子设备,包括存储器和处理器,所述存储器存储计算机程序,其特征在于,所述计算机程序在所述处理器中执行可实现权利要求1-4中任一种方法,或者权利要求5所述的方法。
  12. 一种存储介质,存储计算机程序,其特征在于,所述计算机程序在处理器中执行可实现权利要求1-4中任一种方法,或者权利要求5所述的方法。
PCT/CN2021/110293 2020-10-20 2021-08-03 一种动画视频导出的优化方法和装置 WO2022083223A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011126974.6A CN112312043A (zh) 2020-10-20 2020-10-20 一种动画视频导出的优化方法和装置
CN202011126974.6 2020-10-20

Publications (1)

Publication Number Publication Date
WO2022083223A1 true WO2022083223A1 (zh) 2022-04-28

Family

ID=74328181

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/110293 WO2022083223A1 (zh) 2020-10-20 2021-08-03 一种动画视频导出的优化方法和装置

Country Status (2)

Country Link
CN (1) CN112312043A (zh)
WO (1) WO2022083223A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312043A (zh) * 2020-10-20 2021-02-02 深圳市前海手绘科技文化有限公司 一种动画视频导出的优化方法和装置

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1946144A (zh) * 2006-11-01 2007-04-11 李博航 实时视频、图像传输技术
US20110185269A1 (en) * 2006-06-15 2011-07-28 Microsoft Corporation Audio/visual editing tool
CN102346920A (zh) * 2010-08-05 2012-02-08 深圳华强数字动漫有限公司 二维动画数据库管理系统以及方法
CN102346918A (zh) * 2011-09-30 2012-02-08 长春理工大学 一种只包含物体变化的三维动画场景的绘制方法
US8214742B2 (en) * 2008-12-23 2012-07-03 International Business Machines Corporation Method of rapidly creating visual aids for presentation without technical knowledge
JP5327823B1 (ja) * 2012-11-08 2013-10-30 健夫 五十嵐 動く漫画作成支援プログラム、及び動く漫画作成支援装置
CN105163093A (zh) * 2015-10-08 2015-12-16 北京理工大学 一种面向avs监控档的压缩域视频摘要提取方法及装置
CN105681791A (zh) * 2016-01-18 2016-06-15 武汉理工大学 自适应远程桌面传输方法与系统
CN106611435A (zh) * 2016-12-22 2017-05-03 广州华多网络科技有限公司 动画处理方法和装置
CN107018352A (zh) * 2016-01-27 2017-08-04 北京中科晶上科技有限公司 一种视频图像处理方法、装置及系统
CN108364335A (zh) * 2018-01-23 2018-08-03 腾讯科技(深圳)有限公司 一种动画绘制方法及装置
CN109636884A (zh) * 2018-10-25 2019-04-16 阿里巴巴集团控股有限公司 动画处理方法、装置及设备
CN112312043A (zh) * 2020-10-20 2021-02-02 深圳市前海手绘科技文化有限公司 一种动画视频导出的优化方法和装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100383019B1 (ko) * 2001-01-03 2003-05-09 (주)아이뮤직소프트 뮤직비디오 제작장치
EP2084669A4 (en) * 2006-08-08 2009-11-11 Digital Media Cartridge Ltd SYSTEM AND METHOD FOR COMPRESSING ANIMATED DRAWINGS
US10264193B2 (en) * 2016-12-06 2019-04-16 Polycom, Inc. System and method for providing images and video having high dynamic range
CN108184165B (zh) * 2017-12-28 2020-08-07 Oppo广东移动通信有限公司 视频播放方法、电子装置和计算机可读存储介质
CN110457974B (zh) * 2018-05-07 2022-06-14 浙江宇视科技有限公司 图像叠加方法、装置、电子设备及可读存储介质
CN109376255B (zh) * 2018-09-26 2021-05-25 浙江万朋教育科技股份有限公司 基于图片化实现电子幻灯片多终端动画协同浏览的方法
CN110415319B (zh) * 2019-08-07 2022-11-15 深圳市前海手绘科技文化有限公司 基于ppt的动画制作方法、装置与电子设备和存储介质
CN111047673A (zh) * 2019-12-09 2020-04-21 成都来画科技有限公司 一种基于手绘视频的ppt文件生成方法及装置

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110185269A1 (en) * 2006-06-15 2011-07-28 Microsoft Corporation Audio/visual editing tool
CN1946144A (zh) * 2006-11-01 2007-04-11 李博航 实时视频、图像传输技术
US8214742B2 (en) * 2008-12-23 2012-07-03 International Business Machines Corporation Method of rapidly creating visual aids for presentation without technical knowledge
CN102346920A (zh) * 2010-08-05 2012-02-08 深圳华强数字动漫有限公司 二维动画数据库管理系统以及方法
CN102346918A (zh) * 2011-09-30 2012-02-08 长春理工大学 一种只包含物体变化的三维动画场景的绘制方法
JP5327823B1 (ja) * 2012-11-08 2013-10-30 健夫 五十嵐 動く漫画作成支援プログラム、及び動く漫画作成支援装置
CN105163093A (zh) * 2015-10-08 2015-12-16 北京理工大学 一种面向avs监控档的压缩域视频摘要提取方法及装置
CN105681791A (zh) * 2016-01-18 2016-06-15 武汉理工大学 自适应远程桌面传输方法与系统
CN107018352A (zh) * 2016-01-27 2017-08-04 北京中科晶上科技有限公司 一种视频图像处理方法、装置及系统
CN106611435A (zh) * 2016-12-22 2017-05-03 广州华多网络科技有限公司 动画处理方法和装置
CN108364335A (zh) * 2018-01-23 2018-08-03 腾讯科技(深圳)有限公司 一种动画绘制方法及装置
CN109636884A (zh) * 2018-10-25 2019-04-16 阿里巴巴集团控股有限公司 动画处理方法、装置及设备
CN112312043A (zh) * 2020-10-20 2021-02-02 深圳市前海手绘科技文化有限公司 一种动画视频导出的优化方法和装置

Also Published As

Publication number Publication date
CN112312043A (zh) 2021-02-02

Similar Documents

Publication Publication Date Title
CN111460183B (zh) 多媒体文件生成方法和装置、存储介质、电子设备
US6573898B1 (en) Analysis of properties of effects for rendering and caching of media data
CN110415319B (zh) 基于ppt的动画制作方法、装置与电子设备和存储介质
WO2022156168A1 (zh) 一种分布式视频合成方法与装置
WO2022083223A1 (zh) 一种动画视频导出的优化方法和装置
CN107562498A (zh) 基于安卓平台的动画效果实现方法、装置和终端设备
WO2022206960A1 (zh) 视频转码方法、系统及电子设备
CN113655999B (zh) 一种页面控件的渲染方法、装置、设备及存储介质
CN114781344A (zh) 采用阅读器安全解析渲染工作流电子表单的方法及阅读器
CN112040271A (zh) 可视化编程的云端智能剪辑系统及其方法
CN110244985A (zh) 一种视图渲染方法、计算机存储介质及终端设备
US20190155628A1 (en) Method for opening up data and functions of terminal application based on reconstruction technology
CN115462062A (zh) 信息处理装置和方法
CN103095994A (zh) 一种应用于数字家庭的高清媒体非线性编辑方法及其装置
CN110507986B (zh) 动画信息的处理方法和装置
CN112509097B (zh) 一种手绘动画素材编辑方法及装置
CN104461931B (zh) 多核存储装置及多核环境的跟踪日志输出处理方法
WO2022156169A1 (zh) 一种导出动画视频的方法与装置
CN111047673A (zh) 一种基于手绘视频的ppt文件生成方法及装置
WO2022193460A1 (zh) 一种演示模板的转场方式及装置
CN113411517B (zh) 视频模板的生成方法、装置、电子设备及存储介质
CN113419957A (zh) 基于规则的大数据离线批处理性能容量扫描方法及装置
CN112905461A (zh) 自动化接口测试案例执行方法及装置
CN111932660A (zh) 一种基于ae文件的手绘视频制作方法
KR20080048698A (ko) 오픈 벡터그래픽 콘텐츠 생성 방법 및 그 방법이 기록된컴퓨터로 읽을 수 있는 기록매체

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21881642

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02.08.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21881642

Country of ref document: EP

Kind code of ref document: A1