家鹏
7th May 2014, 09:43
hi,I have been using HM code to code a GOPsize=16 stream or a GOPsize=8 but coding order is POC 8,4,6,5,7,2,1,3 . to achieve these I modify encoder_randomacess_main.cfg as following :
GOPSize : 16 # GOP Size (number of B slice = GOPSize-1)
# Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs
Frame1: B 16 0 0.442 0 0 0 4 4 -16 -20 -24 -28 0
Frame2: B 8 1 0.3536 0 0 0 5 5 -8 -12 -16 -20 8 1 8 5 1 1 1 1 1
Frame3: B 4 2 0.3536 0 0 0 6 6 -4 -8 -12 -16 4 12 1 4 6 1 1 1 1 1 1
Frame4: B 12 2 0.3536 0 0 0 7 7 -4 -8 -12 -16 -20 -24 4 1 -8 7 1 1 1 1 1 1 1
Frame5: B 2 3 0.3536 0 0 0 8 8 -2 -6 -10 -14 2 6 10 14 1 10 8 1 1 1 1 1 1 1 1
Frame6: B 6 3 0.3536 0 0 0 8 8 -2 -4 -6 -10 -14 2 6 10 1 -4 9 1 1 1 0 1 1 1 1 1
Frame7: B 10 3 0.3536 0 0 0 8 8 -2 -4 -6 -8 -10 -14 2 6 1 -4 9 1 1 1 1 0 1 1 1 1
Frame8: B 14 3 0.3536 0 0 0 8 8 -2 -4 -6 -8 -10 -12 -14 2 1 -4 9 1 1 1 1 1 0 1 1 1
Frame9: B 1 4 0.68 0 0 0 8 9 -1 1 3 5 7 9 11 13 15 1 13 10 1 1 1 1 1 1 1 1 1 1
Frame10: B 3 4 0.68 0 0 0 8 9 -1 -3 1 3 5 7 9 11 13 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame11: B 5 4 0.68 0 0 0 8 9 -1 -3 -5 1 3 5 7 9 11 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame12: B 7 4 0.68 0 0 0 8 9 -1 -3 -5 -7 1 3 5 7 9 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame13: B 9 4 0.68 0 0 0 8 9 -1 -3 -5 -7 -9 1 3 5 7 9 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame14: B 11 4 0.68 0 0 0 8 9 -1 -3 -5 -7 -9 -11 1 3 5 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame15: B 13 4 0.68 0 0 0 8 9 -1 -3 -5 -7 -9 -11 -13 1 3 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame16: B 15 4 0.68 0 0 0 8 9 -1 -3 -5 -7 -9 -11 -13 -15 1 1 -2 10 1 1 1 1 1 1 1 1 1 0
---------another cfg--------
GOPSize : 8 # GOP Size (number of B slice = GOPSize-1)
# Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs
Frame1: B 8 1 0.442 0 0 0 1 1 -8 0
Frame2: B 4 2 0.3536 0 0 0 2 2 -4 4 1 4 2 1 1
Frame3: B 6 3 0.3536 0 0 0 3 3 -2 -6 2 1 -2 3 1 1 1
Frame4: B 5 4 0.68 0 0 0 4 4 -1 -5 1 3 1 1 4 1 1 1 1
Frame5: B 7 4 0.68 0 0 0 4 4 -1 -3 -7 1 1 -2 5 1 1 1 1 0
Frame6: B 2 3 0.3536 0 0 0 4 4 -2 2 4 6 1 5 5 1 1 1 1 0
Frame7: B 1 4 0.68 0 0 0 4 4 -1 1 3 7 1 1 5 1 1 1 0 1
Frame8: B 3 4 0.68 0 0 0 4 4 -1 -3 1 5 1 -2 5 1 1 1 1 0
but I couldn't get either of them work out.can anybody help me?
GOPSize : 16 # GOP Size (number of B slice = GOPSize-1)
# Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs
Frame1: B 16 0 0.442 0 0 0 4 4 -16 -20 -24 -28 0
Frame2: B 8 1 0.3536 0 0 0 5 5 -8 -12 -16 -20 8 1 8 5 1 1 1 1 1
Frame3: B 4 2 0.3536 0 0 0 6 6 -4 -8 -12 -16 4 12 1 4 6 1 1 1 1 1 1
Frame4: B 12 2 0.3536 0 0 0 7 7 -4 -8 -12 -16 -20 -24 4 1 -8 7 1 1 1 1 1 1 1
Frame5: B 2 3 0.3536 0 0 0 8 8 -2 -6 -10 -14 2 6 10 14 1 10 8 1 1 1 1 1 1 1 1
Frame6: B 6 3 0.3536 0 0 0 8 8 -2 -4 -6 -10 -14 2 6 10 1 -4 9 1 1 1 0 1 1 1 1 1
Frame7: B 10 3 0.3536 0 0 0 8 8 -2 -4 -6 -8 -10 -14 2 6 1 -4 9 1 1 1 1 0 1 1 1 1
Frame8: B 14 3 0.3536 0 0 0 8 8 -2 -4 -6 -8 -10 -12 -14 2 1 -4 9 1 1 1 1 1 0 1 1 1
Frame9: B 1 4 0.68 0 0 0 8 9 -1 1 3 5 7 9 11 13 15 1 13 10 1 1 1 1 1 1 1 1 1 1
Frame10: B 3 4 0.68 0 0 0 8 9 -1 -3 1 3 5 7 9 11 13 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame11: B 5 4 0.68 0 0 0 8 9 -1 -3 -5 1 3 5 7 9 11 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame12: B 7 4 0.68 0 0 0 8 9 -1 -3 -5 -7 1 3 5 7 9 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame13: B 9 4 0.68 0 0 0 8 9 -1 -3 -5 -7 -9 1 3 5 7 9 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame14: B 11 4 0.68 0 0 0 8 9 -1 -3 -5 -7 -9 -11 1 3 5 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame15: B 13 4 0.68 0 0 0 8 9 -1 -3 -5 -7 -9 -11 -13 1 3 1 -2 10 1 1 1 1 1 1 1 1 1 0
Frame16: B 15 4 0.68 0 0 0 8 9 -1 -3 -5 -7 -9 -11 -13 -15 1 1 -2 10 1 1 1 1 1 1 1 1 1 0
---------another cfg--------
GOPSize : 8 # GOP Size (number of B slice = GOPSize-1)
# Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs
Frame1: B 8 1 0.442 0 0 0 1 1 -8 0
Frame2: B 4 2 0.3536 0 0 0 2 2 -4 4 1 4 2 1 1
Frame3: B 6 3 0.3536 0 0 0 3 3 -2 -6 2 1 -2 3 1 1 1
Frame4: B 5 4 0.68 0 0 0 4 4 -1 -5 1 3 1 1 4 1 1 1 1
Frame5: B 7 4 0.68 0 0 0 4 4 -1 -3 -7 1 1 -2 5 1 1 1 1 0
Frame6: B 2 3 0.3536 0 0 0 4 4 -2 2 4 6 1 5 5 1 1 1 1 0
Frame7: B 1 4 0.68 0 0 0 4 4 -1 1 3 7 1 1 5 1 1 1 0 1
Frame8: B 3 4 0.68 0 0 0 4 4 -1 -3 1 5 1 -2 5 1 1 1 1 0
but I couldn't get either of them work out.can anybody help me?