Hello Everybody,

We are trying to extract VOP coding type in client side from MPEG4
streams in processSpecialHeader() function in MPEG4ESVideoRTPSource.cpp
file. We wrote the following code snippet in this function after
calculating fCurrentPacketBeginsFrame value:

if(fCurrentPacketBeginsFrame){

      if((packet->data())[3] == 0xB6){
          unsigned char vop_coding_type = (packet->data())[4];
          vop_coding_type = vop_coding_type>>6;
          }
  }

We observed that vop_coding_type value is always 1 which is
predictive-coded (P) type. The stream consists of both I and P frames.
Are we missing anything in the above code.

Please suggest.


Best Regards
Y. Mallikharjuna Reddy

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to