Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 | Link |
Digital Devil
Join Date: Oct 2016
Posts: 4
|
How much lower of a bit rate on h.265 will give similar quality to h.264?
I've been taking lossless avi files and encoding them in h.264 at 25 mbps for 4k videos. If I make the switch to HEVC, can I really get the same quality as h.264/25mbps at half the bit rate?
Should I do h.265 at also 25 mbps to get the same quality as the h.264 output or would I get similar/equal visual quality with h.265 at a bit rate of 12.5 - 13 mbps? I've been reading these articles saying I should get the same quality as h.264 at about half the bit rate, but is that really true from your observations? |
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: Dec 2008
Posts: 589
|
Depends on the type of content in the lossless avi files. anime (big areas of colors sharp edges etc) is different than pixel art games (side scrollers and mario like games or games like stardew valley , starbound, terraria etc) game capture and different than multiplayer games with lots of action and motion and different again than movies with grain and slightly blurring which helps with compression.
I would say that 20-30% less bitrate for same quality would be realistic, if you use software encoding (like finely configured x265, configured for the type of content you wish to encode) . If you use hardware encoding (new RX series and GTX10** cards have hardware HEVC encoders) won't compare in quality with software encoders. |
![]() |
![]() |
![]() |
#3 | Link |
Digital Devil
Join Date: Oct 2016
Posts: 4
|
Thanks for the response. I'm away from the PC I've been using so won't be able to test for a few days, but I'll try out your suggestion.
I was thinking of doing the HEVC encoding with my GTX 1070 GPU. Is the quality difference between a software and hardware encoder a set rule or can the GPU encoded file produce similar quality if the bit rate is set higher, like 30 mbps as opposed to 25 mbps for the cpu encoded file? These are for videos I've shot and will make downloadable online. The reason I'm considering using the GPU for HEVC encoding rather than the CPU is because there's a large bulk of them and it's in 4k. Although my desktop has a premium thermal paste and a 240 mm Corsair H100i cooler, I'm worried CPU encoding that much will fry my processor. |
![]() |
![]() |
![]() |
#4 | Link |
Registered User
Join Date: Mar 2008
Posts: 448
|
Nvidia Nvenc for hevc encoding?
Nvenc lack of B-frame itself means higher bitrate is required. Around 50% more bitrate than software encoder x265. Read more on my post here https://forum.doom9.org/showthread.p...93#post1780493 |
![]() |
![]() |
![]() |
#5 | Link | |
Artem S. Tashkinov
Join Date: Dec 2006
Posts: 312
|
It solely depends on the source.
With a grainy/noisy source there might be zero or even negative gains, with an anime like source you might gain up to 40% of bitrate. Quote:
Last edited by birdie; 30th December 2016 at 13:19. |
|
![]() |
![]() |
![]() |
#6 | Link |
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,980
|
The real use cases for these hardware encoders are:
A) You simply cannot spend or do not have the CPU resources necessary to do proper software encoding (e.g. game streaming at high resolutions and 60p) B) You care much more for speed than quality (e.g. quick transcodes for compatibility) When quality is the primary consideration, x265 is still the bees knees ![]() |
![]() |
![]() |
![]() |
#7 | Link |
Digital Devil
Join Date: Oct 2016
Posts: 4
|
Thanks for the responses guys. Something I just thought of though - do you think most/any web browsers will have support for h.265 playback in the near future? If I want to make these videos streamable through an online video player like JWPlayer, etc., then I'm stuck having to encode in h.264, right?
|
![]() |
![]() |
![]() |
#8 | Link |
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,980
|
That is a huge problem with HEVC right now.
The only browser that does support it AFAIK is Edge, and in that case only if you have HEVC hardware acceleration in your system. From what I understand the lack of browser support is mostly due to licensing issues. FWIW, VP9 has decent software decode support on all current desktop browsers except Safari ![]() Netflix did just announce that they will stream 4K HEVC to Edge and their Windows 10 app - but curiously chose to allow this only for users of Intel's new Kaby Lake CPUs - even though users like myself with an old Sandy Bridge CPU and a new GTX 1080 GPU could play this content perfectly fine... Hmm... Basically HEVC distribution today is limited to smart TVs, set top boxes, and a few edge cases like Netflix on Kaby Lake on Windows 10. There may also be some linear TV contribution or distribution being done via satellite using HEVC, but that's also kind of an edge case. HEVC is fabulous, but until we see broad support on the desktop I think VP9 will be the "current gen" codec of choice for in-browser streaming, but with AVC still being hugely prevalent as well for "non youtube" sites ![]() Last edited by Blue_MiSfit; 4th January 2017 at 20:53. |
![]() |
![]() |
![]() |
#9 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
And Edge requires Windows 10 which has a limited market share...
Chrome and Firefox only support H.264 on PC via system codecs so you can't expect widespread HEVC browser support anytime soon. (And of course Google wants to push AV1) Last edited by sneaker_ger; 4th January 2017 at 21:04. |
![]() |
![]() |
![]() |
#10 | Link | |
Artem S. Tashkinov
Join Date: Dec 2006
Posts: 312
|
Quote:
Chromium based browsers indeed lack AVC support and rely on the system codec. But Chrome and Chromium are two different yet related projects. |
|
![]() |
![]() |
![]() |
#12 | Link | |
Artem S. Tashkinov
Join Date: Dec 2006
Posts: 312
|
Quote:
For fun I've just downloaded and verified that Google Chrome plays this video stream (after changing the container to mp4): Code:
Stream #0:0(eng): Video: h264 (High 10) (avc1 / 0x31637661), yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 9478 kb/s, 24.01 fps, 23.98 tbr, 16k tbn, 47.95 tbc (default) Last edited by birdie; 5th January 2017 at 10:15. |
|
![]() |
![]() |
![]() |
#16 | Link | |
Artem S. Tashkinov
Join Date: Dec 2006
Posts: 312
|
ffmpeg libraries are not installed locally:
Code:
render_id: 69 player_id: 0 pipeline_state: kPlaying event: PLAY url: file://******redacted****** total_bytes: 1558194162 streaming: false single_origin: true passed_cors_access_check: false range_header_supported: true info: FFmpegDemuxer: created audio stream, config codec: aac bytes_per_channel: 4 channel_layout: 12 samples_per_second: 48000 sample_format: 6 bytes_per_frame: 24 seek_preroll: 0ms codec_delay: 0 has extra data? true encrypted? false duration: 6028.142307 audio_channels_count: 6 audio_codec_name: aac audio_sample_format: Float 32-bit planar audio_samples_per_second: 48000 bitrate: 2067893 coded_height: 720 coded_width: 960 found_audio_stream: true found_video_stream: true height: 720 max_duration: 6028.142307 start_time: 0 time_base: 417083/20000000 video_codec_name: h264 video_format: PIXEL_FORMAT_YV12 video_is_encrypted: false width: 960 audio_dds: false audio_decoder: FFmpegAudioDecoder video_dds: false video_decoder: FFmpegVideoDecoder Also google for CVE-2014-3157: Quote:
Last edited by birdie; 5th January 2017 at 22:33. |
|
![]() |
![]() |
![]() |
#17 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
It's not that I didn't test but it is difficult for me to determine the exact decoder being used on Windows 7 with both MS decoders and DXVA decoders being available. If I turn off hardware acceleration in chrome settings it can still play H.264 high profile HTML5 <video>, using "FFmpegVideoDecoder" which seems to confirm what you are saying though ffmpeg also supports DXVA2. Unlike you I don't have a system without any support for H.264 decoding.
|
![]() |
![]() |
![]() |
#18 | Link | |||
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
Quote:
![]() But in all that greatness how it is they don't say anything about Power Efficiency of course ![]() I guess this is not really needed with a crowed of Gamers/Youtube/Twitch sellers that need to be impressed ![]() Quote:
Windows 10 was hardened on many levels internaly which also cause many problems and needed heavy driver and Hardware work ![]() Quote:
__________________
all my compares are riddles so please try to decipher them yourselves :) It is about Time Join the Revolution NOW before it is to Late ! http://forum.doom9.org/showthread.php?t=168004 Last edited by CruNcher; 14th January 2017 at 18:52. |
|||
![]() |
![]() |
![]() |
Tags |
bitrate, h.265, hevc |
Thread Tools | Search this Thread |
Display Modes | |
|
|