> I've a question about transport stream indexing with 
> MPEG2TransportStreamIndexer (for media server trick play). 
> It generates a lot of errors: Bad "adaptation_field_length": 183
> 
> Those errors are generated by MPEG2IndexFromTransportStream liveMedia class. 
> Here the code:
> 
> if (totalHeaderSize >= TRANSPORT_PACKET_SIZE) {
>     envir() << "Bad \"adaptation_field_length\": " << fInputBuffer[4] << "\n";
>     doGetNextFrame();
>     return;
> }
> 
> When "adaptation_field_control" field value = 2 (that it means "adaptation 
> field only") the totalHeaderSize is equals to 188 byte.
> 
> E.g. 
> packet header = 4 byte
> adaptation_field_length field = 1 byte  (value = 183)
> adaptation field = 183 byte
> 
> The result = 4 + 1 + 183 = 188. This is the correct value but it generates an 
> error.

Yes, this is a bug (though the code will still work OK, despite printing the 
bogus 'error' message).

This will be fixed in the next release of the software.  Thanks for the report.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to