7 ms·
h.265 makes files smaller than h.264 for a given bit rate. So an h.265 I-frame will be smaller than an h.264 I-frame. If it's a mostly static computer screen, t
by dylan604 6y ago
h.265 makes files smaller than h.264 for a given bit rate. So an h.265 I-frame will be smaller than an h.264 I-frame. If it's a mostly static computer screen, then you can get even better encoding effeciency by using a longer GOP structure so the I-frames are spread out even futher. Of course, the trade of is seeking gets worse, but works out great for push play and watch type of deliverables. h.264 can do this as well, but it still goes back to the purpose of h.265 is to be better than h.264
- boomboomsubban 6y agoIs there any reason to suspect that they used a longer GOP structure? Is the default one for ffmpeg longer than the recording software?
- dylan604 6y agoI didn't see ffmpeg command to compare. I was talking in general. Usually, it is just a value you modify. A typical GOP is 1 second. That allows decent seeking within the file. On something static, you could push it to 10 seconds. If you use ffmpeg, you can fiddle with the switches until the cows come home. For homework, you can use the same methods and use MediaInfo or ffprobe to see the GOP sizes. My money would be on 1 second GOPs from both.
- dylan604 6y agoFrom my specific tests from elsewhere in this thread, I did further analysis of the files that were run based on the examples listed in the comment. The original screen capture H.264 files did have a 1 second GOP size. However, the very simplistic ffmpeg commands to make the h.265 & h.264 files that I made used the default GOP settings from ffmpeg. Turns out, the default is 4 seconds. That would easily help get the final file size down.
- boomboomsubban 6y agoYou have went far beyond what I expected, thank you. And yet the original post I replied to is still a bit of a mystery. A recording of a desktop played a role, but h.265 still seems like a large part.
- astrange 6y ago> h.265 makes files smaller than h.264 for a given bit rate. You mean for a given CRF ("crf" isn't an official term, it's what x264/x265 call their fixed quality mode). "Bitrate" is literally how big the file is.
- dylan604 6y agoHuh? No, I mean for a given bitrate. If I encode a video at 500kbps that is the bitrate. A video at 500kbps in h.265 should be the same visual quality as an h.264 at 1000kbps. Filesize is literally how big the file is. Bitrate is how much data can be used over a window of time.
- deleted 6y ago[deleted]
- astrange 6y ago> A video at 500kbps in h.265 should be the same visual quality as an h.264 at 1000kbps. Sure, that's true. Then the only problem is you said "smaller" and not "better looking" above.