The invention relates to the field of editing a recorded stream of application packets, in particular to editing a recorded DVD data stream.
The DVD Stream Recording standard defines Application Packets (AP_PCK) as the logically smallest and therefore undividable units created from the input data stream during recording.
A typical user interface provides a time axis to access the recorded content like video or audio. Usually the conversion from a point on the time axis to a corresponding application packet is realised by using the mapping list available in the DVD Stream Recorder navigation data. By means of this method the search for a target time is generating a matching application packet.
However, depending on the target time and the Stream Object selected, the match found might vary unexpectedly widely and therefore result in unacceptably large deviations from the user's intention. A user wants, for example, removing the beginning of a video sequence and is selecting a corresponding target time of 01:44:02 (hour:minute:second) for the end of the cut. However, due to the specific constellation of that Stream Object this might result in a cut end time 03:50:00.
It is therefore an object of the present invention to provide an improved method for editing a recorded stream of application packets, and a corresponding stream recorder and computer program.
The underlying problem of the invention is solved by applying the features laid down in the independent claims. Advantageous additional embodiments of the invention are disclosed in the respective dependent claims.
The present invention is particularly advantageous in that it enables to accurately map a point on the time axis onto a corresponding application packet. This conversion algorithm applied considers particular limitations given by the DVD Stream Recording standard. This is important whenever such stream data is edited, i.e. when parts of the stream data are deleted. By using the conversion algorithm the user is able to control the editing result more precisely.
In accordance with a preferred embodiment of the invention a user interface is provided for a user's selection of a start time and an end time for the editing task. The start and end times of the editing task are selected by the user on a time axis provided by the user interface. The user interface presents recorded or user defined streams—like video or audio for example—in time units on a linear time scale. Especially the definition of editing tasks is based upon the access on the linear time axis by specifying the start and end times for editing.
In accordance with a further embodiment of the invention stuffing packets are inserted between application packets. The DVD stream data itself is organised in Application Packets AP_PCK, which are the logically smallest undividable units. Each AP_PCK has an Application Packet Arrival Time (APAT) stamp indicating the time when the packet had arrived. Normally, application packets will not arrive at equidistant times, resulting in varying gaps between subsequent application packets. There can even be very large gaps; in this case stuffing packets need to be inserted. Such stuffing packets become necessary for DVD stream recording when a maximum time limit between two incoming AP_PCKs is exceeded. In such case, the mapping of the user's selected time is always performed on an application packet and not on a stuffing packet in order to include the stuffing packets within the editing task. For example, if the user intends to erase the portion of the stream between the start time and the end time it is advantageous including stuffing packets in the editing task for compacting the stream.
In principle, the inventive method is suited for editing a recorded stream of application packets, the stream comprising at least a first application packet having a first arrival time stamp and a subsequent second application packet having a second arrival time stamp, the method including:
Exemplary embodiments of the invention are described with reference to the accompanying drawings, which show in:
The editing of original and user-defined program chains is a main feature of DVD Stream Recording. For setting up an editing process it is necessary to determine the start and end times of the editing task. The selected start and end times determine the type of editing and will cause a split, a cut head, a cut tail or a removal of the stream cell under edit.
Further an additional time axis 4 is provided. For example, the additional time axis 4 is provided by the user interface of the DVD recorder. Time axis 4 has a linear scale of discrete times, for instance a 27 MHz clock. Each of the discrete times on the time axis 4 can be selected as a target start or end time for the editing task. In the example considered here a time ‘target_APAT’ has been selected as such a target start or end time.
There is no APAT on time axis 3 that exactly matches the selected time ‘target_APAT’ on time axis 4 because the time instant ‘target_APAT’ is in the middle of one of the application packets 2, which cannot be split. Therefore appropriate APATs on time axis 3 need to be identified as potential target times for mapping the time ‘target_APAT’.
In the preferred embodiment considered here APAT 5 that is the closest preceding time on time axis 3 is selected as a potential target time, as well as APAT 6 that is the closest APAT on time axis 3 following time target_APAT on the time axis 4. The considered target times APAT 5 and APAT 6 correspond to the specific application packets 7 and 8, respectively, of the application packets 2 of the DVD stream 1. In principle, both of the considered target times APAT 5 and APAT 6 are an appropriate choice for mapping the time target_APAT in the example considered here.
One possibility is always selecting the preceding APAT 5, or always selecting the following APAT 6 in a situation as depicted in
In the following an alternative embodiment is explained with respect to
The DVD stream 1 of
In the DVD stream 11 a stuffing block 12 of stuffing packets is included. A user has selected a target start time target_s_APAT and a target end time target_e_APAT for the editing to be performed. Because the target_s_APAT is pointing into the stuffing block 12 the application packet immediately preceding the stuffing block 12 is selected for mapping the target_s_APAT. The target_e_APAT can be mapped onto the application packet onto which it is pointing.
The DVD stream 13 shows an analogous situation where the target_e_APAT points onto the stuffing block 12 instead of the target_s_APAT. In this instance the application packet of the DVD stream 13 that immediately follows the stuffing block 12 is selected as the mapping target for the target_e_APAT.
In the case of DVD stream 14 both, the target_s_APAT and the target_e_APAT, point into a stuffing block 12. In this situation the application packet of the DVD stream 14 that immediately precedes stuffing block 12 is selected for the target_s_APAT, and the application packet immediately following stuffing block 12 is selected for the target_e_APAT.
In case of the DVD stream 15 an additional stuffing block 16 is present. The target_s_APAT points into stuffing block 12 and the target_e_APAT into stuffing block 16. In this instance the application packet immediately preceding the stuffing block 12 is selected for the target_s_APAT and the application packet immediately following the stuffing block 16 for the target_e_APAT.
An application packet, which is selected for the mapping of target_s_APAT or target_e_APAT, might not match a logical application unit border of the stream, for example the beginning of an I-frame in a video application or the beginning of an audio frame in an audio application. In this instance the user interface can propose an alternative application packet that is located at such a type of border and that is close to the originally selected application packet according to the user's selection. Evaluating application-specific stream information generates these alternatives.
Further it is possible that the user interface is signalling a large deviation between the target_s_APAT or the target_e_APAT and the respective selected application packet for the mapping to inform the user. It is a further option that, when the target start/end APAT time chosen and the assigned AP_PCK APAT time show a large deviation, the user interface is proposing alternative AP_PCK APAT times the user can select of.
The invention provides a means for the correct assignment of an arbitrary time from a linear user time scale to an available AP_PCK arranged in a fixed raster of AP_PCKs. This enables improving the user control on DVD stream recording editing tasks. Unexpected deviations from the intended editing target times can be indicated by means of the user interface and can be corrected before launching a final task execution.
| Number | Date | Country | Kind |
|---|---|---|---|
| 01250435.3 | Dec 2001 | EP | regional |
| Filing Document | Filing Date | Country | Kind |
|---|---|---|---|
| PCT/EP02/13553 | 11/30/2002 | WO |