Converting HEVC: 0.01x encoding speed issue
Posted: Sat Sep 23, 2017 1:33 am
Hello,
I am attempting to convert an H265 Matroska video in order to decrease the file size. No matter what combinations of formats and codecs I try (H265+NVENC, H265+x265, H264+NVENC, H264+x264), the encoding speed drops to 0.01x within a second. This is not the case for any other H265 video file I have. Perhaps the fact that the video has strange seeking issues (doesn't move exactly to the position I click on but rather to the closest seemingly predefined position) is related (it plays fine otherwise though). My system is not an issue, it 's a Core i7-2600 and a GTX 970 which up until now had no problems converting anything very quickly.
I post the file properties below:
Format : Matroska
Format version : Version 4 / Version 2
File size : 299 MiB
Duration : 22mn 27s
Overall bit rate : 1 862 Kbps
Encoded date : UTC 2015-10-06 02:47:29
Writing application : mkvmerge v8.2.0 ('World of Adventure') 64bit
Writing library : Lavf56.0.100
Attachements : cover.jpg
DURATION : 00:22:27.115000000
NUMBER_OF_FRAMES : 31573
NUMBER_OF_BYTES : 10492130
_STATISTICS_WRITING_APP : mkvmerge v8.2.0 ('World of Adventure') 64bit
_STATISTICS_WRITING_DATE_UTC : 2015-10-06 02:47:29
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 22mn 27s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Title : Encoded with IFME v4.9.4.0
Writing library : x265 1.7+509-f4c267f28487:[Windows][GCC 4.8.2][64 bit] 8bit
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=3 / subme=3 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=1200 / min-keyint=23 / scenecut=40 / rc-lookahead=250 / lookahead-slices=0 / bframes=8 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=0 / weightp / weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=0.30 / rdoq-level=0 / psy-rdoq=0.00 / signhide / no-deblock / sao / sao-non-deblock / b-pyramid / cutree / rc=crf / crf=25.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
DURATION : 00:22:22.049000000
NUMBER_OF_FRAMES : 486
NUMBER_OF_BYTES : 24340
_STATISTICS_WRITING_APP : mkvmerge v8.2.0 ('World of Adventure') 64bit
_STATISTICS_WRITING_DATE_UTC : 2015-10-06 02:47:29
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 22mn 27s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Delay relative to video : 31ms
Title : Track 1
Writing library : Lavc56.0.100 ***
Language : English
Default : Yes
Forced : No
DURATION : 00:22:22.049000000
NUMBER_OF_FRAMES : 526
NUMBER_OF_BYTES : 26142
_STATISTICS_WRITING_APP : mkvmerge v8.2.0 ('World of Adventure') 64bit
_STATISTICS_WRITING_DATE_UTC : 2015-10-06 02:47:29
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 22mn 27s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Delay relative to video : 31ms
Title : Track 2
Default : No
Forced : No
Audio #3
ID : 4
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 22mn 27s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Delay relative to video : 31ms
Title : Track 3
Default : No
Forced : No
Text #1
ID : 5
Format : ***
Codec ID : S_TEXT/***
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Language : English
Default : Yes
Forced : No
Text #2
ID : 6
Format : ***
Codec ID : S_TEXT/***
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Title : SDH
Language : English
Default : No
Forced : No
Menu
00:00:00.000 : :00:00:00.000
00:00:27.945 : :00:00:27.945
00:00:59.810 : :00:00:59.810
00:13:19.799 : :00:13:19.799
00:21:04.346 : :00:21:04.346
00:21:34.293 : :00:21:34.293
I am attempting to convert an H265 Matroska video in order to decrease the file size. No matter what combinations of formats and codecs I try (H265+NVENC, H265+x265, H264+NVENC, H264+x264), the encoding speed drops to 0.01x within a second. This is not the case for any other H265 video file I have. Perhaps the fact that the video has strange seeking issues (doesn't move exactly to the position I click on but rather to the closest seemingly predefined position) is related (it plays fine otherwise though). My system is not an issue, it 's a Core i7-2600 and a GTX 970 which up until now had no problems converting anything very quickly.
I post the file properties below:
Format : Matroska
Format version : Version 4 / Version 2
File size : 299 MiB
Duration : 22mn 27s
Overall bit rate : 1 862 Kbps
Encoded date : UTC 2015-10-06 02:47:29
Writing application : mkvmerge v8.2.0 ('World of Adventure') 64bit
Writing library : Lavf56.0.100
Attachements : cover.jpg
DURATION : 00:22:27.115000000
NUMBER_OF_FRAMES : 31573
NUMBER_OF_BYTES : 10492130
_STATISTICS_WRITING_APP : mkvmerge v8.2.0 ('World of Adventure') 64bit
_STATISTICS_WRITING_DATE_UTC : 2015-10-06 02:47:29
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 22mn 27s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Title : Encoded with IFME v4.9.4.0
Writing library : x265 1.7+509-f4c267f28487:[Windows][GCC 4.8.2][64 bit] 8bit
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=3 / subme=3 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=1200 / min-keyint=23 / scenecut=40 / rc-lookahead=250 / lookahead-slices=0 / bframes=8 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=0 / weightp / weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=0.30 / rdoq-level=0 / psy-rdoq=0.00 / signhide / no-deblock / sao / sao-non-deblock / b-pyramid / cutree / rc=crf / crf=25.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
DURATION : 00:22:22.049000000
NUMBER_OF_FRAMES : 486
NUMBER_OF_BYTES : 24340
_STATISTICS_WRITING_APP : mkvmerge v8.2.0 ('World of Adventure') 64bit
_STATISTICS_WRITING_DATE_UTC : 2015-10-06 02:47:29
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 22mn 27s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Delay relative to video : 31ms
Title : Track 1
Writing library : Lavc56.0.100 ***
Language : English
Default : Yes
Forced : No
DURATION : 00:22:22.049000000
NUMBER_OF_FRAMES : 526
NUMBER_OF_BYTES : 26142
_STATISTICS_WRITING_APP : mkvmerge v8.2.0 ('World of Adventure') 64bit
_STATISTICS_WRITING_DATE_UTC : 2015-10-06 02:47:29
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 22mn 27s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Delay relative to video : 31ms
Title : Track 2
Default : No
Forced : No
Audio #3
ID : 4
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 22mn 27s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Delay relative to video : 31ms
Title : Track 3
Default : No
Forced : No
Text #1
ID : 5
Format : ***
Codec ID : S_TEXT/***
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Language : English
Default : Yes
Forced : No
Text #2
ID : 6
Format : ***
Codec ID : S_TEXT/***
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Title : SDH
Language : English
Default : No
Forced : No
Menu
00:00:00.000 : :00:00:00.000
00:00:27.945 : :00:00:27.945
00:00:59.810 : :00:00:59.810
00:13:19.799 : :00:13:19.799
00:21:04.346 : :00:21:04.346
00:21:34.293 : :00:21:34.293