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:
...
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
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....
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 ...
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 ...
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 ...
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
...
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 ...
2
votes
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 ...
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 ...
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....
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 ...
1
vote
Nginx RTMP didn't accept HEVC h265 input format
Update, as of March 2023, RTMP has added support for HEVC. Refer to Enhanced RTMP. Therefore, both RTMP and FLV standards now support HEVC.
Support status for related open-source projects:
OBS 29 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
h265 × 24ffmpeg × 16
h.264 × 8
encoding × 7
hevc × 6
video-quality × 3
compression × 3
video × 2
mp4 × 2
codec × 2
hardware × 2
colorspace × 2
premiere × 1
video-recording × 1
adobe × 1
software × 1
transcoding × 1
adobe-media-encoder × 1
mkv × 1
4k × 1
dvd × 1
keyframes × 1
bitrate × 1
android × 1
vlc × 1