Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th April 2020, 08:33   #7521  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Quote:
Originally Posted by filler56789 View Post
Thanks for the useful information,

I have just reported the latest-and-greatest problem to the x265 devils.
I think all the problems are caused by the implantation of the abrEncApp.

EDIT: Here is a link to version 3.3+15 (multilib exe). This version is the last one without implementation of the abrEncApp. Please test if there are any problems with encoding.
__________________
Tools for StaxRip | x264 - x265

Last edited by Patman; 13th April 2020 at 10:39.
Patman is offline   Reply With Quote
Old 13th April 2020, 15:34   #7522  |  Link
MythCreator
Registered User
 
Join Date: Dec 2007
Location: Beijing,China
Posts: 92
Quote:
Originally Posted by Patman View Post
I think all the problems are caused by the implantation of the abrEncApp.

EDIT: Here is a link to version 3.3+15 (multilib exe). This version is the last one without implementation of the abrEncApp. Please test if there are any problems with encoding.
I tested this version, the encoding ends well.
__________________
Ryzen 7 3700X
GTX1660S

Ryzen 7 5800X
RTX2060S
MythCreator is offline   Reply With Quote
Old 13th April 2020, 17:26   #7523  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Quote:
Originally Posted by MythCreator View Post
I tested this version, the encoding ends well.
Thank you very much, this confirms my suspicion that it has to do with the implementation of the abrEncApp.
__________________
Tools for StaxRip | x264 - x265
Patman is offline   Reply With Quote
Old 14th April 2020, 05:31   #7524  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 111
Quote:
Originally Posted by Patman View Post
I think all the problems are caused by the implantation of the abrEncApp.

EDIT: Here is a link to version 3.3+15 (multilib exe). This version is the last one without implementation of the abrEncApp. Please test if there are any problems with encoding.
I tested your x265 version and it work! Thank you!
tuanden0 is offline   Reply With Quote
Old 14th April 2020, 09:26   #7525  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
Quote:
Originally Posted by filler56789 View Post
the x265 devils.


You slipped.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 15th April 2020, 15:17   #7526  |  Link
dREV
Registered User
 
dREV's Avatar
 
Join Date: Jan 2019
Location: Antarctica
Posts: 74
Is it possible to customize --total-frames to show total-frames=0 ? I'm asking as I've seen some mediainfo's containing such information and wanted to know if there's some other vodoo than typing --total-frames 0 or simply --total-frames as these gets the encoder to stop altogether.

The documentation says almost nothing on this https://x265.readthedocs.io/en/lates...doption-uhd-bd (and scroll down a notch or two).

I'm also asking as I heavily use film.trim() so it looks odd seeing only a certain number of frames in mediainfo when the total frames are much larger after appending the files. Thanks if someone answers it unlike my prior post above where it was completely ignored.
dREV is offline   Reply With Quote
Old 15th April 2020, 19:26   #7527  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
are much larger after appending the files
How are you appending the files? Sound like the file headers are not properly adjusted during the appending,...
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th April 2020, 06:58   #7528  |  Link
dREV
Registered User
 
dREV's Avatar
 
Join Date: Jan 2019
Location: Antarctica
Posts: 74
Quote:
Originally Posted by Selur View Post
How are you appending the files? Sound like the file headers are not properly adjusted during the appending,...
I am appending using mkvmerge portable version 45.0 (Heaven's in Pennies) 64 bit under "Add source files" > "Append files". https://www.fosshub.com/MKVToolNix.html After muxing like usual only identifies the first video's cut frames.

I've asked the mkvmerge creator and said this is a non-issue and won't affect video playback several versions ago.

I just wanna know these guys are getting total-frames to read 0. Must be some trick I do not know. Likewise when they somehow cut out encoding settings altogether too but I don't really care about that one.

Not sure what you mean by headers. I am also using HEVC through MeGUI's one click (and its command line) if that helps.

Last edited by dREV; 16th April 2020 at 07:01. Reason: stuff
dREV is offline   Reply With Quote
Old 16th April 2020, 18:31   #7529  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
@dREV: you could try whether appending files with ffmpeg has the same issue
--
Any news about the encoding gets stuck with current x265 versions ?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th April 2020, 19:14   #7530  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Quote:
Originally Posted by Selur View Post
Any news about the encoding gets stuck with current x265 versions ?
The dev has linked a patch in the issue tracker. I'm now compiling x265.exe with these changes. When the building process is complete, I edit this post and add a link.

EDIT: Here is the link, version x265-3.3+19-..._patched contains with the changes. Pls give me feedback on this version.
__________________
Tools for StaxRip | x264 - x265

Last edited by Patman; 16th April 2020 at 19:55.
Patman is offline   Reply With Quote
Old 16th April 2020, 19:53   #7531  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by Patman View Post
EDIT: Here is the link, version x265-3.3+19-..._patched contains with the changes. Pls give me feedback on this version.
Wrong link, this is the correct one:

https://www.mediafire.com/folder/arv5xmdqyiczc

I will test the binary A.S.A.P.
filler56789 is offline   Reply With Quote
Old 16th April 2020, 19:56   #7532  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Quote:
Originally Posted by filler56789 View Post
Wrong link, this is the correct one:

https://www.mediafire.com/folder/arv5xmdqyiczc

I will test the binary A.S.A.P.
Ops, now correct.

EDIT: I tested this binary and it doesn't work (for me). The encoding process hangs at startup ...
__________________
Tools for StaxRip | x264 - x265

Last edited by Patman; 16th April 2020 at 21:17.
Patman is offline   Reply With Quote
Old 16th April 2020, 23:43   #7533  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by Patman View Post
EDIT: I tested this binary and it doesn't work (for me). The encoding process hangs at startup ...
I confirm that, the encoding doesn't even start -_-

Code:
avs2yuv hc500.avs -o -|z265 --input - --y4m --output C:\hp\test.hevc --crf 22 --no-sao
--subme 3 --no-open-gop --keyint 150 --min-keyint 1 --ctu 32
hc500.avs: 1280x720, YV12, 8-bits, progressive, 30 fps, 4064 frames
y4m  [info]: 1280x720 fps 30/1 i420p8 unknown frame count
raw  [info]: output file: C:\hp\test.hevc
x265 [info]: HEVC encoder version 3.3+19-gcaf9d4dbe
x265 [info]: build info [Windows][GCC 10.0.1][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
x265 [info]: Main profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(23 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 1 / 150 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-22.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing lslices=4 deblock
^C^C
filler56789 is offline   Reply With Quote
Old 17th April 2020, 18:16   #7534  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
here too,...
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 17th April 2020, 19:16   #7535  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Please test again, an error occurred while implementing the patch. Corrected this now and the binary works for me. I've updated the files.
__________________
Tools for StaxRip | x264 - x265
Patman is offline   Reply With Quote
Old 18th April 2020, 05:49   #7536  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by Patman View Post
Please test again, an error occurred while implementing the patch. Corrected this now and the binary works for me. I've updated the files.
Thanks, now the .EXE works as expected (finally!)
filler56789 is offline   Reply With Quote
Old 18th April 2020, 10:07   #7537  |  Link
MythCreator
Registered User
 
Join Date: Dec 2007
Location: Beijing,China
Posts: 92
Quote:
Originally Posted by Patman View Post
Please test again, an error occurred while implementing the patch. Corrected this now and the binary works for me. I've updated the files.
This version works for me too.
__________________
Ryzen 7 3700X
GTX1660S

Ryzen 7 5800X
RTX2060S
MythCreator is offline   Reply With Quote
Old 18th April 2020, 16:11   #7538  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 111
Quote:
Originally Posted by Patman View Post
Please test again, an error occurred while implementing the patch. Corrected this now and the binary works for me. I've updated the files.
This version work for me

Edited:
I got some strange output when the encoding almost done

Last edited by tuanden0; 19th April 2020 at 05:26.
tuanden0 is offline   Reply With Quote
Old 19th April 2020, 09:15   #7539  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Can you post your command line? These are my results...

Avisynth
Code:
D:\StaxRip\Apps\Support\avs2pipemod\avs2pipemod64.exe -y4mp "G:\Movie\x264\test\Sonic The Hedgehog Trailer_temp\Sonic The Hedgehog Trailer_new.avs" |
D:\StaxRip\Apps\Encoders\x265\x265.exe --crf 18 --profile main10 --output-depth 10 --frames 4115 --y4m --output "G:\Movie\x264\test\Sonic The Hedgehog Trailer_temp\Sonic The Hedgehog Trailer_new_out.hevc" -

avs2pipemod[info]: writing 4115 frames of 24000/1001 fps, 720x304,
                   sar 0:0, YUV-420-planar-8bit progressive video.
y4m  [info]: 720x304 fps 24000/1001 i420p8 unknown frame count
raw  [info]: output file: G:\Movie\x264\test\Sonic The Hedgehog Trailer_temp\Sonic The Hedgehog Trailer_new_out.hevc
x265 [info]: HEVC encoder version 3.3+19-gcaf9d4dbe
x265 [info]: build info [Windows][GCC 10.0.1][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-2.1 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(5 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
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         : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 23 / 250 / 40 / 5.00 
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-18.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing deblock sao
avs2pipemod[info]: finished, wrote 4115 frames [100%].
avs2pipemod[info]: total elapsed time is 44.602 sec.
                                                                                
x265 [info]: frame I:    153, Avg QP:16.30  kb/s: 4090.80 
x265 [info]: frame P:   1226, Avg QP:19.30  kb/s: 1643.85 
x265 [info]: frame B:   2736, Avg QP:23.93  kb/s: 545.73  
x265 [info]: Weighted P-Frames: Y:2.9% UV:2.3%
x265 [info]: consecutive B-frames: 29.7% 8.7% 16.5% 23.8% 21.3% 
encoded 4115 frames in 46.71s (88.09 fps), 1004.71 kb/s, Avg QP:22.27
Vapoursynth
Code:
"C:\Program Files\VapourSynth\core\vspipe.exe" "G:\Movie\x264\test\Sonic The Hedgehog Trailer_temp\Sonic The Hedgehog Trailer_new.vpy" - --y4m |
D:\StaxRip\Apps\Encoders\x265\x265.exe --crf 18 --profile main10 --output-depth 10 --frames 4115 --y4m --output "G:\Movie\x264\test\Sonic The Hedgehog Trailer_temp\Sonic The Hedgehog Trailer_new_out.hevc" -

y4m  [info]: 720x304 fps 24000/1001 i420p8 unknown frame count
raw  [info]: output file: G:\Movie\x264\test\Sonic The Hedgehog Trailer_temp\Sonic The Hedgehog Trailer_new_out.hevc
x265 [info]: HEVC encoder version 3.3+19-gcaf9d4dbe
x265 [info]: build info [Windows][GCC 10.0.1][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-2.1 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(5 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
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         : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 23 / 250 / 40 / 5.00 
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-18.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing deblock sao
Output 4115 frames in 45.41 seconds (90.61 fps)
                                                                                
x265 [info]: frame I:    154, Avg QP:16.33  kb/s: 4051.93 
x265 [info]: frame P:   1218, Avg QP:19.31  kb/s: 1646.53 
x265 [info]: frame B:   2743, Avg QP:23.93  kb/s: 547.57  
x265 [info]: Weighted P-Frames: Y:3.3% UV:2.5%
x265 [info]: consecutive B-frames: 28.6% 9.4% 16.9% 23.5% 21.6% 
encoded 4115 frames in 47.49s (86.66 fps), 1004.00 kb/s, Avg QP:22.28
My logs are clean. I use Avisynth+ 3.5.1 and Vapoursynth R49 + Python 3.8.2.
__________________
Tools for StaxRip | x264 - x265
Patman is offline   Reply With Quote
Old 19th April 2020, 11:42   #7540  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 111
Quote:
Originally Posted by Patman View Post
Can you post your command line? These are my results...

My logs are clean. I use Avisynth+ 3.5.1 and Vapoursynth R49 + Python 3.8.2.
I tried to write encode command on my CMD then it OK, maybe my output of my encode script has problem.

Thank you!
tuanden0 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:32.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.