2011-05-11, 17:44
Is it possible to add support for the VDR 'marks' format when playing recordings back in XBMC?
The file format is pretty simple:
Here's an example automatically generated by the markad plugin to skip commercials:
XBMC seems to already support EDL (Edit Decision List) files as an external chapter list. Presumably it could be extended to read the VDR marks format?
wiki.xbmc.org entry: EDL_(commercial_skipping)
The file format is pretty simple:
vdr(5) Wrote:The file marks (if present in a recording directory) contains the editing marks defined for this recording. Each line contains the definition of one mark in the following format:
hh:mms.ff comment
where hh:mms.ff is a frame position within the recording, given as "hours, minutes, seconds and (optional) frame number". comment can be any string and may be used to describe this mark. If present, comment must be separated from the frame position by at least one blank.
Here's an example automatically generated by the markad plugin to skip commercials:
Code:
0:03:08.23 detected logo start (4722)*
0:10:18.25 detected logo stop (15474)
0:15:18.01 detected logo start (22950)*
0:28:21.22 detected logo stop (42546)
0:33:20.20 detected logo start (50019)*
0:39:06.25 detected logo stop (58674)
0:44:36.01 detected logo start (66900)*
1:00:01.15 detected logo stop (90039)
XBMC seems to already support EDL (Edit Decision List) files as an external chapter list. Presumably it could be extended to read the VDR marks format?
wiki.xbmc.org entry: EDL_(commercial_skipping)