SYSTEMS AND METHODS FOR GROUP OF PICTURES ENCODING
Systems and methods are provided encoding a video. Video data is captured. The video data is stored in a group of pictures format, where the group of pictures format comprises a plurality of GOP files, each GOP file including exactly one group of pictures unit. The video data is encoded into a prespecified format. Encoding includes accessing the GOP files containing the video data in the group of pictures format, and encoding the video data into the prespecified format using the GOP files to generate an encoded video.
This application claims priority to U.S. Provisional Patent Application No. 61/955,946, filed Mar. 20, 2014, entitled “Systems and Methods for Group of Pictures Encoding,” the entirety of which is herein incorporated by reference.
FIELDThis disclosure is related generally to digital video and more particularly to digital video encoding.
BACKGROUNDThe demand for digital video continues to increase, especially in view of the continually falling costs of bandwidth for delivery of such video. While data processing speeds continue to increase, video encoding is still often a time consuming endeavor. Thus, there is a continuing need to streamline video encoding processes.
SUMMARYSystems and methods are provided encoding a video. Video data is captured. The video data is stored in a group of pictures format, where the group of pictures format comprises a plurality of GOP files, each GOP file including exactly one group of pictures unit. The video data is encoded into a prespecified format. Encoding includes accessing the GOP files containing the video data in the group of pictures format, and encoding the video data into the prespecified format using the GOP files to generate an encoded video.
As another example, a system for encoding a video includes a computer-readable medium encoded with video data stored in a group of pictures format, wherein the group of pictures format comprises a plurality of GOP files, each GOP file including exactly one group of pictures unit. A data processor is configured to encode the video data in the group of pictures format using the GOP files to generate an encoded video.
A group of pictures is an independent unit of video data that includes exactly one independently coded picture frame and one or more intermediate frames that directly or indirectly reference the independently coded picture frame. A GOP file 102 contains exactly one group of pictures unit 112. A group of pictures unit includes one independently coded picture frame (e.g., I frame 106) and one or more intermediate frames 108 that directly or indirectly reference the independently coded frame. The GOP file 102 does not include the second independently coded frame 110. Each group of pictures of the video data 104 is compiled into a GOP file 102, where each GOP file 102 is stored in a computer-readable medium 114.
A computer-readable medium containing a collection of GOP files (e.g., an unencoded collection of an I frame and referencing P and B frames) can be utilized to generate encoded video in a variety of contexts.
The system is configured to access GOP files associated with the first subset and the second subset (i.e., GOP files 1.3, 1.4, 1.5, 2.3, 2.4, and 2.5). The reencoded video 608 will change at the portions associated with these GOP files, but will not change at portions associated with GOP files outside of the first subset and the second subset (i.e., GOP files 1.2, 2.6, and 2.7). The system reencodes the encoded video 602 based on the accessed first and second subset GOP files without reaccessing the GOP files outside of the first subset and the second subset. Instead, the system reutilizes the encoded portions of those unchanged periods in the encoded video. In the example of
This application uses examples to illustrate the invention. The patentable scope of the invention includes other examples.
Claims
1-20. (canceled)
21. A computer-implemented method for encoding a video, the method comprising:
- receiving first encoded video data comprised of a first set of GOP units, wherein each GOP unit comprises exactly one independently coded frame and one or more dependently coded frame;
- receiving second encoded video data comprised of a second set of GOP units;
- receiving instructions for generating third encoded video data based on the first encoded video data and the second encoded video data, wherein the instructions identify a transition portion from the first encoded video data to the second encoded video data; and
- generating the third encoded video data by— determining a first subset of the first set of GOP units and a first subset of the second set of GOP units corresponding to the transition portion; encoding a transition GOP unit from the first subset of the first set of GOP units and the first subset of the second set of GOP units; and combining a second subset of the first set of GOP units, a second subset of the second set of GOP units, and the transition GOP unit to form the third encoded video data.
22. The method of claim 21 wherein the first subset of the first set of GOP units comprises one GOP unit.
23. The method of claim 21 wherein the first subset of the first set of GOP units comprises a plurality of GOP units.
24. The method of claim 21 wherein the encoded transition GOP unit includes at least one frame from the first set of GOP units and at least one frame from the second set of GOP units.
25. The method of claim 21 wherein the second subset of the first set of GOP units and the second subset of the second set of GOP units are combined in the generated third encoded video data without re-encoding the GOP units.
26. The method of claim 21 wherein the second subset of the first set of GOP units and the second subset of the second set of GOP units correspond to GOP units that do not fall within the transition portion.
27. The method of claim 21 wherein the transition portion corresponds to a cross fade, a dissolve, a peel, a hard transition, or a wipe.
28. A non-transitory computer-readable medium containing instructions configured to cause one or more processors to perform a method for encoding a video, the method comprising:
- receiving first encoded video data comprised of a first set of GOP units, wherein each GOP unit comprises exactly one independently coded frame and one or more dependently coded frame;
- receiving second encoded video data comprised of a second set of GOP units;
- receiving instructions for generating third encoded video data based on the first encoded video data and the second encoded video data, wherein the instructions identify a transition portion from the first encoded video data to the second encoded video data; and
- generating the third encoded video data by— determining a first subset of the first set of GOP units and a first subset of the second set of GOP units corresponding to the transition portion; encoding a transition GOP unit from the first subset of the first set of GOP units and the first subset of the second set of GOP units; and combining a second subset of the first set of GOP units, a second subset of the second set of GOP units, and the transition GOP unit to form the third encoded video data.
29. The non-transitory computer-readable medium of claim 28 wherein the first subset of the first set of GOP units comprises one GOP unit.
30. The non-transitory computer-readable medium of claim 28 wherein the first subset of the first set of GOP units comprises a plurality of GOP units.
31. The non-transitory computer-readable medium of claim 28 wherein the encoded transition GOP unit includes at least one frame from the first set of GOP units and at least one frame from the second set of GOP units.
32. The non-transitory computer-readable medium of claim 28 wherein the second subset of the first set of GOP units and the second subset of the second set of GOP units are combined in the generated third encoded video data without re-encoding the GOP units.
33. The non-transitory computer-readable medium of claim 28 wherein the second subset of the first set of GOP units and the second subset of the second set of GOP units correspond to GOP units that do not fall within the transition portion.
34. The non-transitory computer-readable medium of claim 28 wherein the transition portion corresponds to a cross fade, a dissolve, a peel, a hard transition, or a wipe.
35. A computer-implemented method for encoding a video, the method comprising:
- receiving first encoded video data comprised of a set of GOP units, wherein each GOP unit comprises exactly one independently coded frame and one or more dependently coded frame;
- receiving instructions for generating second encoded video data based on the first encoded video data, wherein the instructions identify a transition from a first time of the first encoded video data to a second time of the first encoded video data; and
- generating the second encoded video data by— determining a first subset of the set of GOP units and a second subset of the set of GOP units corresponding to the transition; encoding a transition GOP unit from the first subset of the set of GOP units and the second subset of the set of GOP units; and combining a third subset of the set of GOP units, a fourth subset of the set of GOP units, and the transition GOP unit to form the second encoded video data.
36. The method of claim 35 wherein the first subset of the set of GOP units corresponds to the first time of the first encoded video data and the second subset of the set of GOP units corresponds to the second time of the first encoded video data.
37. The method of claim 35 wherein the first subset of the set of GOP units comprises one GOP unit.
38. The method of claim 35 wherein the first subset of the set of GOP units comprises a plurality of GOP units.
39. The method of claim 35 wherein the encoded transition GOP unit includes at least one frame from the first subset of the set of GOP units and at least one frame from the second subset of the set of GOP units.
40. The method of claim 35 wherein the third subset of the set of GOP units and the fourth subset of the set of GOP units are combined in the generated second encoded video data without re-encoding the GOP units.
41. The method of claim 35 wherein the third subset of the set of GOP units and the fourth subset of the set of GOP units correspond to GOP units that do not fall within the transition.
Type: Application
Filed: Mar 8, 2018
Publication Date: Jul 12, 2018
Inventor: Eric Burns (Seattle, WA)
Application Number: 15/915,328