dvdemux: add reference timestamp
This adds a GstReferenceTimestampMeta
to each frame.
This is useful for splitting dumped DV tapes by jumps in time.
I tested this with:
gst-launch-1.0 filesrc location='./example.dv' ! dvdemux name=demux ! queue ! audioconvert ! autoaudiosink demux. ! queue ! avdec_dvvideo ! timeoverlay time-mode=reference-timestamp show-times-as-dates=true ! videoconvert ! autovideosink
In testing I noticed that videooverlay
interprets all reference timestamps as ntp using 1900 as the epoch, I assume that it the preferred epoch.
Closes gst-plugins-good#625