HEVC encoding for Ipad Pro 10.5"

Discuss encoding for devices and presets.
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
dahacker
Posts: 7
Joined: Wed May 16, 2018 12:07 am

HEVC encoding for Ipad Pro 10.5"

Post by dahacker »

Description of problem or question:
I'm looking for a good workflow to convert my home movies to HEVC format that will work on an Ipad Pro 10.5". All of the H.265 encoding that I have done with handbrake and handbrake nightly, Windows iTunes refuses to load onto the Ipad because it is not "compatible" with the device. I do H.264 encoding for the devices all the time into .m4v containers and iTunes loads them with no problem.

HandBrake version (e.g., 1.0.0):
Handbrake Nightly

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 7, IOS 11.2.6

I don't need an activity log. The program works fine, I just would like information from anyone who has personally done this themselves.
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: HEVC encoding for Ipad Pro 10.5"

Post by BradleyS »

Have you tried the new Apple 2160p60 4K HEVC Surround preset in HandBrake 1.1.0 and later? Previous HandBrake versions do not create Apple-compatible HEVC.

We will need that activity log to troubleshoot.
dahacker
Posts: 7
Joined: Wed May 16, 2018 12:07 am

Re: HEVC encoding for Ipad Pro 10.5"

Post by dahacker »

Thanks for your response. I've tried it in the HandBrake Nightly using the Apple 2160p60 4K HEVC Surround preset:

Code: Select all

HandBrake Nightly 20180429203125-f62170c-master (2018050101) - 64bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Ram: 8167 MB, 
GPU Information:
  NVIDIA GeForce GT 430 - 9.18.13.1106
Screen: 1920x1200
Temp Dir: C:\Users\dahacker\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\dahacker\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

-------------------------------------------


# Starting Encode ...

[20:28:16] hb_init: starting libhb thread
[20:28:16] 1 job(s) to process
[20:28:16] json job:
{
  "Audio": {
    "AudioList": [],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\dahacker\\Documents\\Handbrake\\Jellyfish-35-Mbps-Hd-H264-1.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/450000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\dahacker\\Downloads\\jellyfish-35-mbps-hd-h264.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 4096,
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "strong-intra-smoothing=0:rect=0",
    "Preset": "slow",
    "Profile": "main",
    "Quality": 24.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[20:28:16] CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
[20:28:16]  - Intel microarchitecture Sandy Bridge
[20:28:16]  - logical processor count: 8
[20:28:16] Intel Quick Sync Video support: no
[20:28:16] hb_scan: path=C:\Users\dahacker\Downloads\jellyfish-35-mbps-hd-h264.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\dahacker\Downloads\jellyfish-35-mbps-hd-h264.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[20:28:16] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[20:28:16] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\dahacker\Downloads\jellyfish-35-mbps-hd-h264.mkv':
  Duration: 00:00:30.03, start: 0.000000, bitrate: N/A
    Stream #0:0(eng): Video: h264 (High)
      yuv420p, tv, bt709/bt709/bt709
      1920x1080 [PAR 1:1 DAR 16:9], PAR 1:1 DAR 16:9
      29.97 fps, 1k tbn (default)
[20:28:16] scan: decoding previews for title 1
[20:28:17] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[20:28:17] scan: supported video decoders: avcodec qsv
[20:28:17] libhb: scan thread found 1 valid title(s)
[20:28:17] Skipping subtitle scan.  No suitable subtitle tracks.
[20:28:17] starting job
[20:28:17] decomb filter thread started for segment 0
[20:28:17] decomb filter thread started for segment 1
[20:28:17] decomb filter thread started for segment 2
[20:28:17] decomb filter thread started for segment 3
[20:28:17] decomb filter thread started for segment 4
[20:28:17] decomb filter thread started for segment 5
[20:28:17] decomb filter thread started for segment 6
[20:28:17] decomb filter thread started for segment 7
[20:28:17] decomb check thread started for segment 0
[20:28:17] decomb check thread started for segment 1
[20:28:17] decomb check thread started for segment 2
[20:28:17] decomb check thread started for segment 3
[20:28:17] decomb check thread started for segment 4
[20:28:17] decomb check thread started for segment 5
[20:28:17] decomb check thread started for segment 6
[20:28:17] decomb check thread started for segment 7
[20:28:17] mask filter thread started for segment 0
[20:28:17] mask filter thread started for segment 1
[20:28:17] mask filter thread started for segment 2
[20:28:17] mask filter thread started for segment 3
[20:28:17] mask filter thread started for segment 4
[20:28:17] mask filter thread started for segment 5
[20:28:17] mask filter thread started for segment 6
[20:28:17] mask filter thread started for segment 7
[20:28:17] mask erode thread started for segment 0
[20:28:17] mask erode thread started for segment 1
[20:28:17] mask erode thread started for segment 2
[20:28:17] mask erode thread started for segment 3
[20:28:17] mask erode thread started for segment 4
[20:28:17] mask erode thread started for segment 5
[20:28:17] mask erode thread started for segment 6
[20:28:17] mask erode thread started for segment 7
[20:28:17] mask dilate thread started for segment 0
[20:28:17] mask dilate thread started for segment 1
[20:28:17] mask dilate thread started for segment 2
[20:28:17] mask dilate thread started for segment 3
[20:28:17] mask dilate thread started for segment 4
[20:28:17] mask dilate thread started for segment 5
[20:28:17] mask dilate thread started for segment 6
[20:28:17] mask dilate thread started for segment 7
[20:28:17] yadif thread started for segment 0
[20:28:17] yadif thread started for segment 1
[20:28:17] yadif thread started for segment 2
[20:28:17] yadif thread started for segment 3
[20:28:17] yadif thread started for segment 4
[20:28:17] yadif thread started for segment 5
[20:28:17] yadif thread started for segment 6
[20:28:17] yadif thread started for segment 7
[20:28:17] work: only 1 chapter, disabling chapter markers
[20:28:17] job configuration:
[20:28:17]  * source
[20:28:17]    + C:\Users\dahacker\Downloads\jellyfish-35-mbps-hd-h264.mkv
[20:28:17]    + title 1, chapter(s) 1 to 1
[20:28:17]    + container: matroska,webm
[20:28:17]  * destination
[20:28:17]    + C:\Users\dahacker\Documents\Handbrake\Jellyfish-35-Mbps-Hd-H264-1.m4v
[20:28:17]    + container: MPEG-4 (libavformat)
[20:28:17]  * video track
[20:28:17]    + decoder: h264
[20:28:17]    + filters
[20:28:17]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[20:28:17]      + Decomb (mode=39)
[20:28:17]      + Framerate Shaper (mode=2:rate=27000000/450000)
[20:28:17]        + frame rate: 29.970 fps -> peak rate limited to 60.000 fps
[20:28:17]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[20:28:17]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[20:28:17]    + Output geometry
[20:28:17]      + storage dimensions: 1920 x 1080
[20:28:17]      + pixel aspect ratio: 1 : 1
[20:28:17]      + display dimensions: 1920 x 1080
[20:28:17]    + encoder: H.265 (libx265)
[20:28:17]      + preset:  slow
[20:28:17]      + options: strong-intra-smoothing=0:rect=0
[20:28:17]      + profile: main
[20:28:17]      + quality: 24.00 (RF)
[20:28:17] sync: expecting 900 video frames
x265 [info]: HEVC encoder version 2.6
x265 [info]: build info [Windows][GCC 7.1.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 30 / 300 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-24.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao
[20:28:17] sync: first pts video is 0
[20:28:17] sync: "Chapter 1" (1) at frame 1 time 0
[20:31:24] reader: done. 1 scr changes
[20:31:48] work: average encoding speed for job is 4.534170 fps
[20:31:48] comb detect: heavy 0 | light 14 | uncombed 886 | total 900
[20:31:48] decomb: deinterlaced 0 | blended 14 | unfiltered 886 | total 900
[20:31:48] vfr: 900 frames output, 0 dropped and 0 duped for CFR/PFR
[20:31:48] vfr: lost time: 0 (0 frames)
[20:31:48] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:31:48] h264-decoder done: 900 frames, 0 decoder errors
[20:31:48] sync: got 900 frames, 900 expected
[20:31:48] sync: framerate min 29.970 fps, max 29.980 fps, avg 29.970 fps
x265 [info]: frame I:      4, Avg QP:24.99  kb/s: 15037.88
x265 [info]: frame P:    213, Avg QP:25.36  kb/s: 12736.38
x265 [info]: frame B:    683, Avg QP:29.13  kb/s: 4610.88
x265 [info]: Weighted P-Frames: Y:8.5% UV:8.0%
x265 [info]: consecutive B-frames: 0.9% 0.0% 1.8% 77.9% 19.4%
encoded 900 frames in 211.02s (4.27 fps), 6580.26 kb/s, Avg QP:28.22
[20:31:48] mux: track 0, 900 frames, 24704235 bytes, 6573.91 kbps, fifo 1024
[20:31:48] libhb: work result = 0

# Encode Completed ...
Last edited by Anonymous on Thu May 17, 2018 12:20 am, edited 1 time in total.
Reason: Logs in [code][/code] blocks please
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: HEVC encoding for Ipad Pro 10.5"

Post by mduell »

dahacker wrote: Wed May 16, 2018 12:18 amI don't need an activity log.
lol
dahacker
Posts: 7
Joined: Wed May 16, 2018 12:07 am

Re: HEVC encoding for Ipad Pro 10.5"

Post by dahacker »

mduell wrote: Thu May 17, 2018 7:26 am
dahacker wrote: Wed May 16, 2018 12:18 amI don't need an activity log.
lol
Generally for Internet software forums you don't post a debug log of the software when you are asking how to configure and perform a fully functioning feature of the software. But I can understand how veterans of the forum can be frustrated with new users with brief and concise information and have complied quickly with the activity log request for your review. I'm glad I could bring amusement to your day and look forward to entertaining you further.

I fully expect the problem to be the the Windows iTunes side, perhaps not fully capable of dealing with an HEVC formatted file in a .m4v container. Hoping to find someone that has been successful with generating an HEVC file in handbrake and loading and running it on the current Ipad Pro 10.5 via Windows iTunes or side loading it via other transfer means.
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: HEVC encoding for Ipad Pro 10.5"

Post by BradleyS »

Sadly, I do not have a device to test with. Hopefully someone else will have an idea. iTunes is known to be unreasonable in such situations.

Please see https://handbrake.fr/docs/en/latest/hel ... y-log.html for more information on why an activity log is mandatory for support. The red box at the top of the support forums also makes this clear. Your log answered a number of questions I had without asking.
dahacker
Posts: 7
Joined: Wed May 16, 2018 12:07 am

Re: HEVC encoding for Ipad Pro 10.5"

Post by dahacker »

I've poked my head over at the official Apple Windows iTunes forum for some hope that anyone has attempted loading home made HEVC files onto an Ipad Pro, but that forum looks like a wasteland, not monitored by experts like here.

I'm gathering people who want to make HEVC video content for the Ipad on a Windows machine is me and maybe three other people in the world.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: HEVC encoding for Ipad Pro 10.5"

Post by rollin_eng »

I also don't have a device to test with but I noticed you have no audio track, do you get the same issue if you have one?
dahacker
Posts: 7
Joined: Wed May 16, 2018 12:07 am

Re: HEVC encoding for Ipad Pro 10.5"

Post by dahacker »

Yes, same problem with an audio track present. The above one was just a quick run with a common base video source file available on the Internet.
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: HEVC encoding for Ipad Pro 10.5"

Post by BradleyS »

I made this test file on Mac using the Apple 2160p60 4K HEVC Surround preset, care to try it? https://www.dropbox.com/s/i7j0w2qf66ibw ... t.mp4?dl=0
dahacker
Posts: 7
Joined: Wed May 16, 2018 12:07 am

Re: HEVC encoding for Ipad Pro 10.5"

Post by dahacker »

I'll try it tonight around 8pm EDT time.
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: HEVC encoding for Ipad Pro 10.5"

Post by mduell »

dahacker wrote: Thu May 17, 2018 1:12 pmGenerally for Internet software forums you don't post a debug log of the software when you are asking how to configure and perform a fully functioning feature of the software. But I can understand how veterans of the forum can be frustrated with new users with brief and concise information and have complied quickly with the activity log request for your review.
I'm sure that might even be the case in a low effort forum that doesn't put such a notice at the top of the page in bold underlined red text on a pink background.
dahacker
Posts: 7
Joined: Wed May 16, 2018 12:07 am

Re: HEVC encoding for Ipad Pro 10.5"

Post by dahacker »

BradleyS wrote: Thu May 17, 2018 5:38 pm I made this test file on Mac using the Apple 2160p60 4K HEVC Surround preset, care to try it? https://www.dropbox.com/s/i7j0w2qf66ibw ... t.mp4?dl=0
Windows iTunes doesn't fully support loading that file to the iPad either. It loads to the library, no thumbnail, and still won't sync it to the Ipad Pro 10.5".

I was able to side load that small HEVC file via gmail to the Ipad and save it to the photos section. It plays fine on the Ipad.

I'm going to have to explore what the current capabilities are for getting larger 5GB+ files synced onto the iPad outside of iTunes. Certainly dropbox would probably work, but I don't have that large of a Dropbox account. Maybe the SD adapter will let me do it now via SD card. Some days you just want the simplicity of Android USB file transfers! If anyone has their dream Ipad side loading video workflow for larger files, I'd love to hear it.
Post Reply