[FFmpeg-user] HDR 4K support in ffmpeg
Andy Furniss
adf.lists at gmail.com
Fri Dec 18 11:04:17 CET 2015
tarun singhal wrote:
> It seems i have created a confusion here...By "ffmpeg supporting HDR
> encoding" I meant wether ffmpeg can convert any random video to a
> 4K HDR encoded content. I have already tested 4K and it works fine
> but its this "HDR" piece thats troubling me and I havent even found
> a proper solid source to understand HDR properly. on the top of
> that, how do we get to know whether a content is HDR or SDR, is there
> any tool or a specifc difference between them which can be reported
> by a tool?
I don't know much about this. As has already been said it's all a bit
new standards wise. On the last point, the HDR HEVC demos on
http://www.demo-uhd3d.com
I've "looked at" with ffmpeg do mention smpte2084 which is one standard
(Dolby?)
Some of them seem to have other issues - but then they are experimental
I guess and I don't know whether it's worth reporting them.
ffmpeg -i Exodus_UHD_HDR_Exodus_draft.mp4
ffmpeg version N-77335-g7b88046 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.9.2 (GCC)
configuration: --prefix=/usr --disable-doc --enable-gpl
--enable-libvpx --enable-libschroedinger --enable-libx265
--enable-libdcadec --enable-libmp3lame --enable-libx264
libavutil 55. 11.100 / 55. 11.100
libavcodec 57. 18.100 / 57. 18.100
libavformat 57. 20.100 / 57. 20.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 21.100 / 6. 21.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[aac @ 0x2515b40] This stream seems to incorrectly report its last
channel as LFE[3], mapping to LFE[0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Exodus_UHD_HDR_Exodus_draft.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf56.15.103
Duration: 00:00:47.79, start: 0.000000, bitrate: 43159 kb/s
Stream #0:0(und): Video: hevc (Main 10) (hev1 / 0x31766568),
yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR
16:9], 42805 kb/s, 24 fps, 24 tbr, 24k tbn, 23.98 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
5.1, fltp, 381 kb/s (default)
Metadata:
handler_name : SoundHandler
At least one output file must be specified
More information about the ffmpeg-user
mailing list