Live data from Hacker News

Comparing H.265 (HEVC) and H265 video file size

janstechtalk.blogspot.com

51–60 of 121 posts

Re: Comparing H.265 (HEVC) and H265 video file size

#51
post #40

The comparison of H.264 and H.265 in this article doesn't make any sense. Lossy codecs can make files almost arbitrarily small at the expanse of quality. You should look at both quality and size; size alone doesn't mean anything. Also H.264 and H.265 are just formats; there are many encoders of varying quality which can generate such files and each encoder has tons of settings. I don't know which encoder macOS uses b…

> No, DivX refers to MPEG-4 Part 2 which is a completely different codec. Poster is referring to the DivX Plus HD codec [1]. [1] https://en.m.wikipedia.org/wiki/DivX_Plus_HD

Like nobody else, ever.

Re: Comparing H.265 (HEVC) and H265 video file size

#52
The submission title claims they are the same quality but the article has a different title, and doesn't make any claims to video quality.

Converting video from a lossy format to another lossy format with these settings will significantly degrade the quality. For a desktop recording that could be problematic, still frames could be unreadable.

Going from a lossless video file to both h264 and h265 will typically have h265 files about 30% smaller at the same quality, but this comes with significant tradeoffs for transcoding time. And there is some nuance to getting the best quality, generally there are more resources on how to do this with h264. And h265 hardware support isn't quite universal, many older mobile devices do not support it for instance.

Re: Comparing H.265 (HEVC) and H265 video file size

#53

Earlier quoted context omitted.

The original h264 file was likely optimized for write speed and not storage (which takes cpu time and can introduce lag in real time recording). Reencoding the same input file as h264 again but using FFmpeg defaults would probably yield similar file size reductions. This is just a bogus post without knowing what parameters were used to encode the original h264.

For science, I just took a 10 second screen recording of my Mac with nothing but my tiny mouse cursor moving around for a few seconds which means a very static shot. The recording came out at 7.5MB. There was no audio in the original recoding. I then used that as a source to transcode with x264 crf 23. New filesize 2.0M. ~26% ffmpeg -i input.mov -c:v libx264 -crf 23 x264.mp4 Next, I used the same 7.5MB source to tran…

Conflating a 50% reduction and 94% reduction is pretty bogus.

Re: Comparing H.265 (HEVC) and H265 video file size

#54
post #40

The comparison of H.264 and H.265 in this article doesn't make any sense. Lossy codecs can make files almost arbitrarily small at the expanse of quality. You should look at both quality and size; size alone doesn't mean anything. Also H.264 and H.265 are just formats; there are many encoders of varying quality which can generate such files and each encoder has tons of settings. I don't know which encoder macOS uses b…

> No, DivX refers to MPEG-4 Part 2 which is a completely different codec. Poster is referring to the DivX Plus HD codec [1]. [1] https://en.m.wikipedia.org/wiki/DivX_Plus_HD

I wouldn't call that "what was once known in the scene as DivX"...

Re: Comparing H.265 (HEVC) and H265 video file size

#55
post #40

The comparison of H.264 and H.265 in this article doesn't make any sense. Lossy codecs can make files almost arbitrarily small at the expanse of quality. You should look at both quality and size; size alone doesn't mean anything. Also H.264 and H.265 are just formats; there are many encoders of varying quality which can generate such files and each encoder has tons of settings. I don't know which encoder macOS uses b…

ffmpeg only uses x264 if you tell it too. if you don't set -c:v libx264 when creating a .mp4 output, i'm pretty sure it uses the libav h264 encoder. if you use a binary of ffmpeg without --non-free/--non-gpl (forget which) enabled, do you even get x264?

Re: Comparing H.265 (HEVC) and H265 video file size

#56

Earlier quoted context omitted.

If your videos are already h.264, you probably should not convert them to h.265. You'll lose some quality to generation loss and the difference in size is not huge.

You're responding in context of an article which says: > "what if I convert my screen recordings from H.264 to H.265?" Well, two things happend: My files shrink to 6% (not a type) Sounds like the difference can be huge.

The article doesn't make any claims to the quality, you could reencode the same video to quicktime or mp4 with a similar final size depending on what quality settings you use

Re: Comparing H.265 (HEVC) and H265 video file size

#57
post #46

I don’t really understand the technical details of compression schemes, but my piece of anecdata is this: in my experience installing/maintaining CCTV systems, using H.265 over H.264 approximately halves the used bandwidth and storage for the same video quality. This is much more pronounced in static/less active scenes, but is still a measurable benefit in highly active scenes.

Assuming you meant H.265 over H.264 but could someone confirm?

Yup sorry, typo

Re: Comparing H.265 (HEVC) and H265 video file size

#58
post #19

Mostly static a screen recordings are pretty much the ideal content to show off H.265. The screen would be broken down into blocks, and ones that don’t contain much motion or complexity would use nearly no bandwidth. This image should demonstrate that: https://postimg.cc/D8MZyzHd Also, I’m not criticizing the authors English (which is much better than my Dutch), but some of those mistakes were almost poetic: > Some m…

Ingest would be a better choice

Re: Comparing H.265 (HEVC) and H265 video file size

#59

The main hurdle for adoption, aside from onerous patents, is waiting for hardware acceleration to be common place. What is the current state of h.265 hardware accel? Does it come with everything yet like h.264 does?

How would you if your hardware can or cannot decode h.265? Would it simply not play or might play but stutter, or play in some compromised way?

It would be slow and your laptop would sound like it’s taking off

Re: Comparing H.265 (HEVC) and H265 video file size

#60
post #40

The comparison of H.264 and H.265 in this article doesn't make any sense. Lossy codecs can make files almost arbitrarily small at the expanse of quality. You should look at both quality and size; size alone doesn't mean anything. Also H.264 and H.265 are just formats; there are many encoders of varying quality which can generate such files and each encoder has tons of settings. I don't know which encoder macOS uses b…

> No, DivX refers to MPEG-4 Part 2 which is a completely different codec. Poster is referring to the DivX Plus HD codec [1]. [1] https://en.m.wikipedia.org/wiki/DivX_Plus_HD

Show me any popular torrent using the word "DIVX" to refer to that.
Post reply on HN