Skip to main content
5 votes
Accepted

ffmpeg vf scale shifts colors to washed out

The video's color transfer characteristics (trc) and color primaries flags are not being set on the output video, which is causing the video player to use incorrect values for playback, resulting in ...
Zach F.'s user avatar
  • 361
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
  • 33.4k
4 votes
Accepted

What's special about Apple-device generated HEVC files that (apparently) x265 can't produce?

Well. Turns out that if you read this guide for HLS streams, it gives a bunch of details on how the actual video formats should be set up. In particular, for HEVC, it says: 1.10. You SHOULD use ...
Juan Pablo'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

What does the tag "-tag:v hvc1" means?

The FFMpeg document gave the idea of using the tag option with a FourCC code, and H.265/HEVC Video Encoding Guide gave the idea of Final Cut and Apple stuff compatibility. The hvc1 is defined to ...
xer-rex's user avatar
  • 817
3 votes

How does ffprobe identifies I frame and IDR, when it sets key_frame=1

It sounds like you're analyzing a HEVC bitstream. HEVC has multiple types of Random Access Pictures, only one of which clears the buffer. But ffmpeg flags all of them as keyframes. You have to use ...
Gyan's user avatar
  • 33.4k
2 votes

FFMPEG - The result of converting video to hevc format lost audio (video only)

There is so much wrong with your command that it would take too long to list every issue. It will be simplest to just provide a corrected command: ffmpeg -i input -c:v libx265 -crf 28 -c:a aac -b:a ...
llogan's user avatar
  • 10.1k
1 vote
Accepted

Impact of reencoding an HEVC file: How much loss if I do it in two steps, vs. going directly to a lower bitrate?

Is there a benefit to go back to the original file and reencode it at 40Mb/sec bitrate, vs. using the already reduced 50Mb/sec file and reencoding that one at 40Mb/sec? Every single time you reencode ...
veppy's user avatar
  • 81
1 vote
Accepted

h264/hevc: non-integer frame rates

It only looks like 24fps at first glance. From the Wikipedia entry on SMTPE timecode, the section on drop-frame: “In order to make an hour of timecode match an hour on the clock, drop-frame timecode ...
Jason Conrad's user avatar
  • 4,514
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,421
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

How to transcode HEVC footage on a mac if you don't have CC2018 yet

Go with handbrake. It's a free GUI program for performing transcodes. It is even used to benchmark processors and graphics cards.
Gordon's user avatar
  • 106
1 vote

How to transcode HEVC footage on a mac if you don't have CC2018 yet

Install Homebrew. Open Terminal. Install FFMPEG with extra features by entering the following on a single line: brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-...
tomh's user avatar
  • 7,963
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 ...
Winlin's user avatar
  • 111
1 vote
Accepted

Loseless conversion from IphoneX HEVC for PC - PPro

Conversion always will involve some loss, only copy (-c) is lossless. There are some suggestions for "lossless" encoding in this Q&A, but I can't test them on my phone. There are UpVoted and ...
Rob's user avatar
  • 847

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