HM-13.0+RExt-6.0 not allowing Main12 with an internalBitDepth==12
Receiving error:
Error: BitDepthConstraint must be 8 for MAIN profile and 10 for MAIN10 profile.
Please check in source/App/TAppEncoder/TAppEncCfg.cpp
if (m_bitDepthConstraint == 0)
{
if (m_profile == Profile::MAINREXT)
{
m_bitDepthConstraint = (m_chromaFormatIDC==CHROMA_400) ? m_internalBitDepth[CHANNEL_TYPE_LUMA] : std::max(m_internalBitDepth[CHANNEL_TYPE_LUMA], m_internalBitDepth[CHANNEL_TYPE_CHROMA]);
}
else
{
m_bitDepthConstraint = (m_profile == Profile::MAIN10?10:8);
}
}
Main12 should also be added to the strToProfile[] table in source/App/TAppEncoder/TAppEncCfg.cpp, like so:
strToProfile[] =
{
{"none", Profile::NONE },
{"main", Profile::MAIN },
{"main10", Profile::MAIN10 },
{"main12", Profile::MAIN12 },
{"main-still-picture", Profile::MAINSTILLPICTURE},
{"main-RExt", Profile::MAINREXT }
};
Change History (3)
Changed 11 years ago by DefaultCC Plugin
-
Cc
fbossen ksuehring davidf jct-vc@… added
-
Cc
karlsharman added
-
Component
changed from HM to HM RExt
-
Milestone
RExt D6 deleted
-
Version
HM-13.0 deleted
-
Resolution
set to fixed
-
Status
changed from new to closed
| This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant - Bill Mandel(Reporter)
- David Flynn(Subscriber)
- Frank Bossen(Subscriber)
- jct-vc@…(Subscriber)
- Karl Sharman(Subscriber, Participant)
- karl.sharman@…(Always)
- Karsten Suehring(Subscriber, Participant, Always)
|
The command line mechanism has been updated in r3991 to allow main12 to be used as a profile string, or to allow selection of a valid RExt profile from the other supplied parameters.