Skip to main content

Questions tagged [h.265]

H.265 (also known as HEVC) is the successor to the popular H.264 video codec, which is supposed to improve its performance by 50% and more

Filter by
Sorted by
Tagged with
75 votes
15 answers
130k views

How can I view .HEIC photos on Linux?

How can I view .HEIC photos (the new default format on iOS 11) on a Linux desktop, without uploading them to some cloud service? Is there an image viewer, image converter, or browser with support for ...
Ivan Kozik's user avatar
  • 1,027
50 votes
3 answers
210k views

How to generate an MP4 with H.265 codec using FFmpeg?

I want to encode a video file to H.265. The last version of ffmpeg should be support H.265 (Source). However, I could not find any information about the exact command. I do not know, which library I ...
skull3r7's user avatar
  • 603
13 votes
5 answers
27k views

Extract HEVC bitstream with ffmpeg

I would like to extract the raw .265 bitstream from HEVC mkv file. I use this: ffmpeg.exe -i hevc.mkv -an -vcodec copy -f hevc bitstream.265 I got this error: Requested output format 'hevc' is ...
Mark's user avatar
  • 455
12 votes
1 answer
20k views

What H.264/H.265 video compression parameters provide DVD-equivalent quality with better compression?

I have got a box of DVD video disks that I seek to get rid of while I'd like to keep the videos by converting them into MP4 files to store them on a hard drive. Considering superiority of the modern ...
Ivan's user avatar
  • 7,633
10 votes
2 answers
11k views

Generate hls stream using h265 codec

I am trying to convert h264 video to an hls stream which uses h265 codec. As this bitmovin article suggests, we need to use fragmented mp4 for the hls/h265 stream to work on safari. I am able to ...
formatkaka's user avatar
9 votes
4 answers
23k views

ffmpeg hevc_vaapi: Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0'

on Linux i am trying to encode file to H€VC using hardware acceleration. Successful attempt is: ffmpeg -v verbose -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i '/path/file.mkv' -vcodec libx265 -...
16851556's user avatar
  • 592
9 votes
2 answers
15k views

Is it possible to get FFmpeg to use hardware acceleration for HEVC transcoding on macOS?

I have a MacBook Pro with a Kaby Lake processor running macOS High Sierra (10.12). Is it possibe somehow to setup FFmpeg to utilize hardware encoding of HEVC with toolbox, instead of libx265?
Misha's user avatar
  • 225
8 votes
2 answers
33k views

Understanding pixel format and profile when encoding 10-bit video in ffmpeg with nvenc

I am trying to encode a 10-bit H.265 video from a 8-bit H.264 source using ffmpeg with CUDA hardware acceleration. Without hardware acceleration, a typical command would be ffmpeg -i input.mkv -...
Isabella's user avatar
  • 243
7 votes
2 answers
16k views

Setting the profile level for libx265 using ffmpeg

I'm trying to set the profile level of libx265 to mainstillpicture using ffmpeg. But I can't seem to do so. I'm basically trying to encode every frame as intra frame (only spatial encoding) with no ...
Bubba's user avatar
  • 73
5 votes
1 answer
10k views

Re-encode 4K video to H.265/HEVC with FFmpeg for playback in QuickTime

I have a one hour 4K video which was weighing in at 10 GB. I thought I'd try re-encoding to HEVC using FFmpeg to try to save space, something I hadn't tried before. However, I switched the container ...
rgov's user avatar
  • 639
5 votes
5 answers
41k views

Trouble playing 1080p HEVC format on VLC, MPC, Potplayer

I am having trouble playing HEVC 1080p file on my system. I don't have a really strong PC, but I will give the facts: Ram: 2GB OS: Win 7 ultimate processor: Pentium(R) Dual-Core T4500 @2.3Ghz Graphic ...
4-K's user avatar
  • 251
5 votes
1 answer
22k views

hevc_nvenc option information

I tried to encode to hevc_nvenc but the documentation on FFmpeg is too less and all options are not clearly defined. So if anyone can be good enough what all options do and what settings and filters ...
Soul Spark's user avatar
4 votes
1 answer
7k views

Are HEVC and H265 same? In FFmpeg they give different results why?

Recently I re-encoded a H264 video to HEVC using FFmpeg and Intel hevc_qsv hardware acceleration and libx265. hevc_qsv results in higher sized video and libx265 results in 50% lower sized video. I ...
user avatar
4 votes
2 answers
15k views

How to set the number of B frames in FFmpeg for H.265 encoding?

I would like to re-encode an MPEG4 video into H.265 and want to manually control the number of B frames in the encoding. I tried the following command: ffmpeg -i test.avi -c:v libx265 -preset medium -...
chronosynclastic's user avatar
4 votes
1 answer
7k views

Set keyframe interval in ffmpeg when using nvenc

OBS uses nvenc when encoding live streams. In the guide "NVIDIA NVENC OBS Guide", an advanced option is listed as: Keyframe Interval: Set to 2. Streaming platforms may limit what you can ...
Isabella's user avatar
  • 243
4 votes
0 answers
1k views

Playback stuttering with video in HEVC / H.265 with Windows 10/11

I have a problem that I was hoping to solve by formatting the PC. I have always been able to play smoothly on each player 2K 59.94fps video files with H.265 codec (HEVC) filmed with a GoPro 8 with a ...
Kyashan's user avatar
  • 41
3 votes
2 answers
14k views

Convert YouTube HDR (vp9.2) video to HEVC HDR with ffmpeg

My question is simple: how do I convert HDR vp9.2 videos downloaded from YouTube into HEVC (better if 10 bits) HDR videos? Yesterday I tried this command, which is the only one I could find in Google:...
Michele Dall'Agata's user avatar
3 votes
1 answer
6k views

What is the difference between NVENC HEVC lossless and losslesshp presets?

There are two NVENC HEVC lossless presets: ffmpeg -hide_banner -h encoder=hevc_nvenc -preset <int> E..V.... Set the encoding preset (from 0 to 11) (default medium) ...
dereks's user avatar
  • 141
3 votes
2 answers
3k views

How is FFmpeg's H.265 encoding so much more efficient than Adobe's?

I have a thirty seconds 1080p video file that was rendered from Premiere Pro/Media Encoder (target Bitrate 10) and is encoded in H.265. It has 36.6 MB. When i run the command ffmpeg -i input -c:v ...
Felix Tröbinger's user avatar
3 votes
3 answers
22k views

Windows 10 getting HEVC H.265 Codec to use Hardware Acceleration

Playing HEVC H.265 videos using Windows Media Player and GoPro Quik then the 4k 60 fps video appears all stuttering and becomes a slideshow. The CPU usage is going through the roof and it's not using ...
Arne H. Bitubekk's user avatar
3 votes
1 answer
2k views

Preset "Slow" producing much bigger files than preset "Ultrafast" - Why?

Today I tried to find out which difference in file size the preset slow makes compared to the preset ultrafast when encoding a video (if all other parameters are the same). I took a video with ...
Binarus's user avatar
  • 1,835
3 votes
0 answers
111 views

Is it possible to encode a video with a solid color background using h.265 so that the background color remains stable?

I'm trying to incorporate a video into a web page, where the video has a solid color background that matches the background color of the page, as well as a small animated character moving around ...
Bri Bri's user avatar
  • 856
3 votes
0 answers
515 views

ffmpeg does not produce smooth videos from mkv h265

It's kind of subjective, but I'm not able to produce 100% smooth videos with ffmpeg. As input I use https://www.libde265.org/hevc-bitstreams/tos-1720x720-cfg01.mkv as a example.This is a h264 mkv ...
user3776738's user avatar
2 votes
1 answer
24k views

Best settings for converting from h264 to hevc?

I'm trying to convert some of my library to HEVC to save space. The idea being I re-encode the existing media and save 20-50% file size. What would be some recommended settings for converting and ...
cclloyd's user avatar
  • 792
2 votes
1 answer
5k views

Huge file size difference between lossless HEVC and FFV1

I made a music video with a still image (input.jpg ≈ 1 MB) and a music (input.wav ≈ 20 MB) using FFmpeg. Why do I get such a huge difference in file size between the video generated with the lossless ...
Géry Ogam's user avatar
2 votes
1 answer
3k views

Sudden HEVC / H265 failure with Windows 10

My 2016 production Windows 10 Pro (Version 20H2) computer suddenly stopped playing HEVC videos properly. I need this feature in my computer because of my work and entertainment purposes (other that it ...
Rockybilly's user avatar
2 votes
1 answer
2k views

FFmpeg won't encode at [email protected]

I've been messing around with Topaz's Video AI enhancer, and I've been trying to encode the png files the AI outputs via FFMpeg. It works fine so far, aside from that the exports I'm getting are ...
Reubenno's user avatar
2 votes
1 answer
783 views

Do CPU and GPU work *together* for rendering HEVC?

I have a home theater PC that I built 7 years ago. The CPU is fairly low-end (Intel i3-4360). It only has 2GB system RAM. I recently tried for the first time to play fairly high bitrate (20Mbps) 4k ...
The111's user avatar
  • 673
2 votes
1 answer
9k views

Most efficient way to re encode H.264 10-Bit to High profile or HEVC 10-Bit

For an odd reason my OLED TV can play HEVC 10-Bit files but only H.264 non-10-Bit. This output (video stream) from ffmpeg is played fine with HEVC 10-Bit: Stream #0:0: Video: hevc (Main 10), ...
Jason Wright's user avatar
2 votes
1 answer
1k views

How to add AUDs to HEVC using FFMPEG

I have a HEVC 4k mkv missing AUD units and want to use ffmpeg to add them in (without re-encoding). I came up with: ffmpeg -i Movie.mkv -c:v libx265 -c copy -map v -x265-params aud=1 Movie.ts
 But ...
michaelsft's user avatar
2 votes
0 answers
920 views

Maximum possible bitrate for HEVC videos with hardware encoding in Premiere Pro

I am trying to export a series of images as a 4K HEVC video (it is a long series) and I am using Premier Pro 2020 to do it. I found I can switch to High tier and this allows me to go over 25Mbit ...
miran80's user avatar
  • 237
2 votes
2 answers
5k views

H.265 and Opus in Mp4 container - is it possible?

I have an MKV file with HEVC video and OPUS audio. It plays great in all players. The problem is that I need it to be streamable. When VLC plays an MKV from the web, it first downloads it and then ...
moni's user avatar
  • 21
1 vote
1 answer
6k views

What are the values iside hevc_nvenc presets?

I'm trying to setup hevc_nvenc encoder in ffmpeg to get best result for further postponing. Unfortunately documentation I've found is very terrible. I want to find out what are the values under the ...
majkrzak's user avatar
  • 149
1 vote
1 answer
6k views

FFmpeg HEVC -crf attribute

I am using FFMPEG version 20140406-git-59c1023-win32-static with the following cmd ffmpeg -i "C:\1.mkv" -c:v libx265 -crf 18 -preset veryslow "C\2.mkv" The produced output filesize from running this ...
user348076's user avatar
1 vote
2 answers
11k views

hardware acceleration FFMPEG on Windows

I've installed the latest gyan.dev full build on Windows 10, I want to convert a sequence of png to an h265 .mp4 movie and I'm successfully using this command ffmpeg -r 60 -f image2 -s 3840x2160 -i ...
npg000's user avatar
  • 13
1 vote
2 answers
5k views

Can I mux H.265 into FLV by force?

We want to try H.265 encoded video stream, but the video cloud server vendor we are using only provides RTMP+FLV uploading port. I have made some search works, and it seems FLV do not officially ...
jiandingzhe's user avatar
1 vote
1 answer
819 views

HEVC 10 bit streaming to full HD TV

I have a low power desktop (ASRock Mod 1150 H97M with integrated graphics, Intel Pentium G3258 CPU, 1920*1200 monitor, Windows 10) which acts as a media server in my home. My TV is Sony/Android TV/ 55 ...
Jimmy's user avatar
  • 111
1 vote
1 answer
181 views

"-vf crop" doesn't work on FFMpeg hevc_nvenc

This command line downscales fine my 4k video: $ ffmpeg -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i input_video.mkv -vf scale_cuda=1920:1080:interp_algo=bicubic -c:v hevc_nvenc -preset slow -...
membrillo's user avatar
1 vote
1 answer
364 views

determining the max resolution that a computer can do HEVC encodings to?

I have two different computers, each with v1.2.2.649 of GoPro Player. On one of them I can export 360° HEVC video with a resolution of 5.6K without issue. On the other one I cannot - the max ...
neubert's user avatar
  • 7,204
1 vote
1 answer
13k views

Which Xeon processors have hardware support for H.265 encoding/decoding?

Looking to build a rendering machine for H.265 video: would I be better off with a Core i7/i9 because of built-in hardware accelerated H.265 encoding/decoding, or can Xeon processors support it as ...
ensnare's user avatar
  • 230
1 vote
2 answers
15k views

HEVC/x265 :: VLC Player GPU Hardware Acceleration :: Intel HD Graphics 4400

I'm using a Laptop with configurations Intel(R) Core(TM) i5-4310U Haswell CPU / Intel(R) HD Graphics 4400 GPU / Windows 7. I've installed latest drivers (10.18.14.4414) to support HEVC/x265 Hardware ...
dns475's user avatar
  • 13
1 vote
0 answers
96 views

ffmpeg extremely slow HEVC without any major changes in the system

I have the same dedicated NAS machine for a while now with AMD Ryzen 7 3700X 8-Core it's not the strongest but more than enough for my home NAS usage. I also use the same machine to re-encode h264 and ...
kali's user avatar
  • 379
1 vote
0 answers
103 views

How to preserve contrast/highlights when converting ProRes HDR 10-bit to SDR using hevc_videotoolbox?

I'm trying to convert a 4K HDR 10-bit video clip to BT.709, preserving as much color as possible while allowing the clip to be played where HDR is not supported. With the command below, the output is ...
jslp's user avatar
  • 21
1 vote
0 answers
455 views

FFmpeg HLS conversion with HEVC and fmp4

I've tried everything but I can't get this to work: I'm trying to convert a .mkv AVC video to HLS with HEVC codec, also creating two streams for 1080p and 720p quality, and the command I came out with ...
mrpino's user avatar
  • 11
1 vote
0 answers
236 views

Force media info rewrite with ffmpeg

I have a bunch of video files created by MKVToolnix that have a Codec ID like: V_MS/VFW/FOURCC / HEVC. I tried to run this: ffmpeg -i test.mkv -c copy test.avi to turn it to avi and then this: ffmpeg ...
Fabio's user avatar
  • 11
1 vote
0 answers
2k views

I need FFMPEG command to convert some video files from h.265 to h.264 with Nvidia hardware

I have a decent Nvidia graphics card, capable of h.265 and h.264 encoding and decoding in hardware (Geforce RTX 2060), running on a Ubuntu installation. I have a whole bunch of video files that I need ...
MarcNBarrett's user avatar
1 vote
1 answer
158 views

ffmpeg creates large compressed files for tiny videos?

When compressing very small videos, there seems to be a large overhead in the video container itself. Here are some examples using a single-frame 16x16-pixel all-black image: ffmpeg -f lavfi -i color=...
Hugues's user avatar
  • 3,377
1 vote
0 answers
375 views

FFMPEG - Encoding video changes sounds and subtitles tracks names, and make them invisible for SmartTV / Chromecast

First of all, I'm not sure this is the right place for such question. Please let me know if I'm wrong. INTRODUCTION: I'm regularly recording movies on french channels, via a functionality of my NAS. ...
Quentin Morrier's user avatar
1 vote
0 answers
129 views

Reinterpret AVC bitstream as HEVC

I understand HEVC to be a superset of AVC. HEVC allows more 'tools' to extract more compression out of a video sequence. Is there a tool that converts an AVC stream to HEVC, completely ignoring the ...
Bruno Martinez's user avatar
1 vote
0 answers
856 views

HEVC/H.265 GPU HW decoding and output to different card

I use a Kaby Lake CPU (i7-7700) to enable HEVC hardware decoding. Besides the embedded GPU I also have a NVIDIA GTX 970. My display is hooked up to the NVIDIA card. I'm trying to play the samples from ...
toomasr's user avatar
  • 111