CN101594476A - A kind of processing method of ultralong caption rendering - Google Patents

A kind of processing method of ultralong caption rendering Download PDF

Info

Publication number
CN101594476A
CN101594476A CNA2008101138456A CN200810113845A CN101594476A CN 101594476 A CN101594476 A CN 101594476A CN A2008101138456 A CNA2008101138456 A CN A2008101138456A CN 200810113845 A CN200810113845 A CN 200810113845A CN 101594476 A CN101594476 A CN 101594476A
Authority
CN
China
Prior art keywords
memory
captions
internal memory
chained list
image
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
CNA2008101138456A
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CNA2008101138456A priority Critical patent/CN101594476A/en
Publication of CN101594476A publication Critical patent/CN101594476A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a kind of processing method of ultralong caption rendering, it is characterized in that, may further comprise the steps: terminal is given the captions image with Memory Allocation, forms the internal memory chained list, the memory block captions of the described internal memory chained list of described terminal plays; Described terminal removes the memory block pointer from described internal memory chained list gauge outfit, add the chained list tail, and described internal memory chained list gauge outfit is pointed to next memory block.Be captions image storage allocation by the memory block that adopts a plurality of fixed sizes among the present invention, the needed bulk memory of ultralong caption can be realized by a plurality of memory block updated stored images; Image is stored in respectively on the different memory blocks, reduces the image render time, and it is smooth that real-time dynamic title is broadcasted.

Description

A kind of processing method of ultralong caption rendering
Technical field
The present invention relates to field of broadcast televisions, relate in particular to a kind of processing method of ultralong caption rendering.
Background technology
The captions of computer and graph technology have been widely used in pbs film, TV domain.Application as subtitle graphic relates to the every aspect that station synchronization is made, and comprises live, the studio of news, and all variety, physical culture, finance and economics, meteorology etc. comprise that also the making of movie and television play all relates to.At record and broadcast, later stage and edit field, studio and broadcasting line, subtitle graphic all is an element the most commonly used.Along with the extensive use of captions, different according to function and effect, captions can be divided into common captions, surtitle and roll screen captions etc. again.Captions are by computer letter symbol to be played up the image of certain visual effects, the size of image depend on the size of character, what etc.Therefore, need be the image dynamic assigning memory during caption rendering.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Character once is rendered in the internal memory following problem may occur, comprising: ultralong caption needs the internal memory of bulk, and region of memory is always limited, may cause the storehouse buffering to be overflowed, and causes bulk memory to distribute failure; The big more time of playing up of image is long more, and it is smooth to cause captions to broadcast for real-time dynamic title, and the sense of pause is arranged.
Summary of the invention
The invention provides a kind of processing method of ultralong caption rendering, the data processing when playing with the realization ultralong caption.
The invention provides a kind of processing method of ultralong caption rendering, it is characterized in that, may further comprise the steps:
Terminal is given the captions image with Memory Allocation, forms the internal memory chained list, the memory block captions of the described internal memory chained list of described terminal plays;
Described terminal removes the memory block pointer from described internal memory chained list gauge outfit, add the chained list tail, and described internal memory chained list gauge outfit is pointed to next memory block;
Save as the onesize internal memory of N+1 piece in described;
Have N piece internal memory to be used to store the captions image of screen display area size in the onesize internal memory of described N+1 piece, 1 internal memory is used to store the captions image that will show;
When described internal memory chained list gauge outfit is pointed to next memory block, shown in terminal will upgrade the caption content that former gauge outfit is now shown the tail memory block;
Described terminal is determined the size of described internal memory and the value of N according to the size of view screen and the data volume of described captions, and described then terminal is given the captions image with Memory Allocation;
Described terminal specifically comprises to the captions image Memory Allocation: the captions image of memory is brought in constant renewal in, and just stores the captions image that will play at once;
When the memory block captions image of described chained list gauge outfit finished, former gauge outfit was now shown the tail memory block with synchronous renewal captions image, and terminal will be deleted the former memory image content that former gauge outfit is now shown the tail memory block, deposit the picture material that will play in.
Compared with prior art, the present invention has the following advantages:
Among the present invention, be captions image storage allocation, the needed bulk memory of ultralong caption can be realized by a plurality of little memory block updated stored images by the memory block that adopts a plurality of fixed sizes; The image morsel is played up step by step and is stored in successively on the memory block of internal memory chained list, reduces the image render time, and it is smooth that real-time dynamic title is broadcasted.
Description of drawings
Fig. 1 is the process flow figure of a kind of ultralong caption rendering among the present invention;
Fig. 2 is another flow chart of processing method of a kind of ultralong caption rendering among the present invention;
Fig. 3 is the schematic diagram of the ultralong caption processing method that rolls left among the present invention;
Fig. 4 is the treatment system schematic diagram of a kind of ultralong caption rendering among the present invention;
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in detail.
The invention provides a kind of processing method of ultralong caption rendering, as shown in Figure 1, comprise the steps:
Step S101, terminal is given the captions image with Memory Allocation, forms the internal memory chained list, plays the memory block captions of internal memory chained list then.
Step S102, terminal removes the memory block pointer from internal memory chained list gauge outfit, add the chained list tail, and internal memory chained list gauge outfit is pointed to next memory block subsequently, and updating form tail memory block captions image.
The processing method of a kind of ultralong caption rendering provided by the invention as shown in Figure 2, comprises following detailed step:
Step S201, terminal is determined the size of described internal memory and the value of N according to the size of view screen and the data volume of captions.
Step S202, terminal is distributed the onesize internal memory of N+1 piece for the captions image, forms the internal memory chained list.Wherein have N piece internal memory to be used to store the captions image of screen display area size, 1 internal memory is used to store the captions image that will show.
Step S203, terminal is played up the onesize caption image of N+1 piece and is stored into successively in the memory block of internal memory chained list.
Step S204, the memory block captions of broadcast internal memory chained list; The captions image of memory constantly upgrades, and just stores the captions image that will play, thereby finishes the mobile storage of described ultralong caption image at once.
Step S205 finishes when the memory block captions of internal memory chained list gauge outfit show, terminal removes the memory block pointer from internal memory chained list gauge outfit, add the chained list tail.Internal memory chained list gauge outfit is pointed to next memory block, and terminal will be upgraded the caption content that former gauge outfit is now shown the tail memory block, and the former memory image content that terminal is now shown the tail memory block with former gauge outfit is deleted, and deposits the picture material that will play then in.
Data processing with the ultralong caption that rolls left is that example is elaborated below, as shown in Figure 3.
Gray area is the screen display captions among the figure, when the memory block captions demonstration of internal memory chained list gauge outfit finishes, this memory block pointer removes from internal memory chained list gauge outfit, add the chained list tail, internal memory chained list gauge outfit is pointed to next internal memory, upgrades the caption content that former gauge outfit is now shown the tail memory block, because the viewing area image has been divided into the smaller internal memory of N piece, every internal memory render time is very short, can not cause the discontinuous of captions broadcast.
The invention provides a kind of treatment system of ultralong caption rendering, as shown in Figure 4, comprising:
Determination module 410 is used for determining the size of described internal memory and the value of N according to the size of view screen and the data volume of described captions.
Distribution module 420 is used to captions image storage allocation.The program control system Memory Allocation that the N+1 piece is onesize is given the captions image, forms the internal memory chained list; Wherein, N piece internal memory is used to store the captions image of screen display area size, and 1 internal memory is used to store the captions image that will show.
Adjusting module 430 is used for adjusting the captions picture material that internal memory is stored, and makes the captions image of depositing screen display area in the internal memory all the time and the captions image that will show.
Concrete, distribution module 420 further comprises:
Image storage unit 421 is used for the captions image of storing initial.
Image-erasing unit 422 when being used for described chained list gauge outfit internal memory captions image and finishing, is deleted former gauge outfit and is now shown the picture material of storing in the tail memory block.
Image deposits unit 423 in, is used to deposit in the picture material that will play.
Concrete, adjusting module 430 further comprises:
Synchronous updating block 431 when being used for former gauge outfit memory block image and finishing, upgrades the captions picture material of former gauge outfit memory block.
Chained list gauge outfit updating block 432 is used for chained list gauge outfit internal memory captions image and finishes, and this memory block pointer removes from internal memory chained list gauge outfit, adds the chained list tail, and internal memory chained list gauge outfit is pointed to next internal memory.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (7)

1, a kind of processing method of ultralong caption rendering is characterized in that, may further comprise the steps:
Terminal is given the captions image with Memory Allocation, forms the internal memory chained list, the memory block captions of the described internal memory chained list of described terminal plays;
Described terminal removes the memory block pointer from described internal memory chained list gauge outfit, add the chained list tail, and described internal memory chained list gauge outfit is pointed to next memory block.
2, the processing method of ultralong caption rendering according to claim 1 is characterized in that, saves as the onesize internal memory of N+1 piece in described.
3, as the processing method of ultralong caption rendering as described in the claim 2, it is characterized in that having N piece internal memory to be used to store the captions image of screen display area size in the onesize internal memory of described N+1 piece, 1 internal memory is used to store the captions image that will show.
4, the processing method of ultralong caption rendering according to claim 1 is characterized in that, when described internal memory chained list gauge outfit is pointed to next memory block, shown in terminal will upgrade the caption content that former gauge outfit is now shown the tail memory block.
5, the processing method of ultralong caption rendering according to claim 1 is characterized in that described terminal is determined the size of described internal memory and the value of N according to the size of view screen and the data volume of described captions, and described then terminal is given the captions image with Memory Allocation.
6, the processing method of ultralong caption rendering according to claim 1 is characterized in that, described terminal specifically comprises to the captions image Memory Allocation: the captions image of memory is brought in constant renewal in, just the captions image that will play of storage at once.
7, the processing method of ultralong caption rendering according to claim 1, it is characterized in that, when the memory block captions image of described chained list gauge outfit finishes, former gauge outfit is now shown the tail memory block with synchronous renewal captions image, terminal will be deleted the former memory image content that former gauge outfit is now shown the tail memory block, deposit the captions picture material that will play in.
CNA2008101138456A 2008-05-30 2008-05-30 A kind of processing method of ultralong caption rendering Pending CN101594476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008101138456A CN101594476A (en) 2008-05-30 2008-05-30 A kind of processing method of ultralong caption rendering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008101138456A CN101594476A (en) 2008-05-30 2008-05-30 A kind of processing method of ultralong caption rendering

Publications (1)

Publication Number Publication Date
CN101594476A true CN101594476A (en) 2009-12-02

Family

ID=41408889

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008101138456A Pending CN101594476A (en) 2008-05-30 2008-05-30 A kind of processing method of ultralong caption rendering

Country Status (1)

Country Link
CN (1) CN101594476A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724410A (en) * 2011-05-06 2012-10-10 新奥特(北京)视频技术有限公司 Method and apparatus for font correction of different caption generators
CN102739997A (en) * 2011-05-10 2012-10-17 新奥特(北京)视频技术有限公司 Subtitle plug-in segmentation rendering method
CN102739995A (en) * 2011-05-10 2012-10-17 新奥特(北京)视频技术有限公司 Method for processing caption group
CN108174279A (en) * 2017-12-07 2018-06-15 四川迪佳通电子有限公司 Set-top box caption presentation method and system
CN111031393A (en) * 2019-12-26 2020-04-17 广州酷狗计算机科技有限公司 Video playing method, device, terminal and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724410A (en) * 2011-05-06 2012-10-10 新奥特(北京)视频技术有限公司 Method and apparatus for font correction of different caption generators
CN102739997A (en) * 2011-05-10 2012-10-17 新奥特(北京)视频技术有限公司 Subtitle plug-in segmentation rendering method
CN102739995A (en) * 2011-05-10 2012-10-17 新奥特(北京)视频技术有限公司 Method for processing caption group
CN108174279A (en) * 2017-12-07 2018-06-15 四川迪佳通电子有限公司 Set-top box caption presentation method and system
CN108174279B (en) * 2017-12-07 2020-07-17 四川迪佳通电子有限公司 Set top box subtitle display method and system
CN111031393A (en) * 2019-12-26 2020-04-17 广州酷狗计算机科技有限公司 Video playing method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
KR102310241B1 (en) Source device, controlling method thereof, sink device and processing method for improving image quality thereof
CN104363483A (en) Advertisement pushing method and device based on video picture
US8578431B2 (en) Adaptive timeshift service
CN107682713B (en) Media file playing method and device
CN105472437A (en) Video playing method and apparatus thereof
CN103905744A (en) Rendering synthetic method and system
CN102364905B (en) Data reproducing method, device and mobile terminal
KR101629813B1 (en) Digital broadcasting reception apparatus and method for providing zapping advertisement using the same
CN101594476A (en) A kind of processing method of ultralong caption rendering
US20230269446A1 (en) Dynamic content serving using a media device
CN112019907A (en) Live broadcast picture distribution method, computer equipment and readable storage medium
CN105072480A (en) Video live broadcast method and device
CN110996157A (en) Video playing method and device, electronic equipment and machine-readable storage medium
CN101594477B (en) Processing system of ultralong caption rendering
CN108337553A (en) A kind of multi-medium data pre-download method
CN103618952A (en) Method for playing boot animation of intelligent television and intelligent television
CN105282560A (en) Fast network video playing method and system
CN101594479B (en) System for processing ultralong caption data
CN111667313A (en) Advertisement display method and device, client device and storage medium
CN112019906A (en) Live broadcast method, computer equipment and readable storage medium
US20220321945A1 (en) Server-side digital content insertion in audiovisual streams broadcasted through an interactive live streaming network
CN101594478B (en) Method for processing ultralong caption data
CN105898586A (en) Direct broadcast program watch-back method and system
CN107484040A (en) A kind of method for realizing network acceleration
US8843986B2 (en) Transport stream, data processing device and digital television for intermittently updating firmware

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20091202