I think the easiest way would be a script that takes the chapter marks from a mkv and puts them in the database as bookmarks.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)