CRI Sofdec2  Last Updated: 2022-11-21 16:25 p
How to Encode High Resolution Movie Data
When encoding high resolution video materials such as 4K video, the following error
may occur and encoding can fail.

An error (code 0x8007000e) is occurred at
ITMPGLib_VideoEncoder5::Encode() in TMPGLib::Encoder
Code 0x8007000e: Out of memory.

This error occurs when sufficient working memory could not be allocated in the
internal encoding engine.
If this error occurs, try the following to reduce the working memory size
to potentially avoid this error.

  • Reduce the GOP cycle in the Console Version Sofdec.Prime Encoder
    options.
    For example, try reducing the GOP cycle from 13 (default) to 10 as shown below. (*1)
    GOP Cycle Command Line Option
    13 -gop_i=1 -gop_p=4 -gop_b=2
    10 -gop_i=1 -gop_p=3 -gop_b=2
  • If you are using AVI format input video, try converting to sequential numbered still images (BMP, TGA)
    format for encoding.
(*1) The Sofdec2 Encoding Wizard does not support changing the GOP cycle setting. Use the following procedure
to output the encoding as console commands.
(1) Specify all files and parameters in the Sofdec2 Encoding Wizard as normal.
(2) Configure all settings up to the Sofdec2 Encoding Wizard's Encode Page (the page with the [START] button).
(3) Select [Export] - [Batch File (New)] from the lower left menu.
(4) Specify the desired location and file name for the batch file. For this example, we will name the file "sample.bat".
(5) Open sample.bat in a text editor.
(6) In the batch file you will see many various command line options, but the GOP cycle settings
(-gop_i=1 -gop_p=4 -gop_b=2) can be found at the end of the file.
(7) Change the GOP cycle settings and run the batch file.