


In any case, you should not have to resort to lossless encoding to retain quality when converting from H.264 to H.265. TVs are sometimes very picky about what profiles and levels they support for a given codec. I tried to look at hevc_nvenc but it said “no compatible devices” (maybe need to provide more info for it, I have an NVIDIA GeForce 980 TI).Īlso tried using -vcodec h264 with -preset high and got an error saying:Įrror while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or heightĪny encoding gurus able to help with faster conversion to HEVC or conversion to a lower preset of H.264, or help getting NVENC to work if it provides significant performance gains…? That of course takes a while and require the lossless switch or video gets extremely pixelated. I use the following command to convert to HEVC:įfmpeg -i in.mkv -map 0:0 -map 0:2 -map 0:4 -vcodec hevc -preset ultrafast -x265-params lossless=1 -acodec copy -scodec copy out.mkv This output (video stream) from ffmpeg is played fine with HEVC 10-Bit: For an odd reason my OLED TV can play HEVC 10-Bit files but only H.264 non-10-Bit.
