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 > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th April 2019, 08:38   #101  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 544
I don't know how to compile z_Windows_NT-586_asm.asm. Without this I can't close the file object in gcc. I suppose you can do it, but I don't know how.
https://github.com/llvm-mirror/openmp
Jamaika is offline   Reply With Quote
Old 13th April 2019, 22:58   #102  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,812
I wonder what happens for you ... MABS could compile the 32 bit version of VVC for me. But I got stuck in another faulty project, and I hate disabling many other tools just to get one compiled. I will test it soon™ ...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 13th April 2019, 23:46   #103  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 544
What do you mean? Bugs in the VVC project.
I had to add everywhere for GCC 9.0.1:
(MsgLevel) ERROR,
correct include:
Code:
#include "CommonLib/CacheModel.h" in DecLib.h
#include "CommonLib/MCTS.h" in  EncCu.cpp 
#include "Utilities/program_options_lite.h" in decmain.cpp 
    for( int ctuTsAddr = startCtuTsAddr; ctuTsAddr < boundingCtuTsAddr; ctuTsAddr += pcPic->cs->pcv->widthInCtus )
      encodeCtus( pcPic, bCompressEntireSlice, bFastDeltaQP, ctuTsAddr, ctuTsAddr + pcPic->cs->pcv->widthInCtus, m_pcLib );
  CHECK(cs.sps == 0, "No SPS present");
  writeBlockStatisticsHeader(cs.sps); in EncSlice.cpp
#if ENABLE_WPP_PARALLELISM
//  static
#endif in EncSlice.h
Add video 12bit
in VLCReader.cpp
Code:
    ptl->setBitDepthConstraint( ( ptl->getProfileIdc() == Profile::MAINREXT || ptl->getProfileIdc() == Profile::NEXT ) ? 12 : 8 );
in EncAppCfg.cpp
Code:
  ("InputBitDepth",                                   m_inputBitDepth[CHANNEL_TYPE_LUMA],                   0, "Bit-depth of input file")
    m_bitDepthConstraint     = ( ( m_profile == Profile::MAINREXT || m_profile == Profile::NEXT ) ? 12 : 8 );
    xConfirmPara(m_bitDepthConstraint!=((m_profile==Profile::MAINREXT || m_profile==Profile::NEXT)?12:8), "BitDepthConstraint must be 8 for NEXT profile and 12 for MAINREXT profile.");
PS Of course I added mingw.mutex.h and delete SIMD, but you probably will not have to.
Code:
/*  std::string SIMD;
  df::program_options_lite::Options optsSimd;
  optsSimd.addOptions()( "SIMD", SIMD, string( "" ), "" );
  df::program_options_lite::SilentReporter err;
  df::program_options_lite::scanArgv( optsSimd, argc, ( const char** ) argv, err );*/
  fprintf( stdout, "[SIMD=NONE] "/*, read_x86_extension( SIMD )*/ );
Code:
//  case AVX512/AVX2/AVX/SSE42/SSE41:
//    _init...X86<AVX512/AVX2/AVX/SSE42/SSE41>(...);
//    break; in InitX86.cpp

Last edited by Jamaika; 18th April 2019 at 10:03.
Jamaika is offline   Reply With Quote
Old 14th April 2019, 10:13   #104  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,812
I hope we talk about the same topic... by "another faulty project", I meant anything else compiled by MABS. In this case, rav1e and vulkan. Not VVC.

Quote:
Originally Posted by LigH View Post
The media-autobuild suite enabled compiling with split parallelism.
Quote:
Originally Posted by Jamaika View Post
I didn't succeed. Under Windows doesn't work with gcc.
It just compiled well in the media-autobuild_suite. But there is no GCC 9, and there are no additional patches to enable 12 bit depth (the help output reports supporting --Profile main-RExt though), just plain git HEAD.

Code:
VVCSoftware: VTM Encoder Version 4.2 [Windows][GCC 7.4.0][32 bit] [SIMD=SSE42] [SPLIT_PARALLEL (6 jobs)][OMP: WAIT_POLICY=,THREAD_LIMIT=]
VVCSoftware: VTM Encoder Version 4.2 [Windows][GCC 8.3.0][64 bit] [SIMD=AVX] [SPLIT_PARALLEL (6 jobs)][OMP: WAIT_POLICY=,THREAD_LIMIT=]
VVCSoftware VTM-4.2 02d258f4
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 14th April 2019 at 10:17.
LigH is offline   Reply With Quote
Old 15th April 2019, 05:52   #105  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,408
Quote:
Originally Posted by LigH View Post
It just compiled well in the media-autobuild_suite. But there is no GCC 9
GCC 9.0.1 was tagged at the beginning of February, they've started the release-candidate cycle toward the 9.1 release, which is supposed to be within a week or two. Presumably it's pretty stable at this point, though I'd definitely compare any issues to 8.3 as well.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order.
foxyshadis is offline   Reply With Quote
Old 15th April 2019, 06:37   #106  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 544
I understand that there is an open secret. I know that there is an MSYS2 compiler. He contains components in this GCC 8.3, but with GCC 9.0 doesn't work anymore and contains something to assembler. This thing is a secret.
The second thing. If added the function split paralleism why was the function wpp paralleism not added? Are they interchangeable? I see that both functions can be added in the project.
Quote:
Originally Posted by foxyshadis View Post
GCC 9.0.1 was tagged at the beginning of February, they've started the release-candidate cycle toward the 9.1 release, which is supposed to be within a week or two. Presumably it's pretty stable at this point, though I'd definitely compare any issues to 8.3 as well.
There is always something to be improved in every project. With gcc 9.x, I have a problem with <ctime>. In dependence on the version of gcc, once in the files you have to add and once not. Something is instability.

Last edited by Jamaika; 15th April 2019 at 06:43.
Jamaika is offline   Reply With Quote
Old 15th April 2019, 07:59   #107  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,812
The MSYS2 environment may be a bit conservative, regarding provided packages, but usually quite well groomed. I will leave the "bleeding edge technology" to other people and keep using a toolset I can usually handle with little efforts. And in most cases, the result was reliable.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 15th April 2019, 08:17   #108  |  Link
Wolfberry
Helenium(Easter)
 
Wolfberry's Avatar
 
Join Date: Aug 2017
Location: Hsinchu, Taiwan
Posts: 94
Quote:
Originally Posted by Jamaika View Post
The second thing. If added the function split paralleism why was the function wpp paralleism not added? Are they interchangeable? I see that both functions can be added in the project.
VVCSoftware_VTM !390

VTM fails to build when WPP_PARALLELISM is enabled as of now.
__________________
Monochrome Anomaly
Wolfberry is offline   Reply With Quote
Old 15th April 2019, 08:54   #109  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 544
Interesting. I have compiled EncCu on me, but don't have assembler.
Jamaika is offline   Reply With Quote
Old 15th April 2019, 10:49   #110  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,812
My recent vvc-git/build-64bit/ab-suite.build.log only reports "Building CXX object" ...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:12.


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