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
80
questions
4
votes
0
answers
130
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 ...
0
votes
1
answer
80
views
concat two videos with same format
I'm trying to concat two videos that have very similar formats :
Stream #0:0[0x1](und): Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], ...
0
votes
1
answer
404
views
Windows ffmpeg hardware accelerated video encoding FAILS using codec hevc_amf but works with codec h264_amf
I'm running ffmpeg on Windows 10 on a machine with an AMD Radion HD 7700. Hardware accelerated h.264 works fine while HEVC encoding fails. The version of ffmpeg is:
ffmpeg version 5.1.2-...
1
vote
0
answers
233
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 ...
0
votes
0
answers
54
views
How to check if my video card run ffmpeg?
How can I discover if my video card suports and ffmpeg h265 encode? exist any comand to check it?
0
votes
1
answer
356
views
Different outputs when encode to h265 using CPU only and GPU together
I'm using ffmpeg to convert .mp4,.mkv files with enconde h264 to h265 using CPU only, if using GPU together will outputs the same as using cpu only?
for %%a in (*.mkv, *.mp4) do (
ffmpeg -i "%...
0
votes
1
answer
298
views
streaming with HLS / hevc / fmp4
demo site:
http://47.254.74.168:8080/
I made some streaming of HLS/HEVC/FMP4 by ffmpeg(5.1), which list is above link.
however, the streaming encoded with h265 codec is not working in safari, and h264 ...
0
votes
0
answers
204
views
ffmpeg hevc_vaapi: Impossible to convert between the formats supported by the filter 'Parsed_scale_vaapi_2' and the filter 'auto_scale_0'
I know there are many similar questions already on stackexchange sites, but none of them are completely same. My situation is:
camera RTSP output 8MP video in H265
Use Intel HD-Graphics vaapi ...
0
votes
1
answer
1k
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 ...
2
votes
1
answer
1k
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 ...
0
votes
1
answer
37
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 ...
0
votes
0
answers
424
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 (...
0
votes
0
answers
1k
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 ...
0
votes
0
answers
157
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 ...
0
votes
0
answers
1k
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 ...
1
vote
1
answer
266
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 ...
0
votes
1
answer
974
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 ...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
841
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 ...
0
votes
1
answer
302
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 "-...
1
vote
1
answer
445
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 ...
0
votes
1
answer
677
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 ...
2
votes
1
answer
1k
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 ...
3
votes
1
answer
5k
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 ...
2
votes
1
answer
682
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 ...
5
votes
3
answers
12k
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 -...
3
votes
0
answers
82
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 ...
1
vote
1
answer
116
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=...
3
votes
1
answer
5k
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 ...
4
votes
2
answers
20k
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 -...
2
votes
0
answers
788
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 ...
3
votes
2
answers
2k
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 ...
1
vote
2
answers
9k
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 ...
0
votes
1
answer
3k
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 -...
2
votes
1
answer
4k
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 ...
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 ...
2
votes
1
answer
5k
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)
...
2
votes
1
answer
17k
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 ...
0
votes
0
answers
8k
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 (...
0
votes
1
answer
298
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 ...
0
votes
1
answer
405
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 ...
1
vote
1
answer
4k
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 ...
1
vote
0
answers
306
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.
...
2
votes
1
answer
8k
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), ...
3
votes
0
answers
442
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 ...
1
vote
1
answer
727
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 ...
0
votes
1
answer
167
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 ...
1
vote
0
answers
96
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 ...
3
votes
3
answers
20k
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 ...
10
votes
2
answers
9k
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 ...