You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to re-encode video files in order to reduce their size. I have often done this with SDR (8 bit) videos using ffmpeg, so I’m familiar with this. However, I have never done this with HDR10 or HDR10+ videos, so I’m not sure what the proper workflow would be in this case. When I tried to google for this, I came across hdr10plus_tool, so here I am.
Apparently, I can use hdr10plus_tool to extract the metadata into a JSON file, then re-encode the video as usual (this gives a 10bit HEVC file without HDR), then inject the JSON file. Would this work?
I’m somewhat worried about the middle step, i.e. the re-encoding with ffmpeg. This requires ffmpeg to decode and then encode the video (libx265). Does ffmpeg take the HDR information into account for this? (Does it even have to?) I fear that I’m missing something very important here.
Also, I usually crop the black bands from movies, changing the aspect ratio. Is the HDR10+ metadata still valid in this case, or does it have to be adapted in some way?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is probably a HDR newbie question …
I would like to re-encode video files in order to reduce their size. I have often done this with SDR (8 bit) videos using ffmpeg, so I’m familiar with this. However, I have never done this with HDR10 or HDR10+ videos, so I’m not sure what the proper workflow would be in this case. When I tried to google for this, I came across hdr10plus_tool, so here I am.
Apparently, I can use hdr10plus_tool to extract the metadata into a JSON file, then re-encode the video as usual (this gives a 10bit HEVC file without HDR), then inject the JSON file. Would this work?
I’m somewhat worried about the middle step, i.e. the re-encoding with ffmpeg. This requires ffmpeg to decode and then encode the video (libx265). Does ffmpeg take the HDR information into account for this? (Does it even have to?) I fear that I’m missing something very important here.
Also, I usually crop the black bands from movies, changing the aspect ratio. Is the HDR10+ metadata still valid in this case, or does it have to be adapted in some way?
Beta Was this translation helpful? Give feedback.
All reactions