HEVC VideoToolBox GOP Size

HandBrake for Mac support
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
tamal
Posts: 2
Joined: Mon Sep 13, 2021 6:46 am

HEVC VideoToolBox GOP Size

Post by tamal »

If I convert webm(vp9) video into mp4(hevc) then it is well playable in any mp4 player. But the problem is the video is NOT seekable as I frame gap is 10 seconds (approx). If I edit video in fcp then I can not edit it properly.
So I need to set keyint=x but it is NOT working for hevc videotoolbox. it works only for x265 codec.
My question is how can I set keyint=x for videotoolbox hevc


HandBrake version 1.4.1
MacOS Bigsur Apple M1
tamal
Posts: 2
Joined: Mon Sep 13, 2021 6:46 am

Re: HEVC VideoToolBox GOP Size

Post by tamal »

You can check Activity LOG if you need..


[12:52:30] macgui: Handbrake Version: 1.4.1 (2021081500)
[12:52:30] Compile-time hardening features are enabled
[12:52:31] hb_init: starting libhb thread
[12:52:39] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[12:52:39] CPU:
[12:52:39] - logical processor count: 8
[12:52:39] hb_scan: path=/Volumes/T7/PS5/CREATE/Video Clips/DAYS GONE/1.webm, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Volumes/T7/PS5/CREATE/Video Clips/DAYS GONE/1.webm
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/Volumes/T7/PS5/CREATE/Video Clips/DAYS GONE/1.webm/) failed
[12:52:39] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[12:52:39] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Volumes/T7/PS5/CREATE/Video Clips/DAYS GONE/1.webm':
Metadata:
encoder : mkvmux-1.0.0
Duration: 00:16:17.01, start: -0.003000, bitrate: 47446 kb/s
Stream #0:0: Video: vp9 (Profile 2), yuv420p10le(pc, bt2020nc/bt2020/smpte2084), 3840x2160, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc (default)
Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp (default)
[12:52:39] scan: decoding previews for title 1
[12:52:39] scan: audio 0x1: opus, rate=48000Hz, bitrate=1 Unknown (Opus) (2.0 ch)
[12:52:40] scan: 10 previews, 3840x2160, 59.940 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9
[12:52:40] libhb: scan thread found 1 valid title(s)
[12:52:40] macgui: ScanCore scan done
[12:52:40] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[12:53:10] Compile-time hardening features are enabled
[12:53:11] hb_init: starting libhb thread
[12:53:11] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[12:53:11] CPU:
[12:53:11] - logical processor count: 8
[12:53:11] hb_scan: path=/Volumes/T7/PS5/CREATE/Video Clips/DAYS GONE/1.webm, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Volumes/T7/PS5/CREATE/Video Clips/DAYS GONE/1.webm
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/Volumes/T7/PS5/CREATE/Video Clips/DAYS GONE/1.webm/) failed
[12:53:11] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[12:53:11] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Volumes/T7/PS5/CREATE/Video Clips/DAYS GONE/1.webm':
Metadata:
encoder : mkvmux-1.0.0
Duration: 00:16:17.01, start: -0.003000, bitrate: 47446 kb/s
Stream #0:0: Video: vp9 (Profile 2), yuv420p10le(pc, bt2020nc/bt2020/smpte2084), 3840x2160, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc (default)
Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp (default)
[12:53:11] scan: decoding previews for title 1
[12:53:11] scan: audio 0x1: opus, rate=48000Hz, bitrate=1 Unknown (Opus) (2.0 ch)
[12:53:12] scan: 10 previews, 3840x2160, 59.940 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9
[12:53:12] libhb: scan thread found 1 valid title(s)
[12:53:12] macgui: fr.handbrake.HandBrakeXPCService scan done
[12:53:12] macgui: fr.handbrake.HandBrakeXPCService started encoding 1.mp4
[12:53:12] macgui: fr.handbrake.HandBrakeXPCService with preset My Game 4K 60FPS HDR
[12:53:12] Starting work at: Mon Sep 13 12:53:12 2021

[12:53:12] 1 job(s) to process
[12:53:12] Starting Task: Encoding Pass
[12:53:12] Skipping crop/scale filter
[12:53:12] job configuration:
[12:53:12] * source
[12:53:12] + /Volumes/T7/PS5/CREATE/Video Clips/DAYS GONE/1.webm
[12:53:12] + title 1, start 00:00:0.00 stop 00:00:30.00
[12:53:12] + container: matroska,webm
[12:53:12] + data rate: 47446 kbps
[12:53:12] * destination
[12:53:12] + /Users/tamalbasak/1.mp4
[12:53:12] + container: MPEG-4 (libavformat)
[12:53:12] * video track
[12:53:12] + decoder: vp9 10-bit
[12:53:12] + filter
[12:53:12] + Framerate Shaper (mode=1:rate=27000000/450000)
[12:53:12] + frame rate: 59.940 fps -> constant 60.000 fps
[12:53:12] + Output geometry
[12:53:12] + storage dimensions: 3840 x 2160
[12:53:12] + pixel aspect ratio: 1 : 1
[12:53:12] + display dimensions: 3840 x 2160
[12:53:12] + encoder: H.265 (libavcodec)
[12:53:12] + preset: default
[12:53:12] + profile: auto
[12:53:12] + bitrate: 60000 kbps, pass: 0
[12:53:12] + color profile: 9-16-9
[12:53:12] * audio track 1
[12:53:12] + decoder: Unknown (Opus) (2.0 ch) (track 1, id 0x1)
[12:53:12] + samplerate: 48000 Hz
[12:53:12] + mixdown: Stereo
[12:53:12] + encoder: AAC (Apple AudioToolbox)
[12:53:12] + bitrate: 160 kbps, samplerate: 48000 Hz
[12:53:12] sync: expecting 1858 video frames
[12:53:12] encavcodecInit: H.265 10 bit (VideoToolbox)
[12:53:12] encavcodec: encoding with stored aspect 1/1
[12:53:12] sync: first pts video is 0
[12:53:12] sync: Chapter 1 at frame 1 time 0
[12:53:12] sync: first pts audio 0x1 is 180
[12:53:50] sync: reached video pts 2701198, exiting early
[12:53:50] sync: reached audio 0x1 pts 2701530, exiting early
[12:53:51] work: average encoding speed for job is 47.698700 fps
[12:53:51] vfr: 1800 frames output, 0 dropped and 1 duped for CFR/PFR
[12:53:51] vfr: lost time: 0 (0 frames)
[12:53:51] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:53:51] opus-decoder done: 1654 frames, 0 decoder errors
[12:53:51] vp9-decoder done: 1974 frames, 0 decoder errors
[12:53:51] sync: got 1799 frames, 1858 expected
[12:53:51] sync: framerate min 59.940 fps, max 59.940 fps, avg 59.940 fps
[12:53:51] mux: track 0, 1800 frames, 213458912 bytes, 56827.66 kbps, fifo 256
[12:53:51] mux: track 1, 1410 frames, 628424 bytes, 167.30 kbps, fifo 256
[12:53:51] Finished work at: Mon Sep 13 12:53:51 2021

[12:53:51] libhb: work result = 0
[12:53:51] macgui: Queue Done, there are no more pending encodes
[12:53:51] macgui: fr.handbrake.HandBrakeXPCService work done
Post Reply