[libbluray-devel] What is the size of a blu-ray packet?

Steve Dibb steve.dibb at gmail.com
Tue Dec 5 02:58:39 UTC 2023


I'm working on my program to copy bluray streams from a disc to a
filesystem, and if there are packets that can't be read, I'd like to skip
over them. I wanted to know what the packet size is, though.

bd_read() lets you specify an arbitrary amount of data.

bdsplice.c sets PKT_SIZE to 192, but then the buffer is set to 192 * 1024.

192 bytes seems pretty small to me, so I wanted to check.

Thanks

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20231204/101e10a7/attachment.htm>


More information about the libbluray-devel mailing list