daala icon indicating copy to clipboard operation
daala copied to clipboard

Please have the packet abstraction provide normal dts/dts.

Open lu-zero opened this issue 9 years ago • 2 comments

Having granulepos is confusing and currently not really documented.

lu-zero avatar Oct 20 '15 13:10 lu-zero

+9001 would be nice to have normal pts and dts

kodawah avatar Oct 20 '15 13:10 kodawah

Granulepos is actually part of Ogg, not Daala and I'd suggest just removing it from the API for now as I don't think it's used anywhere inside Daala. An explanation is here, but isn't really relevant: https://wiki.xiph.org/index.php/GranulePosAndSeeking

Currently there is no codec-inherent delay either, which means the PTS/DTS distinction isn't meaningful, but it will become meaningful when this lands: https://review.xiph.org/1034/

The patch currently doesn't directly expose the actual latency. Passing in PTS to the encoder with the image and getting DTS out is one way to do so.

tdaede avatar Oct 22 '15 20:10 tdaede