Parse and extract binary data from bluray files
import os
import pprint
from pyparsebluray import mpls
with open('/BD-ROM/BDMV/PLAYLIST/00001.mpls', 'rb') as mpls_file:
header = mpls.load_movie_playlist(mpls_file)
pprint.pprint(vars(header))
mpls_file.seek(header.playlist_start_address, os.SEEK_SET)
pls = mpls.load_playlist(mpls_file)
pprint.pprint(vars(pls))
- Add clpi, index table and movie object
- Better printing