[FFmpeg-devel] [PATCH] BluRay protocol using libbluray
Petri Hintukainen
phintuka at users.sourceforge.net
Mon Feb 13 12:22:02 CET 2012
compn wrote:
> On Sat, 11 Feb 2012 09:44:08 +0200, Petri Hintukainen wrote:
> >Updated version without pkg-config attached.
>
> missing docs and changelog entry.
Draft attached.
I also added basic disc checking with some informative log messages.
> could you also explain if libaacs or other libs are required to play
> bluray discs? or is this just for decrypted br rips?
For AACS protected discs properly configured libaacs is required. BD+
protected discs must be ripped first.
This protocol supports only plain movie playlists, not interactive
titles like menus. It allows playback of BluRay titles/extras with
ffplay and transcoding with ffmpeg.
Menu support would require lot of other changes, just like DVD menu
support. Even if menu support is added later, plain playlist support is
still needed: when transcoding one doesn't want any menus.
BluRay does not store track language codes in PMT. Language codes are
stored in clip info files. This information can be queried from
libbluray, but track language codes can be matched only against mpeg-ts
pids. I have no idea how to add language codes to metadata: at least
first PMT must have been parsed before setting track language codes. Any
ideas ?
> and what else is needed for disc support?
For menu support we'll need at least:
- pass user input to libbluray
- draw menu overlays
- support for dynamically changing streams when clip changes
(menus concatenate playlists with different streams / codecs /
parameters)
- support for delays (still images)
- support to change selected tracks
- current SCR when menu is invoked
- Petri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bluray_v3.diff
Type: text/x-patch
Size: 11472 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120213/851ff6c7/attachment.bin>
More information about the ffmpeg-devel
mailing list