Using Advanced MPEG-2 Encoding Options

Our MPEG-2 encoder offers advanced encoding parameters for both GOP structure and cadence. Closed GOPs with scene detection are ideal for delivery to many STBs (Set-Top-Boxes), such as Tivo and Roku. The Strict GOPs option locks the size to your keyframe value, and is necessary for some hardware DRM solutions. We also now provide MPEG-2 keyframe presets for both DVD and Long-GOP output, as well as the option to turn B-frames on/off. This greatly increases compatibility with a wide range of MPEG-2 players and chipsets.

MPEG-2 API options

Here are all the accepted values for our API

<?xml version="1.0"?>
<query>
    <format>
        <output>mpeg2</output> 
        <keyframe>[12|15|25|30]</keyframe><!--GOP length for NTSC/PAL-->
        <bframes>[2|0]</bframes><!--bidirectional frames-->
        <gop>[cgop|sgop]</gop><!--closed or strict GOP-->  
    </format>
</query>

MPEG-2 Advanced XML Samples

Sample for Tivo and NTSC DVD output

Closed 15-frame GOP using standard IPBBPBBP cadence.

<?xml version="1.0"?>
<query>
    <format>
        <output>mpeg2</output> 
        <keyframe>15</keyframe>  
        <bframes>2</bframes> 
        <gop>cgop</gop>
    </format>
</query>

Sample for PAL DVD output

Closed 12-frame GOP using standard IPBBPBBP cadence.

<?xml version="1.0"?>
<query>
    <format>
        <output>mpeg2</output> 
        <keyframe>12</keyframe>  
        <bframes>2</bframes> 
        <gop>cgop</gop>
    </format>
</query>

Sample for Cablelabs Broadcast NTSC output

Long 30-frame GOP using broadcast IPPPPPPP cadence.

<?xml version="1.0"?>
<query>
    <format>
        <output>mpeg2</output> 
        <keyframe>30</keyframe>  
        <bframes>0</bframes> 
        <gop>cgop</gop>  
        </output>
    </format>
</query>
1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, average: 2.50 out of 5)
Loading...

edchelp