Skip to content
Snippets Groups Projects

Fix #1595: Set ptl_multi_layer_enabled_flag when more than one layer is encoded

Merged Fix #1595: Set ptl_multi_layer_enabled_flag when more than one layer is encoded
1 unresolved thread
1 unresolved thread

This solution sets ptl_multi_layer_enabled_flag automatically, when more than one layer is encoded.

This reduces the usefulness of the MultiLayerEnabledFlag command line parameter to the case, where enabling the flag for a single layer is wanted.

An alternative solution would be to fail instead of a warning and ask the user to manually enable MultiLayerEnabledFlag.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • 27582af8 - Fix #1595: Set ptl_multi_layer_enabled_flag when more than one layer is encoded

    Compare with previous version

  • added 1 commit

    • c77e5dab - Fix #1595: Set ptl_multi_layer_enabled_flag when more than one layer is encoded

    Compare with previous version

  • Frank Bossen resolved all threads

    resolved all threads

  • Frank Bossen approved this merge request

    approved this merge request

  • merged

  • Xiang Li mentioned in commit cac89561

    mentioned in commit cac89561

    • I found this fix causes encoder crash for the case of additional conformance test for multilayer coding, specifically, the case of OLSMultiProfile_A_NHK.

      The purpose of the conformance test is to validate the backward compatibility, where the base layer is coded with PTL indicating main10 with ptl_multilayer_enabled_flag equal to 0 whereas the enhancement layer is coded with PTL indicating multilayer main 10 with ptl_multilayer_enabled_flag equal to 1. command line example is as follows:

      EncoderApp.exe -c encoder_randomaccess_vtm.cfg -c two_layers_multi_profiles.cfg -l0 --Profile=main_10 -l1 --Profile=multilayer_main_10 -l1 --MultiLayerEnabledFlag=1

      The code changes by this MR forcibly set the ptl_multilayer_enabled_flag qeual to 1 whenever the number of layers are greater than 1, so PTL indicating main10 with ptl_multilayer_enabled_flag equal to 1 is generated which is violating the specifications.

      To make the software easier for everyone to test multilayer coding functionality, I suggest the following changes:

      • revert the code changes.
      • add "MultiLayerEnabledFlag : 1" to multi-layer configurations (e.g. two_layers.cfg, etc)

      By doing so, no one needs to care about --MultiLayerEnabledFlag for the most multilayer coding test cases. Only for the case of OLSMultiProfile_A_NHK, the encoder crash can be avoided by the following command:

      EncoderApp.exe -c encoder_randomaccess_vtm.cfg -c two_layers_multi_profiles.cfg -l0 --Profile=main_10 -l1 --Profile=multilayer_main_10 -l0 --MultiLayerEnabledFlag=0

      Edited by Shunsuke Iwamura
    • @s.iwamura Can you submit a merge request with your suggestions? Thanks.

    • Please register or sign in to reply
  • Shunsuke Iwamura mentioned in merge request !2582 (merged)

    mentioned in merge request !2582 (merged)

  • Shunsuke Iwamura mentioned in commit b484700e

    mentioned in commit b484700e

  • Frank Bossen mentioned in commit 886fe038

    mentioned in commit 886fe038

  • Please register or sign in to reply
    Loading