Hot answers tagged

10 votes
Accepted

ffmpeg encode in all-i mode h264 and h265 streams

For H264 ffmpeg -i input -c:v libx264 -intra output For H265, seems no alias or preset has been set yet ffmpeg -i input -c:v libx265 -x265-params frame-threads=4:keyint=1:ref=1:no-open-gop=1:...
Gyan's user avatar
  • 32.6k
8 votes
Accepted

What CRF or settings I should choose for h265 in order to achieve a similiar quality of h264?

The CRF scales for x264 and x265 do not correspond. x265 CRF 28 is supposed to be equivalent to x264 CRF 23. But x265 is not yet as mature in its development as x264, so take that CRF equivalence with ...
Gyan's user avatar
  • 32.6k
8 votes
Accepted

Differences of h.264 and h.265?

HEVC (High Efficiency Video Coding), the new video coding standard brings promise of huge bandwidth savings of approx. 40-45% over H.264 encoded content More info here
Raju's user avatar
  • 216
5 votes
Accepted

How to convert 10-bit H.265 videos to H.264 without losing quality

it looks like the Video is encoded in 4000 kbit/s, instead of a Rate Factor (RF). But that isn't the issue here. The issue is: while 264 does support lossless encoding, it not widely compatible! (you ...
Pingger Shikkoken's user avatar
3 votes

Does HDR content have anything to do with codecs?

You can do HDR with almost any modern codec. All it means in practice is that the boundary between the highest and lowest intensities in the image goes beyond what a non-HDR image could portray; if ...
Michael Macha's user avatar
3 votes
Accepted

FFMpeg Force Codec

If you know the compatible codec in ffmpeg, you can remux the file to generate a standard file, e.g. ffmpeg -c:v hevc -i in.avi -c copy out.avi
Gyan's user avatar
  • 32.6k
3 votes

NVENC_HEVC Encoding making my files larger

Just because you can get a hamburger at different restaurants doesn't mean they'll taste and look the same. Apples and oranges x265 and NVENC are two different encoder implementations that can ...
llogan's user avatar
  • 9,904
3 votes

Differences of h.264 and h.265?

h.265 is obviously more compressed than h.264 and was built for UHD and 4K. Though 1080 files still look great and are even smaller when encoded with h.265 than h.264. Some computers may have trouble ...
A.J. Hernandez's user avatar
3 votes
Accepted

x265: Is it possible to re-compress HEVC video without quality loss?

In strict mathematical terms, no. In terms of maintaining an acceptable image quality, yes. If you use CRF 18 and a preset like ultrafast now, you should be able to get a smaller acceptable file with ...
Gyan's user avatar
  • 32.6k
2 votes
Accepted

h264 and h265 keyint params settings

See these two links: 1) MeGUI/x264 Settings for an explanation of the parameters like keyint. 2) About --keyint --min-keyint and --scenecut for a discussion at Doom9 about how they interact, ...
Gyan's user avatar
  • 32.6k
2 votes
Accepted

How to encode with x265 cli

Your source is neither YUV nor Y4M, going by the extension (and also the FFmpeg error you received). x265 is referring to a raw uncompressed bitstream by those extensions, not simply the pixel format. ...
Gyan's user avatar
  • 32.6k
2 votes

NVENC_HEVC Encoding making my files larger

Just to add one specific point. The nVidia HEVC encoder doesn't support B-frames yet. So that crimps any hopes of achieviing the same quality at the same size, even if nvenc was as well-tuned as x265.
Gyan's user avatar
  • 32.6k
2 votes
Accepted

Why both videos are of same file size?

As it seems both videos have a bitrate of 118 (117) megabits per second. This means - regardless off any other parameter - your video will take up 118 mb for each recorded second. But as you already ...
Timothy Lukas H.'s user avatar
1 vote

Is smpte170m Color Space Compatible with 10 bit yuv420p10le? Color Space choice(x265)

Is smpte170m space even compatible with 10 bit such as yuv420p10le? There's no incompatibility - H.265 supports BT601-525 / SMPTE170m tagging. It depends on your player if colours are rendered ...
Gyan's user avatar
  • 32.6k
1 vote
Accepted

Is 10 frames a second the lowest h.265 can go?

To answer the title question exactly, no, the theoretical floor for H265 framerate is probably less than 1fps. But you don't want to fiddle with framerate anyway. It won't help you produce a quality ...
user3643's user avatar
  • 2,164
1 vote
Accepted

Idea validation - CRF's as a service

I assume you want to identify the CRF value that will either achieve a target file size or a target score on a quality metric like PSNR or VMAF. However, a single frame is not enough to assess that. ...
Gyan's user avatar
  • 32.6k
1 vote
Accepted

ffmpeg - why does h265 compression increase the filesize?

CRF is not a constant quality guarantee, more of an approximate bitrate specification. veryslow outperforms ultrafast in SSIM: ffmpeg -i output_crf-15_preset_ultrafast.mp4 -i Input.mkv -lavfi ssim=...
Tahlor's user avatar
  • 161
1 vote

How can I remove ENCODE İNFORMATİON from mediainfo for H265 HEVC .mkv?

Use -x265-params log-level=0 Reference: https://x265.readthedocs.io/en/3.1/cli.html#cmdoption-log-level
Qhan's user avatar
  • 11
1 vote

How can I remove ENCODE İNFORMATİON from mediainfo for H265 HEVC .mkv?

-x265-params no-info=1 !ffmpeg -y -i http://mirrors.standaloneinstaller.com/video-sample/Panasonic_HDC_TM_700_P_50i.mkv -c:v libx265 -x265-params no-info=1 output.mp4 would generate MediaInfo as ...
xer-rex's user avatar
  • 754
1 vote

FFMpeg Force Codec

Just an FYI - you can't just force a codec if the moov atom or headers are missing. For that you need to repair the file by copying valid headers and atoms from another functional file created the ...
abcsec's user avatar
  • 11
1 vote
Accepted

H.265(libx265) codec for 8K videos, using same compress settings, why yuv444 10-bit is saving bitrates than yuv420 8-bit?

From Why does 10-bit save bandwidth (even when content is 8-bit)? When encoding with the 10-bit tool, the compression process is performed with at least 10-bit accuracy compared to only 8-bit ...
llogan's user avatar
  • 9,904
1 vote
Accepted

H.265 disadvantages with video dimensions not multiple of 8

Personally I always stick to multiple of 8 but here it is: Multiple of 4: In H.265, DCT can be done in 4x4 Transform Units, so it's not a problem for that. It can also use motion vectors for 8x4 or ...
stribika's user avatar
  • 201
1 vote
Accepted

Blu-ray transcode to H.265 using Intel Quick Sync Video

Wrong container format (MP4) I omitted the information about the container format. I used MP4 in preliminary tests in an effort to increase compatibility with portable devices. It did not cross my ...
Vlastimil Burián's user avatar
1 vote

What are supported stream formats for h.265

That command isn't well-formed. First, you specify copy, then specify a raw HEVC format with HEVC encoding and then RTSP as an output format. Try ffmpeg -f image2pipe -vcodec mjpeg -i - -vcodec ...
Gyan's user avatar
  • 32.6k

Only top scored, non community-wiki answers of a minimum length are eligible