Converting HEVC: 0.01x encoding speed issue

Discuss about generic usage of MediaCoder.

Moderator: HuggiL

Post Reply
VengefulAncient
Beginner
Beginner
Posts: 1
Joined: Sat Sep 23, 2017 1:18 am

Converting HEVC: 0.01x encoding speed issue

Post by VengefulAncient » 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

acnlau
Beginner
Beginner
Posts: 1
Joined: Sun Oct 22, 2017 12:58 pm

Re: Converting HEVC: 0.01x encoding speed issue

Post by acnlau » Sun Oct 22, 2017 1:11 pm

I've the same problem here when I convert my DV tape AVI file into x265 format. By looking into the console file, I guess my DV tape AVI has too many warnings so that the MediaCoder output extensive debug logs (even I close the console window) and impose serious impact to the performance.

In order to solve the problem, I first convert my DV tape AVI file into MKV using MKVToolNix (without transcoding). Then the MediaCoder can convert the interim MKV into x265 with reasonable speed ( 0.5x in my case).

Hope MediaCoder support team will read my message and fix this issue.


==================
Converter program

MediaCoder x64 version 0.8.49 build 5892

==================
My computer

Intel Core i7-6500U


==================
Source file

General
Complete name : P:\H001.avi
Format : AVI
Format/Info : Audio Video Interleave
Commercial name : DVCPRO
Format profile : OpenDML
File size : 12.0 GiB
Duration : 56 min 11 s
Overall bit rate mode : Constant
Overall bit rate : 30.5 Mb/s

Video
ID : 0
Format : DV
Commercial name : DVCPRO
Codec ID : dvsd
Codec ID/Hint : Sony
Duration : 56 min 11 s
Bit rate mode : Constant
Bit rate : 24.4 Mb/s
Encoded bit rate : 28.8 Mb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 2.357
Stream size : 11.3 GiB (94%)

Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 56 min 11 s
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 617 MiB (5%)
Alignment : Aligned on interleaves
Interleave, duration : 40 ms (1.00 video frame)


==================
Console window

[dvvideo @ 00000000018a9160]AC EOB marker is absent pos=64
[dvvideo @ 00000000018a9160]Concealing bitstream errors
[dvvideo @ 00000000018a9160]AC EOB marker is absent pos=64
[dvvideo @ 00000000018a9160]AC EOB marker is absent pos=64
[dvvideo @ 00000000018a9160]AC EOB marker is absent pos=67
[dvvideo @ 00000000018a9160]AC EOB marker is absent pos=73
[dvvideo @ 00000000018a9160]Concealing bitstream errors
[dvvideo @ 00000000018a9160][dvvideo @ 00000000018a9160]AC EOB marker is absent pos=72
AC EOB marker is absent pos=66
[dvvideo @ 00000000018a9160]Concealing bitstream errors
[dvvideo @ 00000000018a9160][dvvideo @ 00000000018a9160]AC EOB marker is absent pos=67
AC EOB marker is absent pos=73
[dvvideo @ 00000000018a9160][dvvideo @ 00000000018a9160]AC EOB marker is absent pos=65
AC EOB marker is absent pos=66
[dvvideo @ 00000000018a9160]Concealing bitstream errors
[dvvideo @ 00000000018a9160][dvvideo @ 00000000018a9160]AC EOB marker is absent pos=84

Post Reply