CN102946542B - Mirror image video interval code stream recompile and seamless access method and system are write - Google Patents

Mirror image video interval code stream recompile and seamless access method and system are write Download PDF

Info

Publication number
CN102946542B
CN102946542B CN201210527612.7A CN201210527612A CN102946542B CN 102946542 B CN102946542 B CN 102946542B CN 201210527612 A CN201210527612 A CN 201210527612A CN 102946542 B CN102946542 B CN 102946542B
Authority
CN
China
Prior art keywords
seconds
end point
bag
point
mirror 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.)
Active
Application number
CN201210527612.7A
Other languages
Chinese (zh)
Other versions
CN102946542A (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.)
Hangzhou Silan Microelectronics Co Ltd
Original Assignee
Hangzhou Silan Microelectronics 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 Hangzhou Silan Microelectronics Co Ltd filed Critical Hangzhou Silan Microelectronics Co Ltd
Priority to CN201210527612.7A priority Critical patent/CN102946542B/en
Publication of CN102946542A publication Critical patent/CN102946542A/en
Application granted granted Critical
Publication of CN102946542B publication Critical patent/CN102946542B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention provides one and write mirror image video interval code stream recompile and seamless access method and system, comprising: according to the first initial point of the fragment of rearranging of user's setting and the quantity N of the first end point acquisition first bag; The coding parameter recompile the first initial point provided according to user to the video segment of the first end point until meet the perceived quality standard of user, to obtain the second starting point and second end point of new video segment; The quantity M of the second bag is obtained according to the second starting point and the second end point; Quantity M according to the first initial point and the first end point, the second starting point and the second end point and the first quantity N wrapped and second bag carries out seamless access adjustment; Navigation information before upgrading the second starting point and after the second end point.When the video quality of user to the mirror image write is unsatisfied with, only need carries out recompile to unsatisfied video segment and seamless access generation mirror image, save a large amount of human and material resources and time.

Description

Mirror image video interval code stream recompile and seamless access method and system are write
Technical field
The present invention relates to image information and write process field, particularly one has write mirror image video interval code stream recompile and seamless access method and system.
Background technology
Write in process field in image information, the emergence and development of digital video compaction technique has profound significance, solves the problem that huge video data stores and transmission is programmed, digital video service is developed widely.
In the prior art, coding/decoding module often adopts digital video compaction technique, usually time prediction coding is adopted to most frame, namely usually said P frame (" P " refers to forward direction time prediction), B frame (" B " refers to two-way time prediction).A part in compression process only make use of the spatial redundancy of the single image in frame, and this frame of any interframe encode that do not use is called I frame (" I " refers to intraframe coding).
In addressing system, usually adopt LBA (LogicalBlockAddressing, lba).Under lba pattern, a data area on hard disk is by the magnetic head at its place, cylinder (namely magnetic track) and sector are uniquely determined, and in lba addressing, address no longer represents the actual physical address (cylinder of actual hard disk, magnetic head and sector), lba addressing mode changes this three-dimensional addressing manner the linear addressing of one dimension into, it is the magnetic head of physical sectors all for hard disk, the numbering of cylinder and sector is a linear numbering by certain rules back, system effectiveness is greatly enhanced, avoid loaded down with trivial details magnetic head, the addressing system of cylinder and sector.When access hard disk, more this logical address is converted to the physical address of actual hard disk by hard disk controller.
Instantly; the video use that oneself can take by many users is write software and is write into digital versatile disc (DigitalVersatileDisc; DVD)/media processing (CHD) mirror image (comprise but not only for DVD/CHD); but user often there will be and is unsatisfied with the video quality of the mirror image write, need the situation adjusting its quality.Traditional software of writing is met this situation and is often dealed with without plan, and need carry out recompile to whole video and generate mirror image, this will a large amount of human and material resources of cost and time.
Summary of the invention
The invention provides one and write mirror image video interval code stream recompile and seamless access method and system, solve when the video quality of user to the mirror image write is unsatisfied with, need carry out recompile to whole video and generate mirror image, thus spend a large amount of human and material resources and the problem of time.
The technical scheme that the present invention adopts for its technical problem of solution is:
One has write mirror image video interval code stream recompile and seamless access method, comprising:
According to the first initial point of the fragment of rearranging of user's setting and the quantity N of the first end point acquisition first bag; Wherein, N is positive integer;
The coding parameter recompile the first initial point provided according to user to the video segment of the first end point until meet the perceived quality standard of user, to obtain the second starting point and second end point of new video segment;
The quantity M of the second bag is obtained according to described second starting point and the second end point; Wherein M is positive integer;
Quantity M according to described the first initial point and the first end point, described second starting point and the second end point and the described first quantity N wrapped and second bag carries out seamless access adjustment;
Navigation information before upgrading the second starting point and after the second end point.
Optionally, in the recompile of described interval code stream and the method for seamless access, described in fragment of rearranging comprise DVD/CHD mirror image.
Optionally, write in mirror image video interval code stream recompile and seamless access method described, the coding parameter recompile the first initial point provided according to user is to the video segment of the first end point until meet the perceived quality standard of user, with in the step of the second starting point and the second end point that obtain new video segment
When video segment does not meet the perceived quality standard of user, user regulates at least one coding parameter to carry out recompile to described video segment.
Optionally, write in mirror image video interval code stream recompile and seamless access method described, described coding parameter comprises: quantization step and coding bit rate.
Optionally, write in mirror image video interval code stream recompile and seamless access method described, in described each bag, there is packet header, there is in described packet header the information of wrapping self call number.
Optionally, write in mirror image video interval code stream recompile and seamless access method described, the quantity M according to described the first initial point and the first end point, described second starting point and the second end point and the described first quantity N wrapped and second bag carries out seamless access adjustment:
When M is less than N, after described second end point, write (N-M) × 2048bytes individual 0;
When M is greater than N, upgrade call number and the end address of the bag of each bag after described first end point.
Optionally, write in mirror image video interval code stream recompile and seamless access method described, the navigation information in before upgrading the second starting point and after the second end point comprises: the value upgrading latter 120 seconds fields in the navigation information at the second starting point first 120 seconds, 60 seconds, 30 seconds, 10 seconds, 7.5 seconds, 7 seconds, 6.5 seconds, 6 seconds, 5.5 seconds, 5 seconds, 4.5 seconds, 4 seconds, 3.5 seconds, 3 seconds, 2.5 seconds, 2 seconds, 1.5 seconds, 1 second place is the call number of the bag of the second starting point.
Optionally, write in mirror image video interval code stream recompile and seamless access method described, upgrade the second starting point and comprise to the navigation information in the second end point interval: in the navigation information that after upgrading the second end point, 120 seconds, 60 seconds, 30 seconds, 10 seconds, 7.5 seconds, 7 seconds, 6.5 seconds, 6 seconds, 5.5 seconds, 5 seconds, 4.5 seconds, 4 seconds, 3.5 seconds, 3 seconds, 2.5 seconds, 2 seconds, 1.5 seconds, 1 second locates, the value of latter 120 seconds fields is the call number of the bag of the second starting point.
Meanwhile, the present invention also provides one to write mirror image video interval code stream recompile and seamless connecting system, comprising:
First processing module, obtain the quantity N of the first bag in order to the first initial point of fragment of rearranging that sets according to user and the first end point, wherein N is positive integer;
Second processing module, in order to the coding parameter recompile the first initial point that provides according to user to the video segment of the first end point until reach the perceived quality standard of user, to obtain the second starting point and second end point of new video segment;
3rd processing module, in order to obtain the quantity M of the second bag according to described second processing module; Wherein M is positive integer;
4th processing module, in order to carry out seamless access adjustment according to the quantity M of the first initial point of described first processing module and the second bag of the quantity N of the first end point and the first bag, the second starting point of the second processing module and the second end point and the 3rd processing module;
First update module, the navigation information before upgrading the second starting point and after the second end point.
Optionally, write in mirror image video interval code stream recompile and seamless connecting system described, described in fragment of rearranging comprise DVD/CHD mirror image.
Optionally, write in mirror image video interval code stream recompile and seamless connecting system described, described coding parameter comprises: quantization step and coding bit rate.
Optionally, write in mirror image video interval code stream recompile and seamless connecting system described, in described each bag, there is packet header, there is in described packet header the information of wrapping self call number.
Implement one of the present invention and write mirror image video interval code stream recompile and seamless access method and system, there is following beneficial effect: when the video quality of user to the mirror image write is unsatisfied with, user only need carry out recompile to unsatisfied video segment and seamless access generates mirror image, instead of recompile is carried out to whole video, save a large amount of human and material resources and time, substantially increase the efficiency of writing software.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is a kind of structural representation having write mirror image video interval code stream recompile and seamless connecting system of the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet having write mirror image video interval code stream recompile and seamless access method of the embodiment of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, mirror image video interval code stream recompile and seamless access method and system further description are write to the one that the present invention proposes.According to the following describes and claims, advantages and features of the invention will be clearer.It should be noted that, accompanying drawing all adopts the form that simplifies very much and all uses non-ratio accurately, only in order to object that is convenient, the aid illustration embodiment of the present invention lucidly.
Please refer to Fig. 1, it is a kind of structural representation having write mirror image video interval code stream recompile and seamless connecting system of the embodiment of the present invention.As shown in Figure 1, one has write mirror image video interval code stream recompile and seamless connecting system, comprising:
First processing module 11, obtains the quantity N of the first bag (pack) in order to the first initial point of fragment of rearranging that sets according to user and the first end point; Wherein, N is positive integer; Concrete, in each bag, there is packet header, there is in described packet header the information (lba information) of wrapping self call number.
Second processing module 12, in order to the coding parameter recompile the first initial point that provides according to user to the video segment of the first end point until reach the perceived quality standard of user, to obtain the second starting point and second end point of new video segment; Concrete, described coding parameter comprises: quantization step and coding bit rate.
3rd processing module 13, in order to obtain the quantity M of the second bag according to described second processing module 12; Wherein M is positive integer;
4th processing module 14, in order to carry out seamless access adjustment according to the quantity M of the first initial point of described first processing module 11 and the second bag of the quantity N of the first end point and the first bag, the second starting point of the second processing module 12 and the second end point and the 3rd processing module 13;
First update module 15, in order to the navigation information before upgrading the second starting point and after the second end point.
Please refer to Fig. 2, it is the schematic flow sheet writing a kind of interval code stream recompile of mirror image video and seamless access method of the embodiment of the present invention.As shown in Figure 2, one has write mirror image video interval code stream recompile and seamless access method, comprising:
S21: according to the first initial point of the fragment of rearranging of user's setting and the quantity N of the first end point acquisition first bag, wherein, N is positive integer.
Concrete, user can find corresponding video object unit (VideoObjectUnit according to the first initial point of the fragment of rearranging of setting and the first end point, VOBU) starting point and end point, a lot of bags are comprised in described video object unit, the length of a bag is 2048bytes, in described each bag, there is packet header, there is in described packet header the information of wrapping self call number, to sum up the call number+1 of the bag of the call number-the first initial point of the bag of N=first end point.
S22: the coding parameter recompile the first initial point provided according to user to the video segment of the first end point until meet the perceived quality standard of user, to obtain the second starting point and second end point of new video segment.
Concrete, the sequence of pictures obtained, to the video segment of the first end point, is kept in by the first initial point of first decoding;
Then, the coding parameter that temporary sequence of pictures being given encoder provides according to user carries out recompile, and wherein, described coding parameter comprises: quantization step and coding bit rate;
Then the video segment that obtains of user's preview recompile, when video segment does not meet the perceived quality standard of user, then user can regulate at least one coding parameter to carry out recompile to described video segment, until meet the perceived quality standard of user;
Finally, the second starting point and the second end point is obtained according to new video segment.
S23: the quantity M obtaining the second bag according to described second starting point and the second end point, wherein M is positive integer.
Concrete, the call number+1 of the bag of call number-the second starting point of the bag of M=second end point.
S24: the quantity M according to described the first initial point and the first end point, described second starting point and the second end point and the described first quantity N wrapped and second bag carries out seamless access adjustment.
Concrete, when M is less than N, after described second end point, write (N-M) × 2048bytes individual 0;
When M is greater than N, upgrade call number and the end address of the bag of each bag after described first end point; Wherein, PACK.lba_new=PACK.lba_old+ second end point .lba-the first initial point .lba;
PACK. end address _ new=PACK. end address _ old+ second end point. end address-the first initial point. end address; Especially, because firstreferenceframe/secondreferenceframe/thirdreferencef rame/offsetaudiopackforstreamN/offsetsubtitlepackforstre amM in NAVPack (each VOBU is initial with NAVPack) all uses relative value therefore herein without the need to upgrading.
S25: the navigation information (sri) before upgrading the second starting point and after the second end point;
Concrete, the navigation information in before upgrading the second starting point and after the second end point comprises: the value upgrading latter 120 seconds fields in the navigation information at the second starting point first 120 seconds, 60 seconds, 30 seconds, 10 seconds, 7.5 seconds, 7 seconds, 6.5 seconds, 6 seconds, 5.5 seconds, 5 seconds, 4.5 seconds, 4 seconds, 3.5 seconds, 3 seconds, 2.5 seconds, 2 seconds, 1.5 seconds, 1 second place is the call number of the bag of the second starting point.
Concrete, upgrade the second starting point and comprise to the navigation information in the second end point interval: in the navigation information that after upgrading the second end point, 120 seconds, 60 seconds, 30 seconds, 10 seconds, 7.5 seconds, 7 seconds, 6.5 seconds, 6 seconds, 5.5 seconds, 5 seconds, 4.5 seconds, 4 seconds, 3.5 seconds, 3 seconds, 2.5 seconds, 2 seconds, 1.5 seconds, 1 second locates, the value of latter 120 seconds fields is the call number of the bag of the second starting point.
By the combination of said structure, when the video quality of user to the mirror image write (preferably adopting DVD/CHD mirror image in the present embodiment) is unsatisfied with, user only need carry out recompile to unsatisfied video segment and seamless access generates mirror image, instead of recompile is carried out to whole video, save a large amount of human and material resources and time, substantially increase the efficiency of writing software.
Foregoing description is only the description to present pre-ferred embodiments, any restriction not to the scope of the invention, and any change that the those of ordinary skill in field of the present invention does according to above-mentioned disclosure, modification, all belong to the protection range of claims.

Claims (10)

1. write mirror image video interval code stream recompile and a seamless access method, it is characterized in that, comprising:
According to the first initial point of the fragment of rearranging of user's setting and the quantity N of the first end point acquisition first bag; Wherein, N is positive integer;
The coding parameter recompile the first initial point provided according to user to the video segment of the first end point until meet the perceived quality standard of user, to obtain the second starting point and second end point of new video segment;
The quantity M of the second bag is obtained according to described second starting point and the second end point; Wherein M is positive integer;
Quantity M according to described the first initial point and the first end point, described second starting point and the second end point and the described first quantity N wrapped and second bag carries out seamless access adjustment;
Navigation information before upgrading the second starting point and after the second end point;
Wherein, in described each bag, there is packet header, there is in described packet header the information of wrapping self call number;
Carry out seamless access adjustment according to the quantity M of quantity N and second bag of described the first initial point and the first end point, described second starting point and the second end point and described first bag to comprise:
When M is less than N, after described second end point, write (N-M) × 2048bytes individual 0;
When M is greater than N, upgrade call number and the end address of the bag of each bag after described first end point.
2. according to claim 1ly write mirror image video interval code stream recompile and seamless access method, it is characterized in that, described in fragment of rearranging comprise DVD/CHD mirror image.
3. according to claim 1ly mirror image video interval code stream recompile and seamless access method have been write, it is characterized in that, the coding parameter recompile the first initial point provided according to user is to the video segment of the first end point until meet the perceived quality standard of user, with in the step of the second starting point and the second end point that obtain new video segment
When video segment does not meet the perceived quality standard of user, user regulates at least one coding parameter to carry out recompile to described video segment.
4. according to claim 3ly write mirror image video interval code stream recompile and seamless access method, it is characterized in that, described coding parameter comprises: quantization step and coding bit rate.
5. according to claim 1ly mirror image video interval code stream recompile and seamless access method have been write, it is characterized in that, the navigation information in before upgrading the second starting point and after the second end point comprises: the value upgrading latter 120 seconds fields in the navigation information at the second starting point first 120 seconds, 60 seconds, 30 seconds, 10 seconds, 7.5 seconds, 7 seconds, 6.5 seconds, 6 seconds, 5.5 seconds, 5 seconds, 4.5 seconds, 4 seconds, 3.5 seconds, 3 seconds, 2.5 seconds, 2 seconds, 1.5 seconds, 1 second place is the call number of the bag of the second starting point.
6. according to claim 1ly mirror image video interval code stream recompile and seamless access method have been write, it is characterized in that, upgrade the second starting point and comprise to the navigation information in the second end point interval: in the navigation information that after upgrading the second end point, 120 seconds, 60 seconds, 30 seconds, 10 seconds, 7.5 seconds, 7 seconds, 6.5 seconds, 6 seconds, 5.5 seconds, 5 seconds, 4.5 seconds, 4 seconds, 3.5 seconds, 3 seconds, 2.5 seconds, 2 seconds, 1.5 seconds, 1 second locates, the value of latter 120 seconds fields is the call number of the bag of the second starting point.
7. write mirror image video interval code stream recompile and a seamless connecting system, it is characterized in that, comprising:
First processing module, obtains the quantity N of the first bag in order to the first initial point of fragment of rearranging that sets according to user and the first end point; Wherein, N is positive integer;
Second processing module, in order to the coding parameter recompile the first initial point that provides according to user to the video segment of the first end point until reach the perceived quality standard of user, to obtain the second starting point and second end point of new video segment;
3rd processing module, in order to obtain the quantity M of the second bag according to described second processing module; Wherein M is positive integer;
4th processing module, in order to carry out seamless access adjustment according to the quantity M of the first initial point of described first processing module and the second bag of the quantity N of the first end point and the first bag, the second starting point of the second processing module and the second end point and the 3rd processing module;
First update module, the navigation information before upgrading the second starting point and after the second end point
Wherein, in described each bag, there is packet header, there is in described packet header the information of wrapping self call number;
Carry out seamless access adjustment according to the quantity M of quantity N and second bag of described the first initial point and the first end point, described second starting point and the second end point and described first bag to comprise:
When M is less than N, after described second end point, write (N-M) × 2048bytes individual 0;
When M is greater than N, upgrade call number and the end address of the bag of each bag after described first end point.
8. according to claim 7ly write mirror image video interval code stream recompile and seamless connecting system, it is characterized in that, described in fragment of rearranging comprise DVD/CHD mirror image.
9. according to claim 7ly write mirror image video interval code stream recompile and seamless connecting system, it is characterized in that, described coding parameter comprises: quantization step and coding bit rate.
10. according to claim 7ly write mirror image video interval code stream recompile and seamless connecting system, it is characterized in that, in described each bag, there is packet header, there is in described packet header the information of wrapping self call number.
CN201210527612.7A 2012-12-07 2012-12-07 Mirror image video interval code stream recompile and seamless access method and system are write Active CN102946542B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210527612.7A CN102946542B (en) 2012-12-07 2012-12-07 Mirror image video interval code stream recompile and seamless access method and system are write

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210527612.7A CN102946542B (en) 2012-12-07 2012-12-07 Mirror image video interval code stream recompile and seamless access method and system are write

Publications (2)

Publication Number Publication Date
CN102946542A CN102946542A (en) 2013-02-27
CN102946542B true CN102946542B (en) 2015-12-23

Family

ID=47729442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210527612.7A Active CN102946542B (en) 2012-12-07 2012-12-07 Mirror image video interval code stream recompile and seamless access method and system are write

Country Status (1)

Country Link
CN (1) CN102946542B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243597A (en) * 1997-09-17 2000-02-02 松下电器产业株式会社 Video data editing apparatus, optical disc for use as recording medium of video data editing apparatus, and computer-readable recording medium storing editing program
CN1516977A (en) * 2001-06-18 2004-07-28 汤姆森特许公司 Changig playback speed for video presentation recorded in progressive frame structure format
CN1926863A (en) * 2004-06-27 2007-03-07 苹果电脑有限公司 Multi-pass video encoding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243597A (en) * 1997-09-17 2000-02-02 松下电器产业株式会社 Video data editing apparatus, optical disc for use as recording medium of video data editing apparatus, and computer-readable recording medium storing editing program
CN1516977A (en) * 2001-06-18 2004-07-28 汤姆森特许公司 Changig playback speed for video presentation recorded in progressive frame structure format
CN1926863A (en) * 2004-06-27 2007-03-07 苹果电脑有限公司 Multi-pass video encoding

Also Published As

Publication number Publication date
CN102946542A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
JP6233984B2 (en) Virtual reference decoder for multiview video coding
HRP20231180T1 (en) Reducing latency in video encoding and decoding
CN102511164B (en) For carrying out the method and apparatus of Code And Decode to image based on skip mode
JP2012531808A5 (en)
BR112016000920A2 (en) IMAGE DECODING APPARATUS AND METHOD
JP2008219204A5 (en)
JP2008536440A5 (en)
JP2011519078A5 (en)
CN102243615B (en) Memory buffer management method supporting audio/video frame storage
CN104349100A (en) DVR monitoring system supporting single-channel dual-stream video recording and method thereof
US8855433B2 (en) Tracking a reference picture based on a designated picture on an electronic device
JP2023015265A5 (en)
CN103544270B (en) The generalization network code fault tolerant storage platform at data-oriented center and method of work
CN102946542B (en) Mirror image video interval code stream recompile and seamless access method and system are write
US9877030B2 (en) Apparatus and method for encoding/decoding additional intra-information
CN102984548B (en) 3D video coding transmission method and apparatus
CN113271467B (en) Ultra-high-definition video layered coding and decoding method supporting efficient editing
GB2484969B (en) Improved reference frame for video encoding and decoding
CN101917620B (en) Method for intraframe coding of geographic information in MEPG-2 video coding
CN101945271B (en) Image compression system and compression method
CN105847823A (en) Method for reducing use of memory bandwidth during video decoding
CN103533324B (en) A kind of depth image inner frame coding method, device and encoder
CN105657448B (en) A kind of retransmission method, the apparatus and system of encoded video stream
PH12018501446A1 (en) Dynamic image predictive encoding and decoding device, method, and program
CN103313056B (en) A kind of sub-block restorative procedure based on image co-registration and edge Hash

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