BUG - Duplicated GOP and Blocking Artifacts in Output File
Posted: Sun Nov 21, 2010 7:43 pm
Please refer to the files uploaded to subdirectory 'wavelet' on the FTP server.
File test1.ts is the original transport stream.
File test1cut.ts is the output after attempting to cut from frames #16 to #496 inclusive (where the first frame is frame #0).
There are 2 bugs in the output.
Bug 1. 17 frames have been duplicated near the beginning of the output file. The beginning of the output file consists of the following:-
- a re-encoded GOP containing 24 frames (frames 16 through 39 of the original file)
- a re-encoded GOP containing 17 frames (frames 40 through 56 of the original file)
- a duplicate GOP containing 17 frames (frames 40 through 56 of the original file). The duplicate GOP appears not be re-encoded because its frames have pic_struct set to 3, the same as the original file. (pic_struct in the re-encoded GOPs is 0.)
Bug 2. The final 3 frames in the output file (part of a re-encoded GOP of 7 frames) have blocking artifacts (see file test1artifacts.png for an example).
This example may appear a bit unusual in that the video is interlaced (and it is quite shocking how many established H.264/AVC video tools out there don't handle interlaced video) and the GOPs do not always start with an I frame. Nevertheless, I would say it's a fairly standard example of a DVB transport stream.
File test1.ts is the original transport stream.
File test1cut.ts is the output after attempting to cut from frames #16 to #496 inclusive (where the first frame is frame #0).
There are 2 bugs in the output.
Bug 1. 17 frames have been duplicated near the beginning of the output file. The beginning of the output file consists of the following:-
- a re-encoded GOP containing 24 frames (frames 16 through 39 of the original file)
- a re-encoded GOP containing 17 frames (frames 40 through 56 of the original file)
- a duplicate GOP containing 17 frames (frames 40 through 56 of the original file). The duplicate GOP appears not be re-encoded because its frames have pic_struct set to 3, the same as the original file. (pic_struct in the re-encoded GOPs is 0.)
Bug 2. The final 3 frames in the output file (part of a re-encoded GOP of 7 frames) have blocking artifacts (see file test1artifacts.png for an example).
This example may appear a bit unusual in that the video is interlaced (and it is quite shocking how many established H.264/AVC video tools out there don't handle interlaced video) and the GOPs do not always start with an I frame. Nevertheless, I would say it's a fairly standard example of a DVB transport stream.