[libbluray-devel] PTS and DTS of Blu-Ray titles made of multiple files

John Stebbins stebbins at jetheaddev.com
Wed Nov 9 06:11:45 CET 2011


On 11/08/2011 06:46 AM, Andrea3000 wrote:
> Dear all,
> I have just implemented (thanks to libbluray) unencrypted Blu-Ray support into a movie player that I'm developing.
> 
> Basic playback seems to work quite good for now, except for one thing.
> 
> The movie player uses audio and video pts (and dts) to keep audio and video in sync and it works fine for every movie file (non blu-ray) and for blu-ray titles which are made of only one file (for t he entire movie).
> 
> When blu-ray title is made of multiple files which have to be concatenated seamlessly, the all procedure of audio/video syncing fails as soon as file change is reached. 
> This is given by the fact that audio and video PTS of the new file and the one of the previous file are not contiguous..they actually start over.
> 
> Am I responsable of managing this discontinuity in audio/video PTS or does libbluray provide some API to handle this?
> ----
> Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it <http://www.email.it/cgi-bin/start?sid=3>
> 
> Sponsor:
> Vuoi fare un regalo davvero originale? Su MisterCupido.com puoi crearlo tu! Personalizza con le tue foto: quadri, tazze, puzzle, cuscini, peluche...
> Clicca qui <http://adv.email.it/cgi-bin/foclick.cgi?mid=11450&d=20111108>
> 
> 

You are responsible for handling discontinuities.  But libbluray does deliver an event to let you know when clips change so that you
can flag the discontinuity appropriately.

-- 
John      GnuPG fingerprint: D0EC B3DB C372 D1F1 0B01  83F0 49F1 D7B2 60D4 D0F7

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20111108/38e007d6/attachment.pgp>


More information about the libbluray-devel mailing list