CN101594504B - Method for appending sub-picture before end of DVD disc - Google Patents

Method for appending sub-picture before end of DVD disc Download PDF

Info

Publication number
CN101594504B
CN101594504B CN2008101081814A CN200810108181A CN101594504B CN 101594504 B CN101594504 B CN 101594504B CN 2008101081814 A CN2008101081814 A CN 2008101081814A CN 200810108181 A CN200810108181 A CN 200810108181A CN 101594504 B CN101594504 B CN 101594504B
Authority
CN
China
Prior art keywords
video
dvd
sprite
cell
sub
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.)
Expired - Fee Related
Application number
CN2008101081814A
Other languages
Chinese (zh)
Other versions
CN101594504A (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.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics 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 Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN2008101081814A priority Critical patent/CN101594504B/en
Publication of CN101594504A publication Critical patent/CN101594504A/en
Application granted granted Critical
Publication of CN101594504B publication Critical patent/CN101594504B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention relates to a method for appending sub-pictures for DVD videos before the end of a DVD disc, which comprises the following steps: determining the sub-pictures (editing texts, setting colors, and the like); converting bitmap data of the sub-pictures; generating an SPU (Sub-Picture Unit); and reusing the SPU and the DVD videos. The method is convenient for users to operate and use without installing and learning professional video processing software, thereby saving the cost and the time.

Description

The method of before DVD disc termination, adding sprite
Technical field
The present invention relates to a kind of DVD visual effect method for processing, specifically, relate to a kind of method of before DVD disc termination, adding sprite.
Background technology
At present, DVD video camera commonly used utilizes the DVD-R/-RW disc to record the DVD-Video format video, after video record is finished, needs disc is done terminates operation (finalize), to be compatible with the DVD-ROM form.After the disc termination, disc contents can't be modified again.In two kinds of common disc modes, DVD-R supports the increment WriteMode, and DVD-RW supports limited covering WriteMode, and dual mode all can't support to revise the data area of having been write.
Utilize the defined sprite standard of DVD-Video form, thereby can make it have visual effects such as photo frame, memorandum for the DVD video adds sprite, thereby make the DVD video more attractive in appearance or be more convenient for watching, this is an almost requisite process for the DVD Video processing.Some DVD post-production software provides this type of function, but can only process on computers.
For disclosing a kind of method of on video camera or PC, adding image frame in the Chinese invention patent application (application number 200610089608.1) of " image frame handling method of digital camera device and system thereof ", still openly do not relate to the technology that how before DVD disc termination, to realize adding photo frame or other special efficacys at title for video.
For example, some mobile phone has been supported to add photo frame (photo sticker function) in real time for the photo of taking (or video), and after shooting was finished, photo (or video) directly had the photo frame special efficacy.And existing DVD video camera can't on-the-spot DVD video interpolation sprite for recording.Retrieve the common type in following market, for example, Samsung SC-DC173U, Canon DC230, Canon HR10, Sony DCR-DVD908E, Sony HDR-UX5E, Panasonic VDR-D310, Panasonic HDC-SX5 do not have this type of function.
There is not the scene need carry out post-production usually for the DVD video that the DVD video of recording adds the DVD video camera production of sprite function.Post-production is wasted time and energy, and needs the computer hardware support and need to buy professional software.In general, can not carry out video editing immediately after taking makes, particularly for normal domestic use DVD video camera, usually when taking, can't carry computer and carry out the scene editor, the user is only after shooting is finished, the DVD video of taking is imported computer from the DVD video camera, on computers the DVD video of having taken is carried out editing and processing, this causes user's inconvenience.And the software of handling video also incurs great expense, and this has increased user's cost.
Summary of the invention
The present invention is intended to propose a kind of method, make the DVD video camera before the disc termination,, edit operation simply selected by the user, just can add the sprite of forms such as photo frame, memorandum for the DVD video in the scene, and provide following advantage at least: 1. effect is lively, play modification, beautify the effect of video, have very high practicability; 2. on-the-spot the interpolation avoided tediously long post-production, also need not additionally soft, hardware cost; And 3. meet the DVD-Video standard, and can use this type of special efficacy of family expenses DVD player direct viewing after the disc termination.The method of the application of the invention can user friendlyly be manipulated, and the user does not need to install in addition and study professional video process software, has saved cost and time.
According to an embodiment of the invention on the one hand, provide a kind of method of adding sprite for the DVD video before DVD disc termination, described method comprises: determine sprite, and sprite is converted to first sub-picture unit; Begin to record the DVD video, and first sub-picture unit and the DVD video multiplex of recording are flowed to generate PS; Finish to record the DVD video, add at PS stream tail and comprise the video object unit VOBU that has second sub-picture unit that empties the sprite control command; Constitute the cell unit; And upgrading the IFO file, the DVD disc terminates.
According to an embodiment of the invention on the other hand, provide a kind of method of adding sprite for the DVD video before DVD disc termination, described method comprises: record the DVD video; After recording end, comprise the video object unit VOBU that has second sub-picture unit that empties the sprite control command in the adding of PS stream tail; Constitute video cell; Determine sprite, sprite is converted to first sub-picture unit; Generate sprite cell, sprite cell is recorded after the video cell; Set the playing sequence of program, the playing sequence that makes sprite cell is before video cell; Upgrade the IFO file, termination DVD disc.
Description of drawings
By below in conjunction with the detailed description of accompanying drawing to embodiment, above-mentioned and/or other aspects of the present invention will become clear and be more readily understood, wherein:
Fig. 1 is the method for adding sprite before video record according to the first embodiment of the present invention;
Fig. 2 is the method for adding sprite behind video record according to a second embodiment of the present invention;
Fig. 3 is to use the method for the embodiment of the invention to add the design sketch of the DVD picture of sprite.
Embodiment
Provide description below, with the exemplary embodiment of the present invention that helps complete understanding to limit by claim and equivalent thereof with reference to accompanying drawing.This description comprises various specific detail help understanding, but should to be considered to only be exemplary to these details.Therefore, those skilled in the art will appreciate that under situation about not departing from the scope of the present invention with spirit, can carry out various changes and modification embodiment described here.In addition, for clear and simple and clear, the description of known function and structure will be omitted.
Fig. 1 is the method for adding sprite before video record according to the first embodiment of the present invention.
With reference to Fig. 1, below will be described in add sprite before the video record method.At first, determine sprite at step S101.Sprite can derive from the built-in template of video camera, video camera inputting interface, data wire download, network download, but the invention is not restricted to this, also can use the sprite source of other types.The type of sprite for example can comprise memorandum text, photo frame etc., therefore, determines that sprite just edits the memorandum text, and operations such as photo frame color are set.In Fig. 1, text " travel in Tibet " and date " 15/06/2007 " in sprite, have been added.
According to the DVD-Video standard, sprite can only be by following four types of points (promptly, four types pixel) constitute: background (background), pattern (pattern), emphasis-1 (emphasizing-1), emphasis-2 (emphasizing-2), be furnished with 00,01,10,11 binary data value separately.Therefore, a sprite comprises four kinds of colors at most simultaneously, and wherein, color is any one in the 16 tone colour tables.In addition, every type of point all has the transparency attribute, i.e. 16 grades contrast, and transparency is a kind of in the 16 rank transparencies, for example, if value is 0, then expression is transparent fully, if its value is 15, then expression opaque entirely (Fullopacity).Under normal conditions, the some color of background type is not limit, but transparency should be bright for full impregnated.As can be seen from Figure 1, sprite has adopted the bright point of white, the full impregnated of background type as a setting, and adopts the red complete opaque point of pattern type to constitute the memorandum text.
Next, sprite is converted to sub-picture unit SPU_1 (S102).For example, can use the coding method of RLE (run length encoding) that sprite is converted to sub-picture unit.
At this moment, use video camera to begin the DVD video record.In general, the DVD video camera can generate MPEG-2 video flowing (S103) by the video of recording being carried out the MPEG-2 coding.Selectively, can the video of recording be mixed effect (S104) afterwards with sprite by OSD (showing) function preview with screen.In Fig. 2, can see in the preview this moment design sketch, memorandum text " travel in Tibet " and date " 15/06/2007 " have appearred having added on video pictures.
At step S105, the video that SPU_1 is applied to record is just multiplexing with the MPEG-2 video flowing of recording with SPU_1, thus generate the PS stream (program stream) that comprises sprite.Because add sprite in the video record incipient stage, in replayed section, sprite will run through the whole video fragment like this.
When recording end, replenish a VOBU (video object unit) at the PS of multiplexing generation stream tail, in this VOBU, comprise the sub-picture unit SPU_2 (S106) that empties the sprite control command.In general, one section memorandum (perhaps photo frame) only is used for one section continuous videos (that is, from beginning to be recorded to one section continuous videos recording between finishing to record), therefore, need close the sprite demonstration automatically when this section video finishes.Can realize this function by adding aforesaid VOBU.In addition, VOBU also comprises a MPEG-2 video I frame according to the DVD-Video normalized definition, last picture when recording as end.
Then, will constitute a complete cell unit (cell is that dvd goes up minimum video unit), and the 16 tone colour table information that the sprite overall situation is used will be recorded in the IFO file with termination disc (S107) through the PS stream of above-mentioned processing.The IFO file is that the control vob file is play, and can find the relevant control information such as data of how and when playing in the vob file in this file.In the method according to the first embodiment of the present invention, the palette information of sprite is write in the IFO file, thereby can control the formation color of sprite.
With reference to Fig. 2 according to a second embodiment of the present invention the method for adding sprite behind video record is described below.
At first, use the DVD video camera to begin the DVD video record.After video record finishes, replenish a VOBU at PS stream tail, this VOBU comprises the SPU_2 that empties the sprite control command.The DVD video of recording (this video comprises above-mentioned VOBU, promptly comprises the SPU_2 that empties the sprite control command) is constituted a complete cell unit, i.e. a video cell.Next, determine sprite, sprite is converted to SPU_1.As shown in Figure 2, the sprite of determining in the second embodiment of the present invention is basically the same as those in the first embodiment, and, has added memorandum text " travel in Tibet " and date " 15/06/2007 " that is.More than therefore the class of operation among the operation and first embodiment seemingly, is not described in detail above step.
Next, generate new cell unit, i.e. a sprite cell with the sprite of determining.In the present embodiment, described sprite cell comprises a VOBU, and this VOBU comprises above-mentioned sprite SPU_1 and the MPEG-2 video I frame according to the DVD-Video normalized definition, herein, and first frame when the I frame begins to record for video cell.
Then, sprite cell is recorded the back of video cell.Because DVD-R/-RW video disc WriteMode restriction, cell can only journal, therefore sprite cell can only write the zone that is right after video cell on the disc (this is that physical write mode by video disc limits), and sprite cell has identical VOB ID number with video cell.Identical with first embodiment, can use OSD to mix to come preview to add the DVD video pictures of sprite.
With program (program, playing sequence information PG) (PGC_PGMAP, C_PBI) be set at sprite cell-video cell, and be recorded in the IFO file.
Because the playing sequence of DVD-Video video is by program chain described in the IFO file (Program Chain) and program tissue, the physical record order of video unit on disc do not place one's entire reliance upon, therefore, when a PGC comprises one or more PG, when played in order, PG always plays in order successively.PG has write down the information (Entry Cell Number) that enters cell, when playing PG, always begins to play from Entry Cell, plays the next cell (Cell Number++) of this cell then.
The address information recording of cell is in C_PBIT (Cell Play Back Information Table), therefore, as shown in Figure 2, allow the physical address of previous Cell (Cell i) record sprite cell in the IFO file, and allow the physical address of a back Cell (Cell i+1) recording of video cell, simultaneously, the Entry Cell Number that other comprises the PG of Cell i and Cell i+1 is i, like this, when playing this PG, will navigate to sprite cell earlier, and broadcast sprite cell, and then navigate to video cell then, and beginning displaying video cell, so can observe the video that is added with sprite.
At last, palette information is recorded in the IFO file, and the termination disc.Identical with first embodiment, palette information is 16 tone colour table information of an overall situation.
It is the method that a DVD video cell (that is DVD video segment) adds a sprite that Fig. 2 shows.Those skilled in the art should be easy to expect, can also use according to the method for second embodiment of the invention and before DVD disc termination, add sprite as the video segment that arbitrary number has been recorded, wherein, the pattern of sprite and type can change according to each video segment.For example, add memorandum text inequality for each fragment, perhaps add the photo frame of different outward appearances, to play the effect that increases different sprites according to the DVD video content according to the content of fragment.
Specifically, the DVD video segment of having recorded for a plurality of numbers method of adding sprite mainly comprises: adopt the method for second embodiment of the invention produce a plurality of video cell and with the corresponding a plurality of sprite cell of described a plurality of video cell; The playing sequence of each sprite cell is set to before its corresponding DVD video cell, and playing sequence is recorded the IFO file to upgrade.Adopt above-mentioned method, can after having recorded a plurality of DVD video segments, unify to have improved treatment effeciency, and also can make overall arrangements video and sprite for it adds sprite.
Fig. 3 shows the design sketch of the DVD video that has added memorandum text and photo frame special efficacy respectively.Shown in the left side of Fig. 3 be the DVD video effect that has added the memorandum text " travel in Tibet " and the memorandum effect on date " 15/06/2007 ", shown in the right side is the DVD video effect that has added the photo frame effect.Yet addible effect is not limited to the example shown in Fig. 3.Any available effect sprite can add the DVD video to by the method for the embodiment of the invention before the termination disc, should be appreciated that these are included within the scope of the present invention.
By the method for various embodiments of the present invention, on-the-spot for the DVD video adds sprite before DVD disc termination after can or recording before the DVD video record, thus simplified the treatment step of DVD video, saved time and cost, be convenient to user's operation.
Though illustrated and described some embodiment of the present invention, but it should be appreciated by those skilled in the art that, under the situation of principle of the present invention that does not break away from the claim qualification and spirit, can make various changes, scope of the present invention limits in claim and equivalent thereof.

Claims (11)

1. the method for adding sprite for the DVD video before a DVD disc of recording at the scene terminates comprises:
A. determine sprite, and sprite is converted to first sub-picture unit;
B. record the DVD video, and first sub-picture unit and the DVD video multiplex of recording are flowed to generate PS;
C. finish to record after the DVD video, add at the PS stream tail that produces and comprise the video object unit VOBU that has second sub-picture unit that empties the sprite control command, described VOBU comprises a MPEG-2 video I frame according to the DVD-Video normalized definition;
D. the PS stream after handling with step c constitutes the cell unit;
E. the palette information with sprite records in the IFO file and the DVD disc that terminates.
2. the method for claim 1, wherein DVD application form comprises the DVD-Video form, and the DVD physical format comprises DVD-R, DVD-RW.
3. the sprite that the method for claim 1, wherein adds comprises literal and/or picture form.
4. the method for claim 1, wherein the source of sprite comprises: the built-in template of video camera, video camera inputting interface, data wire are downloaded and network download.
5. the method for claim 1, wherein step b also comprises by show the picture of preview sprite and DVD video mix with screen.
6. the method for adding sprite for the DVD video before a DVD disc of recording at the scene terminates comprises:
A. record the DVD video, generate PS stream;
B. after recording end, comprise the video object unit VOBU that has second sub-picture unit that empties the sprite control command in the adding of PS stream tail, described VOBU comprises a MPEG-2 video I frame according to the DVD-Video normalized definition;
C. the PS stream after handling with step b constitutes video cell;
D. determine sprite, sprite is converted to first sub-picture unit;
E. use described first sub-picture unit to constitute another VOBU, this VOBU comprises a MPEG-2 video I frame according to the DVD-Video normalized definition;
F. the VOBU that uses step e to generate constitutes sprite cell, and sprite cell is recorded after the video cell, and described sprite cell has the VOB ID identical with described video cell;
G. set the playing sequence of program and record the IFO file, the playing sequence that makes sprite cell is before video cell;
H. the palette information with sprite records in the IFO file, and the termination disc.
7. method as claimed in claim 6, wherein, steps d also comprises: by show the picture that preview sprite and DVD video pictures mix with screen.
8. method as claimed in claim 6, wherein, DVD uses form and comprises the DVD-Video form, and the DVD physical format comprises DVD-R, DVD-RW.
9. method as claimed in claim 6, wherein, the sprite of interpolation comprises literal and/or picture form.
10. method as claimed in claim 6, wherein, the source of sprite comprises: the built-in template of video camera, video camera inputting interface, data wire are downloaded and network download.
11. method as claimed in claim 6, wherein, the DVD video of having recorded for arbitrary number adds sprite.
CN2008101081814A 2008-05-30 2008-05-30 Method for appending sub-picture before end of DVD disc Expired - Fee Related CN101594504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101081814A CN101594504B (en) 2008-05-30 2008-05-30 Method for appending sub-picture before end of DVD disc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101081814A CN101594504B (en) 2008-05-30 2008-05-30 Method for appending sub-picture before end of DVD disc

Publications (2)

Publication Number Publication Date
CN101594504A CN101594504A (en) 2009-12-02
CN101594504B true CN101594504B (en) 2011-01-19

Family

ID=41408910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101081814A Expired - Fee Related CN101594504B (en) 2008-05-30 2008-05-30 Method for appending sub-picture before end of DVD disc

Country Status (1)

Country Link
CN (1) CN101594504B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103811037A (en) * 2013-07-05 2014-05-21 上海帕科软件科技有限公司 New media quick editing system
CN105933756A (en) * 2016-06-27 2016-09-07 北京奇虎科技有限公司 Method and device for carrying out live broadcast on video in picture in picture mode
CN107277606B (en) * 2017-07-06 2020-02-14 浙江华创视讯科技有限公司 Method and device for generating video data in streaming storage
CN108924622B (en) * 2018-07-24 2022-04-22 腾讯科技(深圳)有限公司 Video processing method and device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1390353A (en) * 1999-11-10 2003-01-08 汤姆森特许公司 Adding audio-visual data to previously recorded audio-visual data on disk medium
CN1409859A (en) * 1999-12-14 2003-04-09 汤姆森特许公司 Multimedia Photo Albums
CN1493158A (en) * 2001-02-26 2004-04-28 汤姆森许可贸易公司 Method for recording or reproducing sub-picture data and its device
CN1515995A (en) * 1996-04-05 2004-07-28 先锋株式会社 Information recording medium, recording and reproducing device and method
CN1878247A (en) * 2006-07-06 2006-12-13 北京中星微电子有限公司 Image frame handling method for digital pick-up device and its system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1515995A (en) * 1996-04-05 2004-07-28 先锋株式会社 Information recording medium, recording and reproducing device and method
CN1390353A (en) * 1999-11-10 2003-01-08 汤姆森特许公司 Adding audio-visual data to previously recorded audio-visual data on disk medium
CN1409859A (en) * 1999-12-14 2003-04-09 汤姆森特许公司 Multimedia Photo Albums
CN1493158A (en) * 2001-02-26 2004-04-28 汤姆森许可贸易公司 Method for recording or reproducing sub-picture data and its device
CN1878247A (en) * 2006-07-06 2006-12-13 北京中星微电子有限公司 Image frame handling method for digital pick-up device and its system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2003-111034A 2003.04.11

Also Published As

Publication number Publication date
CN101594504A (en) 2009-12-02

Similar Documents

Publication Publication Date Title
DE602004013430T2 (en) RECORDING MEDIA, PLAYING DEVICE, RECORDING METHOD, PROGRAM AND PLAYBACK METHOD
US9147433B2 (en) Identifying a locale depicted within a video
KR101374034B1 (en) Method and device for handling multiple video streams
US8521000B2 (en) Information recording and reproducing method using management information including mapping information
CN101329892B (en) Information recording apparatus and information recording method
US20130330056A1 (en) Identifying A Cinematic Technique Within A Video
JPH10145722A (en) Reproducing control data generation device and method therefor
CN101594504B (en) Method for appending sub-picture before end of DVD disc
Jago Adobe Premiere Pro CC classroom in a book
CN102067181A (en) Synthesis device and synthesis method
Miller Sams teach yourself YouTube in 10 Minutes
JP3948051B2 (en) Editing apparatus and data editing method
US20020089646A1 (en) Web movie system
Jago Adobe Premiere Pro Classroom in a Book (2022 Release)
KR100786165B1 (en) Information storage medium, information playback apparatus, information playback method, and information playback program
Sachdeva et al. Digital Video Editing
Smith Premiere Pro CS5 and CS5. 5 Digital Classroom
WO2020222721A1 (en) Digital video editing and playback method
Pointer DVD authoring
Smith Premiere Pro CS6 Digital Classroom
Sitter et al. Apple Pro Training Series: DVD Studio Pro 4
Teague et al. Final Cut Pro 4 and the Art of Filmmaking
Christensen Video Production
JP2009301708A (en) Information playback device and information playback method

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110119

Termination date: 20170530

CF01 Termination of patent right due to non-payment of annual fee