h.265 and GOP-structure
Posted: Fri May 20, 2016 7:45 pm
I've been experimenting a bit with encoding h.265 videos with Handbrake (latest version at the time I write this..) and later edit these together with "TMPG Smart Renderer 5". If you're unfamiliar with that tool, it's a simple videoediting tool that allows you to merge/edit several videos to one file with minimal encoding, it just copies unedited parts to save rendering time..).
Anyway. That tool doesn't work very well with Handbrake encoded h.265 videos. It keeps insisting on recoding the movies even if it shouldn't be required.
I contacted their support and let them examine a file I've encoded with Handbrake, and their response was:
"You file has a long GOP.
It has a structure that the whole GOP1 ~ GOP3 has been recognized as a
Closed GOP Sequence. That which is counted as a single Closed
GOP of 1381 frames.
Since when the case of a MP4 target is smart rendered in Closed GOP
priority, it can not be cut from the middle of the Closed
GOP of 1381 frames, then the overall results have to be re-encoded.
When the number of frames of the source is recognized as more as Open
GOP rather than the Closed GOP Sequence, it does not occur such
phenomenon.
"
Does the above answer mean anything to you guys? If so, is there a setting to adjust this behaviour in Handbrake?
I tried encoding movies with Cyberlink Powerdirector in h.265 mode and this problem didn't appear at all, files were "smartencoded" without issues, so Handbrake is obviously doing something that Powerdirector is not (however I'd prefer to use Handbrake if possible ).
Anyway. That tool doesn't work very well with Handbrake encoded h.265 videos. It keeps insisting on recoding the movies even if it shouldn't be required.
I contacted their support and let them examine a file I've encoded with Handbrake, and their response was:
"You file has a long GOP.
It has a structure that the whole GOP1 ~ GOP3 has been recognized as a
Closed GOP Sequence. That which is counted as a single Closed
GOP of 1381 frames.
Since when the case of a MP4 target is smart rendered in Closed GOP
priority, it can not be cut from the middle of the Closed
GOP of 1381 frames, then the overall results have to be re-encoded.
When the number of frames of the source is recognized as more as Open
GOP rather than the Closed GOP Sequence, it does not occur such
phenomenon.
"
Does the above answer mean anything to you guys? If so, is there a setting to adjust this behaviour in Handbrake?
I tried encoding movies with Cyberlink Powerdirector in h.265 mode and this problem didn't appear at all, files were "smartencoded" without issues, so Handbrake is obviously doing something that Powerdirector is not (however I'd prefer to use Handbrake if possible ).