News for hackers. Stuff that matters.
Re:A Sneak Peek Comparison of x264, x265, and libvpx by tracker1 on Monday August 29, 2016 @09:21PM (#12386728)
It depends... the better the input and larger the resolution, the better x265 works for a given display. On the other side, I recently started re-ripping my DVDs of Babylon 5 for seasons 4-5 (had already watched seasons 1-3 on dvd) via Handbrake. I had to play a lot with the settings, and found that for DVD, a constant quality level 18 at medium seemed to work about best without losing too much quality. This resulted in a file size anywhere from around 290mb to 390mb, so some variance in size, for local data store this works fine, for online streams this wouldn't work as well, and would probably want a 2-pass for a consistent bitrate. This is compared to an average 850mb or so file size for the prior rip to x264. The time to encode (i7 4770k) seems to be about 13-16 minutes per episode. Again, this is at DVD source/output quality.

At 1080p, you can lower the quality to around 22-24, and get near blue-ray output... the flatter the input (animation is a great example) the bigger the difference. I'm seeing encodes at 40-60% of comparable blue-ray.

The down side, is it is significantly slower, and the quality of the x265 version of the codec is much better than say the nvidia x265 encoder, which is a shame as it's much slower too, so it becomes kind of a non-option for archives imho.

If you are encoding new media for your library, definitely go x265, it's worth the file size saving (so long as your playback devices support it well enough), but I wouldn't go back and re-encode it all, it's just too slow for now... maybe if x264 gets some CUDA support, that would be really nice (recently upgraded to a 1080 GTX).

Re:A Sneak Peek Comparison of x264, x265, and libvpx by aidenn0 on Tuesday August 30, 2016 @12:17AM (#12387507)
The sizes you quote for B5; are those per episode or per disc?

Also, using a 3d denoiser on B5 will drop the bitrate a huge amount without trading off much quality. There is significant grain in those (though seasons 1-2 were worse than 3-5 IIRC).

Re:A Sneak Peek Comparison of x264, x265, and libvpx by tracker1 on Tuesday August 30, 2016 @01:13PM (#12391934)
Per episode... I used the 3d denoiser at low setting, which helped a lot. I know Seasons 1-2 are really bad in terms of quality, which is why I mentioned it.. suspecting that s1-2 will be closer to the larger sizes because of it.
Re:A Sneak Peek Comparison of x264, x265, and libvpx by mentando on Tuesday August 30, 2016 @06:18AM (#12388693)
How would I use a 3d denoiser with ffmpeg? Any tips?
Re:A Sneak Peek Comparison of x264, x265, and libvpx by aidenn0 on Tuesday August 30, 2016 @12:01PM (#12391296)
The filter hqdn3d is what you want. Note that the defaults are for noisy video, so unless you have a really noisy source you'll want to use lower settings. I've seen hqdn3d=4:4:3:3 as a good place to start, and you can tune the numbers (lower is more noise, less blur, higher is less noise, more blur). In addition, the default values for each parameter is scaled based upon the previous value(s), so you can be lazy and just pass one or two values to get a coarse idea of the strength you want.

If the videos are to be played back on a player that supports video filters, you can add some noise back in on decode, which is particularly useful for non-HD sources as your eyes will often interpret noise as detail. Back in the h.263 days I used to do this as 1) h.263 was much worse than 264 or 265 and handling noise and 2) disk space was more expensive, so I couldn't just up the bitrate. I still have some vlc settings that can do that for playing old DVD rips. Today, unless you plan on streaming the video, I would recommend just upping the bitrate and using conservative enough denoise settings to not need it.

Re:A Sneak Peek Comparison of x264, x265, and libvpx by mmastrac on Monday August 29, 2016 @11:31PM (#12387325)
> near blue-ray output

I have those B5 DVDs as well and that's confusing - the source video quality is just not that great.

Re:A Sneak Peek Comparison of x264, x265, and libvpx by Leynos on Tuesday August 30, 2016 @02:51AM (#12388019)
That particular comment was with respect to 1080p source material (as opposed to the B5 DVDs).