HEVC

Output Video Size Huge Using HEVC Encoder on iOS

大憨熊 提交于 2020-01-02 07:30:12
问题 I have a project that currently uses the H.264 encoder to record video on iOS. I wanted to try using the new HEVC encoder in iOS 11 to reduce file sizes, but have found that using the HEVC encoder causes file sizes to balloon enormously. Here's a project on GitHub that shows the issue - it simultaneously writes frames from the camera to files using the H.264 and H.265 (HEVC) encoders, and the resulting file sizes are printed to the console. The AVFoundation classes are setup like this: class

4K超清,2500万人在线,猫晚直播技术全解读

╄→尐↘猪︶ㄣ 提交于 2019-12-29 20:13:17
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 2018天猫双11已经过去一周,各路快递也在快马加鞭送到大家手中。但对于剁手党而言,天猫双11也不仅仅是简单意义上的“买买买”,更是一场边看边玩的狂欢盛宴。 作为双11的必备节目,今年的猫晚通过优酷、浙江卫视、东方卫视进行了全程网络直播和电视直播,吸引了超过全球超过2.4亿人收看。猫晚期间,优酷基于阿里云最新的广播级高可靠直播方案,为近2500万的观众带来了超高清、流畅的观看体验。 大家一定还记得今年俄罗斯世界杯期间,阿里云承包了全网70%的直播流量,其实,本次猫晚直播解决方案带来了全新的能力,例如首次引入了4K以及视频智能生产技术,观看体验得到了进一步提升。 /全链路支持/ 1、阿里云视频云直播服务为今年猫晚直播提供了从上行,云端内容再生产到分发的全链路技术支持和保障,整套直播系统达到广播级的稳定性。 2、上行链路采用多网接入和视频流合并功能,确保上行链路的高可用。 3、视频处理中心采用异地多中心多机房部署,即一个直播频道同时通过多个区域的直播集群进行处理,一个区域出现任何故障,可快速切换至新区域避免中断,确保视频处理环节的高可用。 采用阿里云CDN进行全球直播分发,受益于CDN系统针对突发活动的流量预测和实时调度系统,保证视频播放的流畅。 当连续的图象变化每秒超过24帧画面以上时,根据视觉暂留原理

猫晚流量再创记录,阿里云直播方案护航优酷2500万用户体验

狂风中的少年 提交于 2019-12-29 19:56:55
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 对“剁手党而言,天猫双11早已经超越了简单的“买买买”,更是一场边看边玩的狂欢盛宴。今年的天猫双11狂欢夜晚会(简称“猫晚”)在上海举办,这台兼具年轻潮流与国际风范的“超级晚会”,通过优酷、浙江卫视、东方卫视进行了全程网络直播和电视直播,吸引了超过全球超过2.4亿人收看。 作为这场猫晚的唯一网络直播平台,优酷平台上直播观看人数近2500万,是去年的两倍。这也是阿里云第四年支持双11猫晚网络直播,从阿里云作战室监控的数据上来看,猫晚直播期间各项系统数据指标运转平稳。 本次猫晚直播,阿里云采用了最新推出的广播级高可靠直播方案,这是在支持了2018世界杯直播后的再次技术升级,该解决方案服务于体育赛事、电子竞技、重大活动等大型网络直播,用于保障千万级用户并发场景下的高品质、低延时、超卡顿的观看体验。 从上行链路、云端内容生产到极速分发的全链路支持 阿里云视频云直播服务为猫晚直播提供了从上行,云端内容再生产到分发的全链路技术支持和保障。通过全链路容灾、多流合并、CDN多源站智能选择等技术、网络抖动时候自动选择最佳链路、机房区域发生故障的时候可实现秒级切换,做到了整套直播系统达到广播级的稳定性。 在云端内容处理环节,直播转码全面覆盖了从360P到4K超高清的分辨率,帧率涵盖25fps与50fps

In Hevc reference software HM 16.9 I need help for generating details of CUs, PUs and TUs

£可爱£侵袭症+ 提交于 2019-12-25 08:16:15
问题 For a test sequence I want to get the following information: Where in the reference code and how can i get the CU depth information. Where and how can I get the PU sizes and modes for a specific CTU. Where and how can I get the Motion vector in formation for PUs. Where and how can I get the reference frame information of the PUs and their location in reference frame? Where and how can I get the information about the SKIP and Merge modes being used? Where and how can I get the information

HEVC: NAL unit trace file for each NUL unit produced by the encoder

别说谁变了你拦得住时间么 提交于 2019-12-25 02:59:05
问题 I'm using HM 14.0 as a reference. Is there a way to get some specific information about NAL units like (a) type (b) num_bytes (c) frame_no (d) decode_time (e) priority (f) timestamp The first two I can have it through annexBbytecount, but what about the rest? 回答1: The reference codec comes with a built in tracer which is quite powerful! Enable it like this: diff --git a/source/Lib/TLibCommon/TComRom.h b/source/Lib/TLibCommon/TComRom.h index 5a59809..1930809 100644 --- a/source/Lib/TLibCommon

Android MediaCodec HEVC Supported Resolutions

别说谁变了你拦得住时间么 提交于 2019-12-23 18:29:44
问题 Does anyone know what the supported resolutions are for Android MediaCodec when decoding HEVC? Through trial and error I've found that the following work: 640x272 720x304 960x400 1280x528 1920x800 2560x1072 And the following don't: 512x216 3840x1600 Is there any official documentation? 回答1: I doubt that there is any official documentation - in practice, you can probably rely on the fact that the resolutions that are tested by the CTS work, but other resolutions can behave in any way. Judging

Android MediaCodec for HEVC

北城以北 提交于 2019-12-21 23:27:40
问题 I'm looking into using the android MediaCodec class to decode HEVC. Are there any examples of projects that do this? At present I configure the decoder with the following: AMEDIAFORMAT_KEY_MIME: "video/hevc" AMEDIAFORMAT_KEY_MAX_HEIGHT: 4320 AMEDIAFORMAT_KEY_MAX_WIDTH: 8192 AMEDIAFORMAT_KEY_HEIGHT: 1600 AMEDIAFORMAT_KEY_WIDTH: 3840 AMEDIAFORMAT_KEY_FRAME_RATE: 24 AMEDIAFORMAT_KEY_PUSH_BLANK_BUFFERS_ON_STOP: 1 When using this setup, I get no video output. I've also tried setting csd-0 , csd-1

H.265/HEVC web browser support

老子叫甜甜 提交于 2019-12-20 08:38:45
问题 Are there any web browsers out there that can playback the H.265 / MPEG-4 HEVC codec in a html5 video element? On what platform or hardware? I heard rumours about HEVC support in Edge when hardware decoding is available. With current GPUs and CPUs shipping with HEVC hardware decoding I wonder which other browser vendors are following. Firefox already works like this for H.264 回答1: It works in IE and Edge but only if there is hardware support. It's also reported to work in Android browser and

H.265/HEVC web browser support

守給你的承諾、 提交于 2019-12-20 08:38:36
问题 Are there any web browsers out there that can playback the H.265 / MPEG-4 HEVC codec in a html5 video element? On what platform or hardware? I heard rumours about HEVC support in Edge when hardware decoding is available. With current GPUs and CPUs shipping with HEVC hardware decoding I wonder which other browser vendors are following. Firefox already works like this for H.264 回答1: It works in IE and Edge but only if there is hardware support. It's also reported to work in Android browser and

阿里云视频云正式支持AV1编码格式 为视频编码服务降本提效

元气小坏坏 提交于 2019-12-15 06:30:18
今天我们要说的 AV1 可不是我们平时说的 .AVI 文件格式,它是 由AOM(Alliance for Open Media,开放媒体联盟)制定的一个开源、免版权费的视频编码格式 ,可以解决H.265昂贵的专利费用和复杂的专利授权问题,是新一代领先的免版权费的编码标准。 随着短视频、直播的兴起,在线视频领域用户使用时长已超过社交领域,而5G时代视频在互联网的流量占比将会增长至85~90%。面对用户对视频画质要求的不断提高,如何在有限带宽的网络环境中,实现更清晰、更低成本的视频信号传输,一直是众多视频应用企业关心的问题。 目前较为流行的H.264与H.265编码格式,虽然其压缩效率比MPEG-2提高了1倍多,但是仍然为网络带来了极大的带宽压力,众多视频应用同时也面临着昂贵的专利费用的困扰。 云端AV1视频编码服务发布 节省25%以上码率 在加入AOM一年后,阿里云视频云近日宣布,正式推出基于云端的AV1视频编码服务,编码效率方面,在PSNR和VMAF同等情况下, AV1较HEVC有超过25%的码率节省 ,能有效节省存储空间及网络流量。 AV1相较于HEVC有更丰富的编码工具,例如:更灵活的块划分,可适应各种内容切割视频;较强大的帧内和帧间预测可提高预测效率;更多种类的变换和更强大的环内滤波器,可提高编码效率。根据实测,在视频云点播的线上应用场景,有效地利用这些工具