Questions tagged [x265]

14 questions
59
votes
2 answers

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

My laptop can't handle 10bit H.265 / HEVC videos, so I'm looking to convert them to 10bit H.264. How do I do this using, say, ffmpeg, with the least quality loss? And how can I convert 10-bit H.265 to 8-bit H.265?
HappyFace
  • 1,108
  • 2
  • 12
  • 17
4
votes
2 answers

Force ffmpeg to produce constant frame rate

Why does ffmpeg produce variable frame rate output? I have an input file, that when I run it through MediaInfo it tells me it's a constant frame rate video: Video ID : 1 Format …
dropbear
  • 143
  • 1
  • 4
2
votes
2 answers

Ffmpeg x265 error: "Color Primaries must be", "Transfer Characteristics must be", "Matrix Coefficients must be"

I'm trying to do the following conversion: ffmpeg -i video.mp4 -map 0 -c copy -c:v libx265 -crf 30 -vf "scale=-1:\'min(720,ih)\'" -c:a libopus -b:a 44k -map_metadata 0 -loglevel error -hide_banner video.mkv This works fine except for a specific…
Mister Sir
  • 33
  • 5
2
votes
1 answer

FFMPEG: x265 video encode options

There's quite a bit of info about using ffmpeg (more) to encode with x265: HEVC. However, when I try to encode my video from x264 to x265 with scaling to reduce overall bit rate in order to save even more space on my hard drive, I am still missing…
seal2002
  • 23
  • 1
  • 6
2
votes
0 answers

Time-based instead of frame-based zones (with different CRF) for ffmpeg+x264/x265 encoding?

x264/5 have a zones parameter to support different encode settings for part of a video, but it only accepts frame numbers, not timestamps. This is a minor inconvenience with constant-frame-rate video, but a major inconvenience when using an ffmpeg…
Peter Cordes
  • 5,681
  • 1
  • 28
  • 33
1
vote
1 answer

Ffmpeg producing worse result than Handbrake using x265 with identical settings

I'm trying to replicate Handbrake settings with ffmpeg, because I'd like to add some metadata and some other things with ffmpeg that Handbrake can not do. What I've done seems to be close, the resulting file size and encoding time is similar, but…
DD3R
  • 75
  • 1
  • 11
1
vote
1 answer

libx265 & ffmpeg: the better compression, the larger files?

Trying to squeeze the last bit, I made the finding, that my files get larger then smaller. Unfortunately I must have misinterpreted some parameters. Maybe you can help me. The reference is -preset placebo: ffmpeg -y -hide_banner -i \ …
Thomas R.
  • 121
  • 1
  • 2
  • 7
0
votes
0 answers

FFMPEG only 8bit, cant get 10 bit

I have a 10bit uhd HVEC video I want to convert to x265 10bit. I've compiled the newest version of FFmpeg and x265. But even if I set main10 I only get 8 bit and no hdr10. The video is 10bit. I tried to install FFmpeg with apt and if I do that 10…
0
votes
1 answer

Why, in FFmpeg with libx265 the timestamp tbn parameter is always 1k even when it seems not logical?

I encode with ffmpeg and noticed that when I encode a y4m video in 29,97 FPS into a h265 video with libx265, the parameter of the two videos are the following : original y4m : 29.97 fps, tbc : 29.97 tbr 29.97 **tbn : 29.97** H265 converted file…
0
votes
0 answers

What is the ideal size to encode X265 by FFmpeg?

If I have 500 Megabytes of video size, what is the reduced ideal size to convert video from x264 to x265 without losing quality using FFmpeg? Another example: Let me tell you that the video I want to convert is anime 24 minutes in length and blue…
krm
  • 1
  • 3
0
votes
1 answer

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 "lossless=1:pass=2" -acodec copy output3.mkv ffmpeg…
Kyle
  • 1
  • 2
0
votes
1 answer

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 in H.265? Would appropriately sized CTUs be…
Enigma
  • 3,371
  • 11
  • 48
  • 76
0
votes
1 answer

FFMPEG using forced_subs_only does not burn in forced subs

I am trying to encode A Quiet Place... I know for a fact there are forced subs, but when trying to encode it from 4K (native) to either 4K (x265) or 1080 (x264), the forced subs are not burned in on the resulting file. The same command worked fine…
0
votes
1 answer

NVENC HVEC in FFMPEG unsharp on fast movement

I use FFMPEG with NVENC HVEC and tried several options the last days but finally i was not able to reach the same quality as CPU Encoding. The main issue here is that fast scenes are getting unsharp. I read in some article that Twitch and YouTube…
Deex
  • 175
  • 1
  • 5