Hot answers tagged

5 votes
Accepted

ffmpeg/x265: fixed-GOP, IDR only keyframes, repeating headers

Minimal command line, for a GOP size of 2 seconds: ffmpeg -i input -force_key_frames expr:gte(t,n_forced*2) -c:v libx265 -x265-params open-gop=0:scenecut=0:repeat-headers=1 output.hevc Verification: ...
Gyan's user avatar
  • 32.3k
4 votes
Accepted

.mkv file not playing in HEVC/H.265 supported player

Both files that don't play feature Opus as the audio codec. As per this site, Opus is not one of the supported audio codecs. Transcode the audio: ffmpeg -i in.mkv -c:v copy out.mkv
Gyan's user avatar
  • 32.3k
3 votes

How to preserve colorspace in ffmpeg

This command preserved the colorspace and also video didnt get darker after transcoding ffmpeg -i input.mp4 -color_primaries smpte170m -color_trc smpte170m -colorspace smpte170m -r 25 -crf 18 output....
mustafa candan's user avatar
3 votes
Accepted

Re-encode with ffmpeg using libx265 - rawvideo

For files already encoded to AVI, you'll have to extract the video to a raw HEVC stream first: ffmpeg -i in.avi -c copy -map 0:v -f hevc in.265 and then ffmpeg -framerate 30 -i in.265 -i in.avi -c ...
Gyan's user avatar
  • 32.3k
2 votes

How h265 settings / presets affects the target device cpu while decoding and how can I tweak them?

Try Encoding using "--tune fastdecode" and also check if "Average Bitrate" with "2 Pass" is better than "Constant Quality" with your particular Decoder; trying to maintain Quality over Bitrate can ...
Rob's user avatar
  • 847
2 votes
Accepted

Handbrake x265 Optimal settings for ripping DVD

Summary response for summary question :) CRF 20 will look really nice 8-bit (no advantages over 10-bit) No tuning. Grain tuning is for grainy source (old content). SSIM is for testing. No additional ...
Steve Dibb's user avatar
2 votes

Is there any way to efficently compress multiangle recordings?

The name for this feature is Multiview Video Coding (MVC): an stereoscopic video coding standard for video compression that allows for the efficient encoding of video sequences captured ...
Gyan's user avatar
  • 32.3k
2 votes
Accepted

How to extract frames and saving frame type to filenames with ffmpeg?

Can't comment on the soundness of your theory, but here's a way to do it. Not directly, but in a roundabout way. FFmpeg's segment muxer can break up a file at GOP boundaries, so running the command ...
Gyan's user avatar
  • 32.3k
1 vote
Accepted

HEVC vs H264 video file size

You've specified the encoding bit rate to be 5000*1000 kbs. So the constraint here is the file size, not the quality of the video (i.e., all of your videos will be approximately 5 kbs * duration in ...
Tahlor's user avatar
  • 161
1 vote

Adobe Premiere Pro no H265 export option?

It should be there, "HEVC (H.265)", selectable under format. If it's not there the codec may not be installed on your system. Adobe describes how to check and install it here: https://helpx....
Matt's user avatar
  • 1,401
1 vote

Recompressing 1080p h264 collection to HEVC - Target Bitrate For Minimal Loss

I've transcoded some of my AVC (h.264) 1080p movies to HEVC (h.265) with 2 pass encoding (using my GPU) and target bitrate set to 50% of original. The other streams (like audio and subtitles) were ...
mareccs's user avatar
  • 11
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

libx265 NUMA pool configuration misleading

As the excerpt below says, A thread pool dedicated to a given NUMA node is enabled only when the number of threads to be created on that NUMA node is explicitly mentioned in that corresponding ...
Gyan's user avatar
  • 32.3k
1 vote
Accepted

Android - Media Encoder HEVC Plays, FFMPEG HEVC Won't

With Mulvya's help, I figured out the issue. FFMPEG was using a codec tag of hev1, while Media Encoder was using hvc1. Nothing I tried in FFMPEG would change this. Mulvya suggested I use mp4box to ...
Euroclydon37's user avatar

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