Slice dropping in H.264

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krao
    Junior Member
    Junior Member
    • Dec 2009
    • 1

    Slice dropping in H.264

    Hi,

    I am doing research on error concealment and I need to setup H.264 in a particular way. I have downloaded the H.264 reference codec and using it.

    I need to set it to FMO mode with Type1 i.e Checkerboard pattern. I could achieve this by the following settings:



    SliceMode = 1
    SliceArgument = 792 //since I am using qcif
    num_slice_groups_minus1 = 1
    slice_group_map_type = 1
    slice_group_change_direction_flag = 0
    slice_group_change_rate_minus1 = 85
    SliceGroupConfigFileName = "sg0conf.cfg" # Used for slice_group_map_type 0, 2, 6

    UseRedundantPicture = 0
    NumRedundantHierarchy = 1
    PrimaryGOPLength = 10
    NumRefPrimary = 1


    Now how do I drop one of the slices so that I can see an alternating checkerboard pattern at the decoder? Also how to I add SKIP macroblock functionality to the slices?

    Any thoughts? I am not clear with the settings in the encoder.cfg file.

    Thanks !
Working...