网站首页 > 开源技术 正文
How to identify HDR video?
how to get HDR info preference
现在了解到通过下面几个命令可以获取
avmediainfo==avmediainfo -- media analysis tool
/usr/local/bin/ffprobe 【ffmpeg】
ffprobe -show_streams -v error IMG_4683.MOV
/usr/local/bin/mediainf
? Downloads /usr/local/bin/mediainfo IMG_4683.MOV|egrep "Color primaries|Bit depth|HDR forma"
HDR format : Dolby Vision, Version 1.0, dvhe.08.0A, BL+RPU, HLG compatible
Bit depth : 10 bits
Color primaries : BT.2020
我用iPhone 12 Pro max拍了视频。文件名称如下:IMG_4683.MOV
? Downloads file IMG_4683.MOV
IMG_4683.MOV: ISO Media, Apple QuickTime movie, Apple QuickTime (.MOV/QT)
? Downloads stat IMG_4683.MOV
File: IMG_4683.MOV
Size: 200521045 Blocks: 393472 IO Block: 4096 regular file
Device: 1000004h/16777220d Inode: 18092095 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 501/ lex) Gid: ( 501/access_bpf)
Access: 2020-11-26 10:44:55.925642000 +0800
Modify: 2020-11-22 13:54:16.000000000 +0800
Change: 2020-11-26 10:43:22.911896767 +0800
Birth: 2020-11-22 13:54:16.000000000 +0800
? Downloads avmediainfo IMG_4683.MOV
Asset: IMG_4683.MOV
Duration: 30.018 seconds (18011/600)
Track count: 5
Track 1: Video 'vide'
Enabled: Yes
Format Description 1:
Format: HEVC 'hvc1'
Dimensions: 3840 x 2160
Encoded Pixels: 3840 x 2160
Presentation Dimensions: 3840 x 2160
Data size: 199556997 bytes
Media time scale: 600
Duration: 30.018 seconds
Estimated data rate: 53179.748 kbit/s
Nominal frame rate: 59.960 fps
Minimum sample duration: 9/600 seconds
Frame reordering required
1 segment present
Index Media Start Media Duration Track Start Track Duration
1 00:00:00.000 00:00:30.018 00:00:00.000 00:00:30.018
Track 2: Sound 'soun'
Enabled: Yes
Format Description 1:
Format: AAC 'aac '
Channel Layout: Stereo (L R)
Sample rate: 44100.0
Bytes per packet: 0
Frames per packet: 1024
Bytes per frame: 0
Channels per frame: 2
Bits per channel: 0
Data size: 582484 bytes
Media time scale: 44100
Duration: 30.018 seconds
Estimated data rate: 154.968 kbit/s
1 segment present
Index Media Start Media Duration Track Start Track Duration
1 00:00:00.048 00:00:30.018 00:00:00.000 00:00:30.018
Track 3: Metadata 'meta'
Enabled: Yes
Format Description 1:
Format: Timed Metadata 'mebx'
Data size: 10 bytes
Media time scale: 600
Duration: 30.018 seconds
Estimated data rate: 0.003 kbit/s
Nominal frame rate: 0.033 fps
Minimum sample duration: 18012/600 seconds
1 segment present
Index Media Start Media Duration Track Start Track Duration
1 00:00:00.000 00:00:30.018 00:00:00.000 00:00:30.018
Track 4: Metadata 'meta'
Enabled: Yes
Format Description 1:
Format: Timed Metadata 'mebx'
Data size: 17464 bytes
Media time scale: 600
Duration: 30.018 seconds
Estimated data rate: 4.654 kbit/s
Nominal frame rate: 6.063 fps
Minimum sample duration: 20/600 seconds
1 segment present
Index Media Start Media Duration Track Start Track Duration
1 00:00:00.000 00:00:30.018 00:00:00.000 00:00:30.018
Track 5: Metadata 'meta'
Enabled: Yes
Format Description 1:
Format: Timed Metadata 'mebx'
Data size: 264768 bytes
Media time scale: 600
Duration: 30.018 seconds
Estimated data rate: 70.558 kbit/s
Nominal frame rate: 59.960 fps
Minimum sample duration: 9/600 seconds
1 segment present
Index Media Start Media Duration Track Start Track Duration
1 00:00:00.000 00:00:30.018 00:00:00.000 00:00:30.018
https://blog.csdn.net/charleslei/article/details/80385407?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control
3.ARIB STD-B67 定义了HDR摄像机的OETF,即 HLG(Hybrid Log-Gamma)曲线
HLG=ARIB STD-B67 2015年6月正式发布,
ffmpeg压缩参数中,HDR10的transfer=smpte2084,HLG的transfer=arib-std-b67
? Downloads ffprobe -show_streams -v error IMG_4683.MOV|egrep "^color_transfer|^color_space=|^color_primaries="
color_space=bt2020nc
color_transfer=arib-std-b67
color_primaries=bt2020
brew install mediainfo 【在macOS下,CentOS应该是第三方源yum,apt一样的情况】
? Downloads brew install mediainfo
? Downloads mediainfo IMG_4683.MOV |egrep "HDR format|Bit depth|Color primaries"
HDR format : Dolby Vision, Version 1.0, dvhe.08.0A, BL+RPU, HLG compatible
Bit depth : 10 bits
Color primaries : BT.2020
猜你喜欢
- 2024-09-30 「导入问题」大疆或苹果拍摄的 mov 视频无法导入Pr (Premiere)
- 2024-09-30 FLV、MP4、TS合成音视频实战(1)(ts文件合成视频)
- 2024-09-30 视频封装格式:MP4格式详解(视频文件封装格式有哪些)
- 2024-09-30 视频太大没法上传?视频压缩神器——小丸工具箱!
- 2024-09-30 深入剖析MediaCodec解码器的基本原理及使用「建议新手收藏」
- 2024-09-30 Excel催化剂开源-音视频文件元数据提取-分辨率,时长,采样率等
- 2024-09-30 推荐!Universal Media Server - 连接你的世界,畅享无限媒体
- 2024-09-30 Premiere技巧|视频文件的故障排除
- 2024-09-30 Qt/C++音视频开发59-使用mdk-sdk组件/原qtav作者/性能凶残跨平台
- 2024-09-30 从零开始打造云端AI管理调度平台(番外篇_1)文件自动入库更新
你 发表评论:
欢迎- 03-24罕见的PostgreSQL数据库主从物理复制断开案例
- 03-24每周 GitHub 探索|Teale,基于 postgres 的无代码 Airtable 替代方案
- 03-24KVM、QEMU、LIBVIRT 是什么(kvm qemu libvirt)
- 03-24Ukrainian academician and expert team visited Yiheyuan to investigate the crispy pear project
- 03-24这72个一建机电考点每年必考一次,囊括9成考点,背熟实务超线30
- 03-24思南安监部门路边查车(安监可以在路上查证吗)
- 03-242022年一造《管理》+《计价》真题及答案已出,速来看看上岸没有
- 03-24如何在 Linux 中创建 Systemd 服务?
- 最近发表
-
- 罕见的PostgreSQL数据库主从物理复制断开案例
- 每周 GitHub 探索|Teale,基于 postgres 的无代码 Airtable 替代方案
- KVM、QEMU、LIBVIRT 是什么(kvm qemu libvirt)
- Ukrainian academician and expert team visited Yiheyuan to investigate the crispy pear project
- 这72个一建机电考点每年必考一次,囊括9成考点,背熟实务超线30
- 思南安监部门路边查车(安监可以在路上查证吗)
- 2022年一造《管理》+《计价》真题及答案已出,速来看看上岸没有
- 如何在 Linux 中创建 Systemd 服务?
- CentOS 下用 Nginx 和 uwsgi 部署 flask 项目
- 使用Flask应用框架在Centos7.8系统上部署机器学习模型
- 标签列表
-
- jdk (81)
- putty (66)
- rufus (78)
- 内网穿透 (89)
- okhttp (70)
- powertoys (74)
- windowsterminal (81)
- netcat (65)
- ghostscript (65)
- veracrypt (65)
- asp.netcore (70)
- wrk (67)
- aspose.words (80)
- itk (80)
- ajaxfileupload.js (66)
- sqlhelper (67)
- express.js (67)
- phpmailer (67)
- xjar (70)
- redisclient (78)
- wakeonlan (66)
- tinygo (85)
- startbbs (72)
- webftp (82)
- vsvim (79)
本文暂时没有评论,来添加一个吧(●'◡'●)