1
Video Splitter / Re: Bug? Mpeg-2 + h264: Frames get omitted when cutting on specific spots
« on: September 23, 2017, 11:28:57 PM »
For the Mpeg-2 cuts:
I had tested it with the following start and end cuts:
As the start cut I used the "End Marker"
As the end cut I used the "Begin Marker"
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected 13 frames
result: 11 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected 12 frames
result: 11 frames
I also tested the following cuts, where sometimes too much frames were outputted.
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected 12 frames
result: 10 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected 11 frames
result: 10 frames
________________________________________________________________________
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 11 frames
result: 14 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 10 frames
result: 14 frames
________________________________________________________________________
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 10 frames
result: 13 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 9 frames
result: 13 frames
________________________________________________________________________
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 9 frames
result: 12 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 8 frames
result: 12 frames
________________________________________________________________________
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 8 frames
result: 11 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 7 frames
result: 11 frames
For the h264 cuts I had the start cut before an I-Frame
I had tested it with the following start and end cuts:
As the start cut I used the "End Marker"
As the end cut I used the "Begin Marker"
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected 13 frames
result: 11 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected 12 frames
result: 11 frames
I also tested the following cuts, where sometimes too much frames were outputted.
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected 12 frames
result: 10 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected 11 frames
result: 10 frames
________________________________________________________________________
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 11 frames
result: 14 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 10 frames
result: 14 frames
________________________________________________________________________
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 10 frames
result: 13 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 9 frames
result: 13 frames
________________________________________________________________________
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 9 frames
result: 12 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 8 frames
result: 12 frames
________________________________________________________________________
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 8 frames
result: 11 frames
... I B B P B B P B B P B B I B B P B B P B B P B B I B B P B B P B B P B B I ...
^ ^
start cut end cut
expected: 7 frames
result: 11 frames
For the h264 cuts I had the start cut before an I-Frame