Please tag HEVC with hvc1 not hev1, can't play on any apple devices Posted on: Nov 10, 2018 2:36 AM | OK i've been bashing my head at this long enough now where I don't think it's user error. I haven't been able to successfully play any HEVC from MediaConvert to date. I've tried as many sanity tests as possible. I think some of you guys might need to buy an apple device for the office.. Here are some HEVC files that do play nativelyhttps://x265.com/hevc-video-files/ 1.10. You SHOULD use video formats in which the parameter sets are stored in the sample descriptions, rather than the samples. (i.e., Use ‘avc1’, ‘hvc1’, or ‘dvh1’ rather than ‘avc3’, ‘hev1’, or ‘dvhe’.) More resources: https://stackoverflow.com/questions/49128084/playing-h-265-video-file-using-avplayer/49134221#49134221 https://apple.stackexchange.com/questions/299733/macos-high-sierra-unable-to-natively-play-videos-encoded-with-handbrakes-h-265 Here's the media info for a mediaconvert hevc encoding, it doesn't play on apple. General Complete name : 75132A0D-FDC2-4456-98C7-2CFB402F77D3_360p.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom) File size : 2.43 MiB Duration : 59 s 993 ms Overall bit rate mode : Variable Overall bit rate : 340 kb/s Encoded date : UTC 2018-11-10 09:48:09 Tagged date : UTC 2018-11-10 09:48:09 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main@L5@High Codec ID : hev1 Codec ID/Info : High Efficiency Video Coding Duration : 59 s 993 ms Bit rate : 235 kb/s Width : 360 pixels Height : 640 pixels Display aspect ratio : 0.562 Frame rate mode : Constant Frame rate : 29.970 (30000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Bits/(Pixel*Frame) : 0.034 Stream size : 1.68 MiB (69%) Encoded date : UTC 2018-11-10 09:48:09 Tagged date : UTC 2018-11-10 09:48:09 Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : mp4a-40-2 Duration : 59 s 989 ms Bit rate mode : Variable Bit rate : 96.0 kb/s Maximum bit rate : 100 kb/s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 703 KiB (28%) Encoded date : UTC 2018-11-10 09:48:09 Tagged date : UTC 2018-11-10 09:48:09 Here is a video that does play: General Complete name : Tears_400_x265.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : iso4 (iso4/hvc1) File size : 689 KiB Duration : 13 s 958 ms Overall bit rate : 405 kb/s Encoded date : UTC 2014-08-25 18:10:46 Tagged date : UTC 2014-08-25 18:10:46 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main@L4@Main Codec ID : hvc1 Codec ID/Info : High Efficiency Video Coding Duration : 13 s 958 ms Bit rate : 402 kb/s Maximum bit rate : 801 kb/s Width : 1 920 pixels Height : 800 pixels Display aspect ratio : 2.40:1 Frame rate mode : Constant Frame rate : 24.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Bits/(Pixel*Frame) : 0.011 Stream size : 685 KiB (99%) Title : hevc:fps=24@GPAC0.5.1-DEV-rev4807 Writing library : x265 1.3+20-6e6756f94b27:https://forums.aws.amazon.com/https://forums.aws.amazon.com/https://forums.aws.amazon.com/ Encoding settings : wpp / ctu=64 / tu-intra-depth=3 / tu-inter-depth=3 / me=3 / subme=4 / merange=57 / rect / amp / max-merge=4 / no-early-skip / no-fast-cbf / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / interlace=0 / keyint=250 / min-keyint=24 / scenecut=40 / rc-lookahead=40 / bframes=8 / bframe-bias=0 / b-adapt=2 / ref=5 / weightp / no-weightb / aq-mode=2 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=6 / psy-rd=0.60 / psy-rdoq=1.00 / signhide / lft / sao / sao-lcu-bounds=0 / sao-lcu-opt=1 / b-pyramid / cutree / rc=2 / pass / bitrate=400 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30 Encoded date : UTC 2014-08-25 18:10:46 Tagged date : UTC 2014-08-25 18:10:46 Edited by: rromanchuk5 on Nov 10, 2018 11:39 AM |
|
Replies: 5 | Pages: 1 - Last Post: Nov 12, 2018 1:04 AM by: rromanchuk5 |
|
---|
|
Re: Please tag HEVC with hvc1 not hev1, can't play on any apple devices Posted on: Nov 11, 2018 10:47 AM | Hi there, We only expose changing the Codec ID, in DASH ISO and CMAF Output groups. We do not expose this parameter for File Output groups where the video codec is HEVC. In order to change this parameter for CMAF output groups please do the following. Create CMAF Output Group For video, change codec to HEVC (H.265) Under MP4 Packaging type, change HEV1 to HVC1 Thanks, Jeremy |
|
|
Re: Please tag HEVC with hvc1 not hev1, can't play on any apple devices Posted on: Nov 11, 2018 10:10 PM | I'm getting a validation error when trying to create an output preset. Error creating preset : Should match exactly one schema defined in 'oneOf' Just to be clear, in terms of framing the problem correctly, I'm just trying to get a video (file, not stream) transcoded by mediaconvert to play natively on an apple device using H265. Zero other prerequisites. I'm not trying to change the codec ID, i'm trying to get a h265 video transcoded on mediaconvert that can play on 84 million smartphones. I'm on week two with no success. |
|
|
Re: Please tag HEVC with hvc1 not hev1, can't play on any apple devices Posted on: Nov 11, 2018 10:37 PM | Maybe i'm confused about what CMAF is. I got the preset to save by removing the audio output, but now the job is failing with 'DASH muxer only works with dash_group_settings - media target [1].' OK I just googled, now i understand why there is no audio. Should I be using CMAF? It sounds like it's the smarter option? I need to do some more research obviously.. Here's what i'm trying to accomplish. Context: mobile only, iOS only Customer uploads a high resolution source video. Outputs i would like. HEVC High Resolution MP4 file ❌ - For consumer to be able to download to device. AVC HLS VOD ✅ - For on demand viewing of content on application (ideally i would like hevc) JPG frame capture ✅ - For static preview image of VOD content on application (again, ideally i would like heif) Edited by: rromanchuk5 on Nov 11, 2018 10:37 PM Edited by: rromanchuk5 on Nov 11, 2018 10:38 PM |
|
|
Re: Please tag HEVC with hvc1 not hev1, can't play on any apple devices Posted on: Nov 11, 2018 11:03 PM | Ok this is interesting hahaha, I don't know where this was hiding, this sounds perfect for my use case. https://developer.apple.com/documentation/avfoundation/media_assets_playback_and_editing/about_the_common_media_application_format_with_http_live_streaming For some reason i thought this was legacy, not bleeding edge. Surprised I didn't run into it before now. |
|
|
Re: Please tag HEVC with hvc1 not hev1, can't play on any apple devices Posted on: Nov 12, 2018 1:04 AM | Oh wow, CMAF is fantastic! It's exactly what I was looking for. Already was able to add it to my pipeline, and i can confirm HEVC is working. Thanks for getting me in the right direction. |
|
|
| Answered question | Unanswered question with answer points still available | Unanswered question |
Ace: 2000+ pts | Expert: 750-1999 pts | Guide: 300-749 pts | Enthusiast: 50-299 pts | Newbie: 5-49 pts | Amazonian |
|
Comments are closed.