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
0 votes
1 answer
30 views

Encoding HEVC to HEVC to reduce file size

I'm trying to re-encode an HEVC/x265 file yet I'm getting an error. I used these commands and it's not working D:\FFmpeg\bin>ffmpeg -i output2.mkv -c:v libx265 -preset slow -b:v 3000k -x265-params ...
user avatar
  • 1
1 vote
1 answer
174 views

FFmpeg won't encode at Main10@L5.1

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 ...
user avatar
-1 votes
1 answer
20 views

Does H.265/HEVC macroblock/CTU algorithm compensate for 4:3 letterbox in 1920x1080

Have some source in 1920x1080 but it's actually 4:3 with letterbox. One path is to crop the video to remove the black letterbox and bring it down to 1440x1080 but is that really necessary when encoded ...
user avatar
  • 3,451
0 votes
0 answers
113 views

Unable to understand the error with ffmpeg

Can someone help me with the following FFMPEG error: STDOUT: STDERR: ffmpeg version 4.4.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers built with gcc 8 (...
user avatar
0 votes
0 answers
257 views

same ffmpeg preset got way slower in X265 compared to a year ago - why?

If I compare several ffmpeg versions, the speed got down by 50% even with the same encoding profile "medium" so I wonder what the change was. That change happend any time in summer 2021. I ...
user avatar
0 votes
0 answers
58 views

FFmpeg not adding thumbnail to last fragment

I'm using this command to h265 encode a live video from a Blackmagic DeckLink card: ffmpeg \ -format_code 4k29 -f decklink -i "DeckLink 8K Pro (1)" \ -c:v hevc_nvenc \ -pix_fmt ...
user avatar
  • 101
0 votes
0 answers
334 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 ...
user avatar
0 votes
0 answers
247 views

Decode H.265 plus with ffmpeg

I'm trying to decode an H.265+ rtsp stream to an image using ffmpeg as follows: ffmpeg -rtsp_transport tcp -stimeout 10000000 -i 'rtsp://user:passwd@url:port/Streaming/tracks/101?starttime=...
user avatar
  • 3
0 votes
0 answers
42 views

Can h.265 rescale resolution within the encoder? For example, can I feed it a 4K video and covert it to 1080p

I am trying to use OBS Studio to record a camera; input through HDMI. Because of storage limitations I'm trying to take the 4K signal and record it as 1080p. Ideally I'd like to have the full 4K ...
user avatar
  • 1
1 vote
1 answer
144 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 ...
user avatar
  • 5,970
0 votes
1 answer
371 views

How do I convert 12-bit H.265 videos to 10-bit H.265 without quality loss?

My laptop seems unable to handle 12bit HEVC videos efficiently. The video appears to stagger when I play it so I'm looking to convert them to 10bit H.265. How do I do this using, ffmpeg, with little ...
user avatar
0 votes
1 answer
496 views

Generate HLS with H265 codec

I have been trying to generate a HLS stream encoded with h265 but with no success. I came across Generate hls stream using h265 codec but the solution given in it doesn't seems to be working. Another ...
user avatar
  • 105
0 votes
1 answer
310 views

Convert HEVC mkv to mp4 without transcoding

I'm trying to remux h265 MKV to MP4 without transcoding. My demo video is tears-of-steel. I'm using the following command but I cannot play the resulting file ffmpeg -i tos-1720x720-cfg01.mkv -tag:v ...
user avatar
  • 101
0 votes
1 answer
94 views

ffmpeg: How to keep vfr unchanged during reencode

I have a file with variable frame rate that I would like to reencode. My attempts so far always lead to the frame rate being changed from 23.98 to 24. I have tried "-vsync vfr" and "-...
user avatar
1 vote
1 answer
111 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 ...
user avatar
  • 591
0 votes
1 answer
239 views

ffmpeg mediocre conversion quality from DVD

I am trying to convert a DVD that I own into mp4/lib265 format. To test the quality out I am only converting the first two minutes of the input video (which is a concatenated vob file). The source ...
user avatar
  • 361
1 vote
1 answer
925 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 ...
user avatar
2 votes
1 answer
2k 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
2 votes
1 answer
325 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 ...
user avatar
2 votes
3 answers
5k 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 -...
user avatar
  • 433
3 votes
0 answers
55 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 ...
user avatar
  • 741
1 vote
1 answer
103 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=...
user avatar
  • 2,487
3 votes
1 answer
2k 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 ...
user avatar
4 votes
2 answers
10k 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 -...
user avatar
2 votes
0 answers
569 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 ...
user avatar
  • 183
2 votes
2 answers
1k 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 ...
user avatar
1 vote
2 answers
5k 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 ...
user avatar
  • 13
0 votes
1 answer
2k views

Transcoding 1080p h264 to h265 w/ FFmpeg - Unexpectedly Extreme Reduction In Size

I have a collection of h264 videos from a digital camera that I'm re-encoding to h265 (HEVC). The FFmpeg options I'm using are: -c:v libx265 -preset medium -x265-params crf=20:keyint=30 -c:a copy -...
user avatar
  • 181
2 votes
1 answer
3k 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 ...
user avatar
  • 123
0 votes
3 answers
2k views

How to improve lossy compression of NVENC HEVC with FFmpeg?

There are a lot of answers about h264_nvenc settings. But I didn't find code examples for tuning NVENC HEVC lossy encoding settings on latest GPU, for example on Tesla T4. These are my current ...
user avatar
  • 131
2 votes
1 answer
3k 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) ...
user avatar
  • 131
2 votes
1 answer
11k 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 ...
user avatar
0 votes
0 answers
6k views

ffmpeg: Could not find codec parameters for stream 0 - Video: none (H265 / 0x35363248)

I am trying to find a way to concatenate videos I am getting from an NVR. To my understanding, the video is encoded with H265, but I am not able to find more information on the specific codec (...
user avatar
  • 1
0 votes
1 answer
235 views

How can I create h.265 videos that are fully backward-single-steppable in mpv in FFmpeg?

I'm planning to convert my video collection from h.264 to h.265 in order to save disk space. Source files are in mp4 and mkv containers. The videos are mostly watched using mpv. Especially for the ...
user avatar
0 votes
1 answer
263 views

how to split a bitstream with ffmpeg

I am trying to split with ffmpeg a bitstream whose extension is .hevc which is generated by the platform HM 16.11 in several segments according to the GOP I want to have several files whose extension ...
user avatar
  • 1
1 vote
1 answer
3k 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 ...
user avatar
  • 149
1 vote
0 answers
215 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. ...
user avatar
1 vote
1 answer
6k 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), ...
user avatar
3 votes
0 answers
335 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 ...
user avatar
1 vote
1 answer
667 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 ...
user avatar
  • 111
0 votes
1 answer
118 views

Decode/encode 4:2:2 with a 4:2:0 decoder/encoder

Similar to Reinterpret AVC bitstream as HEVC. Some hardware codecs support 4:2:0 for 4k but not don't support 4:2:2 even for SD, with far less data. Can you trick a codec to encode 1920x1080 4:2:2 ...
user avatar
1 vote
0 answers
85 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 ...
user avatar
3 votes
3 answers
19k 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 ...
user avatar
10 votes
2 answers
7k 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 ...
user avatar
2 votes
1 answer
21k 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 ...
user avatar
  • 630
0 votes
1 answer
1k views

Set an excat GoP-length open and no-open in ffmpeg

ffmpeg -f rawvideo -vcodec rawvideo -s 1280x720 -r 50 -pix_fmt uyvy422 -i Test.yuv -c:v libx265 -x265-params keyint:150:open-gop -b:v 10M Test_open_150_10M.hevc As you can see, I'm trying to ...
user avatar
  • 11
0 votes
0 answers
93 views

FFmpeg losslessly deconstruct video then losslessly re-encode

I need to dump all the frames losslessly from a h.265 mkv video, along with the audio track in FLAC 24bit (initially it was encoded from the source in FLAC 24bit). I then need to edit some frames and ...
user avatar
8 votes
2 answers
13k 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?
user avatar
  • 215
4 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 ...
user avatar
  • 413
0 votes
1 answer
565 views

ffmpeg to convert *.mkv to mp4 using h.265

i was wondering, i have various misc video files in mp4 and mkv with various codecs and i wanted to convert all to mp4 with h.265 with aac as the codecs so i was wondering can FFMpeg handle that? I ...
user avatar