VCEEnc icon indicating copy to clipboard operation
VCEEnc copied to clipboard

Good soft!

Open 91rinb18 opened this issue 5 years ago • 2 comments

Thanks for Rigaya's great software! I'm having a few problems, please.

My configuration --

Windows 7 X64 PRO +16G RAM + 4G VRAM R9 380.

VCEEnc (X64) 6.07 (R664) by Rigaya, Nov 23 2020 14:32:05 (VC 1928/Win/ AVX2)

OS Version Windows 7 x64 (7601)

CPU: AMD Athlon(tm) X4 860K Quad Core Processor (2C/4T)

GPU: AMD Radeon R9 380, AMF Runtime 1.4.6 / SDK 1.4.16

  1. What is the difference between your VCEEnc and VCEEncC?

  2. I want to test SSIM and PSNR, but even Google can't find the usage. How exactly do you do this?

  3. I test a 1080P demo:

Format: BDAV

Format/Information: Blu-Ray Video

File size: 1.20GIb

Duration: 3 minutes, 58 seconds

Mixed code rate mode: Dynamic (VBR)

Average mixed code rate: 43.1 Mb/s

Maximum mixed bit rate: 35.5 Mb/s

VCEEncC64 -i G:\source\pnsnMp2pcm40m.mpg -u slow --vbr 8018 --ref 12 -b 3 --audio-codec aac:aac_coder=twoloop --audio-bitrate 192 -o G:\emule\pnsnMpref12-b3.mp4

It doesn't work

storage->SetProperty(PeakBitrate)=168750000 failed: out pf range..

storage->SetProperty(VBVBufferSize)=168750000 failed: out pf range..

Input Info: avvce: MPEG2, 1920x1080, 30000/1001 fps

Vpp Filters copyDtoD

Output: H.264/AVC High @ Level 5

1920 x1080p 1:1 29.970 FPS (30000/1001 FPS)

avwriter: h264, #1:pcm_bluray/stereo -> aac/stereo/192kbps

=> mp4

Quality: slow

VBR: 8018 kbps, Max 30000 kbps

QP: Min: 0, Max: 51

VBV Bufsize: 20000 kbps

Bframes: 3 frames, b-pyramid: off

Delta QP: Bframe: 4, RefBframe: 2

Pre Analysis: off

Ref frames: 12 frames

LTR frames: 0 frames

Motion Est: Q-pel

Slices: 1

GOP Len: 300 frames

Others: deblock

10 sec has passed after getting last frame from decoder.

Decoder seems to have crushed.

Failed to load input frame.

Error during output.

Encoded 1 Frames, 0.03 FPS, 114.37 KBPS, 0.00 MB

Encode time 0:00:33, CPULoad: 0.1%

frame type IDR 1

Frame type I 1, total size: 0.00 MB

The other demo, too

MP2

Format overview: High@High

Formatting: CustomMatrix/BVOP

Format set, B frame: Yes

Format setting, matrix: custom

Format setting, GOP: Variable

Format setting, image structure: Frame

Duration: 1 minute and 45 seconds

Bit rate mode: Dynamic (VBR)

Bit rate: 59.7 Mb/s

Maximum bit rate: 80.0 Mb/s

2th——MP2编码器 格式概况 : Main@High 格式设置 : BVOP 格式设置, B帧 : Y 格式设置, 矩阵 : DEF 格式设置, GOP : M=3, N=15 格式设置, 图像结构 : Frame 编解码器ID : 2 持续时间 : 5 分 7 秒 码率模式 : 恒定(CBR) 码率 : 34.1 Mb/s MAX : 35.0 Mb/s

91rinb18 avatar Dec 04 '20 09:12 91rinb18

  1. What is the difference between your VCEEnc and VCEEncC?

VCEEncC.exe … Command line version supporting transcoding. VCEEnc.auo … Output plugin for Aviutl.

VCEEnc.auo will be useful only if you are using Aviutl, a Japanese video editing software. If not, VCEEncC should be what you want to use.

  1. I want to test SSIM and PSNR, but even Google can't find the usage. How exactly do you do this?

Please just add "--ssim --psnr" as written in the option list.

  1. HW decode issue

Sometimes hw decode is known to be unstable, you might add "--avsw" to go for software decode for stability. Unfortunately, I've been only testing VCEEncC on Win10 with latest drivers, but I must say that there were some drivers in the past that caused this kind of errors.

rigaya avatar Dec 04 '20 09:12 rigaya

周末は各種の雑事に忙しくて、適時に返事ができなくて、すみません!(fanyi.youdao.comの翻訳は当たっていると思う) Thank you Rigaya for your kind reply. I test an 1080P m2ts of MPEG Video2,it high@High,Formatting: CustomMatrix / BVOP,rate: 59.7 Mb/s,Max rate: 80.0 Mb/s,it's can't work. "VCEEncC64 -i d:\myt\AlisanTrailer-80Mbps.mpg --avsw -u slow --vbv-bufsize 8112 --ref 12 -b 3 --audio-codec aac:aac_coder=twoloop --audio-bitrate 192 -o G:\emule\VCEnc6\al4.mp4"

[mp4 @ 0000000006768480] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 896896 >= 872872 Failed to send frame to encoder. Failed to drain encoder: input full.

Second MPEG Video2 1080P file -- Format overview: Main@high Formatting: CustomMatrix/BVOP Format set, B frame: Yes Format setting, matrix: custom Format setting: M=3, N=15 Format setting, image structure: Frame Codec ID: 2 Duration: 9 minutes and 15 seconds Bit rate mode: Constant (CBR) Bit rate: 19.4 Mb/s Maximum bit rate: 20.0 Mb/s

It outputs normal MP4, but with a lot of errors: [mpeg2video @ 000000000031e880] 00 motion_type at 25 34:56, est out size 848.6MB [mpeg2video @ 000000000031e880] mb incr damaged [mpeg2video @ 000000000031e880] ac-tex damaged at 7 51 [mpeg2video @ 000000000031e880] 00 motion_type at 2 8 [mpeg2video @ 000000000031e880] 00 motion_type at 4 36 [mpeg2video @ 000000000031e880] 00 motion_type at 3 52 [mpeg2video @ 000000000031e880] ac-tex damaged at 3 9 [mpeg2video @ 000000000031e880] 00 motion_type at 4 37 [mpeg2video @ 000000000031e880] 00 motion_type at 4 53 [mpeg2video @ 000000000031e880] slice mismatch [mpeg2video @ 000000000031e880] 00 motion_type at 1 38 [mpeg2video @ 000000000031e880] mb incr damaged [mpeg2video @ 000000000031e880] 00 motion_type at 37 11 [mpeg2video @ 000000000031e880] 00 motion_type at 2 12 [mpeg2video @ 000000000031e880] mb incr damaged [mpeg2video @ 000000000031e880] 00 motion_type at 1 39 [mpeg2video @ 000000000031e880] slice mismatch [mpeg2video @ 000000000031e880] 00 motion_type at 14 56 [mpeg2video @ 000000000031e880] 00 motion_type at 5 40 [mpeg2video @ 000000000031e880] mb incr damaged [mpeg2video @ 000000000031e880] 00 motion_type at 3 57 [mpeg2video @ 000000000031e880] 00 motion_type at 16 41 [mpeg2video @ 000000000031e880] slice mismatch [mpeg2video @ 000000000031e880] ac-tex damaged at 10 58 [mpeg2video @ 000000000031e880] 00 motion_type at 6 42 [mpeg2video @ 000000000031e880] 00 motion_type at 9 16.........

This file will play fine.

I can't import the UHD file of HEVC, Failed to initalize encoder: AMF_ENCODER_NOT_PRESENT. According to my GOOGLE, this R9 380 supports hard HEVC, but what's going on here? When I was playing the 4KPQ_quiet_H51ML5.1.TS, the GPU was up, but the CPU was close to 90 percent. Check with DXVA Checker 4.51, there is no HEVC. Even AVC encoded 4K files are the same: AMF_ENCODER_NOT_PRESENT. (The same is true for 4K with VP9 encoding.)

Continue with a few questions and reply when you are not busy.

In fact, I found that even the AVC/264 file with 1080P input would appear "storage->SetProperty(PeakBitrate)".

=168750000 failed: out pf range.." Except VCEEncC64 can output POTPLAY normal hard solution MP4.

Sorry, I still can't compare the picture quality. For example, I "vceencc64-i A: \rem.mp4 -i B:\ ogr.m2ts --ssim", I get -- bitstream: output filename not set. failed to initialize file reader(s).

Let's just say I don't know how...

Remember watching Reddit or OBS before, VCE doesn't support B frames, and it doesn't support 2Pass or CRF. There's nothing we can do about it, right?

91rinb18 avatar Dec 07 '20 12:12 91rinb18