CN110166846B - 一种基于4k码率代理编辑的缓存方法 - Google Patents
一种基于4k码率代理编辑的缓存方法 Download PDFInfo
- Publication number
- CN110166846B CN110166846B CN201910468638.0A CN201910468638A CN110166846B CN 110166846 B CN110166846 B CN 110166846B CN 201910468638 A CN201910468638 A CN 201910468638A CN 110166846 B CN110166846 B CN 110166846B
- Authority
- CN
- China
- Prior art keywords
- data
- cache
- cached
- caching
- editing
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000013507 mapping Methods 0.000 claims abstract description 6
- 239000012634 fragment Substances 0.000 claims description 6
- 238000002360 preparation method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明公开了一种基于4K码率代理编辑的缓存方法,在互联网环境下打开工程进行编辑,实时检测用户操作,当用户拖动或播放预览画面时,触发缓存映像进程,缓存定位时的数据,并对缓存的数据进行编号;当空闲时,触发缓存映像进程,检测未缓存的数据,并进行缓存,对缓存的数据进行编号;缓存完成后,对数据进行排序整理,封装成一个新文件。针对用户正在编辑的视频帧或视频段进行缓存,或在空闲时,对数据空白位置进行缓存,有效防止了编辑时的卡顿,提高用户体验水平。
Description
技术领域
本发明涉及视频编辑领域,尤其涉及一种基于4K码率代理编辑的缓存方法。
背景技术
当前我国的互联网环境稳定性还不是十分可靠,带宽时高时低,网速时快时慢,而用户的视频编辑场景已经延伸到互联网,需要在家里或异地进行网络化编辑。
如果直接调用云上的数据,则受制于网络带宽波动,编辑时会存在不实时的现像;如果在编辑时单独下载数据,则会影响编辑体验,编辑时会卡顿。
发明内容
为了解决上述问题,本发明提出一种基于4K码率代理编辑的缓存方法,在互联网环境下打开工程进行编辑,实时检测用户操作,当用户拖动或播放预览画面时,触发缓存映像进程,缓存定位时的数据,并对缓存的数据进行编号;当空闲时,触发缓存映像进程,检测未缓存的数据,并进行缓存,对缓存的数据进行编号;缓存完成后,对数据进行排序整理,封装成一个新文件。
进一步的,缓存数据时,检测待缓存数据是否已缓存,若已该数据以存在,则不启动缓存进程。
进一步的,空闲缓存时,若用户开始编辑,则停止本缓存进程,转为对用户定位时的数据缓存。
进一步的,还包括缓存数据空间准备过程:
S1:构建分片数据结构体;
S2:创建分片数据编号;
S3:创建缓存空间。
本发明的有益效果在于:针对用户正在编辑的视频帧或视频段进行缓存,或在空闲时,对数据空白位置进行缓存,有效防止了编辑时的卡顿,提高用户体验水平。
附图说明
图1是缓存方法示意图;
图2是封装示意图;
图3是缓存准备示意图。
具体实施方式
为了使本领域的技术人员更好地理解本发明的技术方案,下面结合附图和具体实施例对本发明作进一步的详细说明。
一种基于4K码率代理编辑的缓存方法,用户在互联网环境下打开工程进行编辑。
如图1所示,实时检测用户操作,当用户拖动预览画面时,编辑软件触发缓存映像程序,检测该数据是否下载,如果缓存中没有些数据,则启动下载线程,缓存拖动定位时的数据,并对下载的数据进行编号;如果此数据已经下载,则不启动下载线程。
当用户播放预览画面时,编辑软件触发缓存映像程序,检测该数据是否下载,如果缓存中没有些数据,则启动下载线程,缓存拖动定位时的数据,并对下载的数据进行编号;如果此数据已经下载,则不启动下载线程。
当空闲时,编辑软件触发缓存映像程序,检测未下载的数据,开始下载数据,并对下载的数据进行编辑,如果编辑人员开始操作,则停止下载,进入上述步骤。
如图2所示,下载完成后,开始对数据进行排序整理,封装成一个新的文件,供编辑软件本地调用。
如图3所示,还包括缓存数据空间准备过程:
S1:构建分片数据结构体;
S2:创建分片数据编号;
S3:创建缓存空间。
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和单元并不一定是本申请所必须的。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、ROM、RAM等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。
Claims (2)
1.一种基于4K码率代理编辑的缓存方法,在互联网环境下打开工程进行编辑,其特征在于:实时检测用户操作,当用户拖动或播放预览画面时,触发缓存映像进程,缓存定位时的数据,并对缓存的数据进行编号;当空闲时,触发缓存映像进程,检测未缓存的数据,并进行缓存,对缓存的数据进行编号;缓存数据时,检测待缓存数据是否已缓存,若该数据已存在,则不启动缓存进程;空闲缓存时,若用户开始编辑,则停止本缓存进程,转为对用户定位时的数据缓存;缓存完成后,对数据进行排序整理,封装成一个新文件。
2.根据权利要求1所述的一种基于4K码率代理编辑的缓存方法,其特征在于:还包括缓存数据空间准备过程:
S1:构建分片数据结构体;
S2:创建分片数据编号;
S3:创建缓存空间。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910468638.0A CN110166846B (zh) | 2019-05-31 | 2019-05-31 | 一种基于4k码率代理编辑的缓存方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910468638.0A CN110166846B (zh) | 2019-05-31 | 2019-05-31 | 一种基于4k码率代理编辑的缓存方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110166846A CN110166846A (zh) | 2019-08-23 |
CN110166846B true CN110166846B (zh) | 2021-05-18 |
Family
ID=67630837
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910468638.0A Active CN110166846B (zh) | 2019-05-31 | 2019-05-31 | 一种基于4k码率代理编辑的缓存方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110166846B (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111866602A (zh) * | 2020-06-19 | 2020-10-30 | 成都东方盛行电子有限责任公司 | 一种无损高精度的流采集方法 |
CN112104894B (zh) * | 2020-11-18 | 2021-03-09 | 成都索贝数码科技股份有限公司 | 一种基于幅面变换的超高清视频编辑方法 |
CN113407769A (zh) * | 2021-04-30 | 2021-09-17 | 成都东方盛行电子有限责任公司 | 一种用于手机非编剪辑短视频的缓存映像方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106550263A (zh) * | 2015-09-16 | 2017-03-29 | 深圳市腾讯计算机系统有限公司 | 媒体播放方法及装置 |
WO2017075493A1 (en) * | 2015-10-28 | 2017-05-04 | Ustudio, Inc. | Video frame difference engine |
CN106791933A (zh) * | 2017-01-20 | 2017-05-31 | 杭州当虹科技有限公司 | 基于web端的在线快速编辑视频的方法和系统 |
WO2018197911A1 (en) * | 2017-04-28 | 2018-11-01 | Forbidden Technologies Plc | Methods, systems, processors and computer code for providing video clips |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020116716A1 (en) * | 2001-02-22 | 2002-08-22 | Adi Sideman | Online video editor |
CN105376612A (zh) * | 2014-08-26 | 2016-03-02 | 华为技术有限公司 | 一种视频播放方法、媒体设备、播放设备以及多媒体系统 |
CN106937129A (zh) * | 2015-12-31 | 2017-07-07 | 广州华多网络科技有限公司 | 一种在线视频直播实时剪辑方法和装置 |
CN105872599A (zh) * | 2016-04-26 | 2016-08-17 | 乐视控股(北京)有限公司 | 一种提供、下载视频的方法及设备 |
-
2019
- 2019-05-31 CN CN201910468638.0A patent/CN110166846B/zh active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106550263A (zh) * | 2015-09-16 | 2017-03-29 | 深圳市腾讯计算机系统有限公司 | 媒体播放方法及装置 |
WO2017075493A1 (en) * | 2015-10-28 | 2017-05-04 | Ustudio, Inc. | Video frame difference engine |
CN106791933A (zh) * | 2017-01-20 | 2017-05-31 | 杭州当虹科技有限公司 | 基于web端的在线快速编辑视频的方法和系统 |
WO2018197911A1 (en) * | 2017-04-28 | 2018-11-01 | Forbidden Technologies Plc | Methods, systems, processors and computer code for providing video clips |
Also Published As
Publication number | Publication date |
---|---|
CN110166846A (zh) | 2019-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110166846B (zh) | 一种基于4k码率代理编辑的缓存方法 | |
CN103179093B (zh) | 视频字幕的匹配系统和方法 | |
CN102932679B (zh) | 一种网络视频预览系统和方法 | |
WO2017107441A1 (zh) | 截取视频动画的方法及装置 | |
CN112073649A (zh) | 多媒体数据的处理方法、生成方法及相关设备 | |
JP6314252B2 (ja) | ネットワークビデオ再生方法及び装置 | |
EP3790008A1 (en) | Method and apparatus for generating interactive audio/video based on mobile terminal | |
US10880595B2 (en) | Method and apparatus for adjusting virtual reality scene, and storage medium | |
CN109391843B (zh) | 在线视频倍速播放方法、装置、介质及智能终端 | |
CN105469381B (zh) | 一种信息处理方法及终端 | |
TW201739263A (zh) | 播放中影片的擷取方法及裝置 | |
US11941728B2 (en) | Previewing method and apparatus for effect application, and device, and storage medium | |
US20190245903A1 (en) | Web-based content recording and adaptive streaming | |
Mardani et al. | Fawkes: Faster Mobile Page Loads via {App-Inspired} Static Templating | |
US11800199B2 (en) | Video playing method and apparatus | |
EP3125541A1 (en) | Data acquisition and interaction method, set top box, server and multimedia system | |
US20240171797A1 (en) | Techniques for providing a content stream based on a delivered stream of content | |
CN111258434B (zh) | 在聊天界面插入图片的方法、装置、设备及存储介质 | |
CN114741266B (zh) | 页面白屏时长确定方法、装置、电子设备及存储介质 | |
CN113542909A (zh) | 视频处理方法、装置、电子设备及计算机存储介质 | |
WO2018103840A1 (en) | Technique for synchronizing rendering of video frames with rendering of auxiliary media | |
CN109522066A (zh) | 一种信息列表中的可交互图形的展示方法 | |
CN113590564B (zh) | 数据存储方法、装置、电子设备及存储介质 | |
CN113207007B (zh) | 基于hls协议的直播录制方法 | |
CN108989890B (zh) | 基于GStreamer框架的音视频错源排查方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |