[mythtv] Retrieving the actual length of a recorded show

Wayne Hogue mythtv at chiphead.net
Sun Apr 25 10:06:29 EDT 2004

Wayne Hogue wrote:

> here is how I get the length:
> "select MAX(mark) from recordedmarkup where chanid='$channel' and 
> starttime
> ='$syear$smonth$sday$shour$sminute$ssecond' and type='6'";
> this will give you the key frame count.
> minutes = ((keyframecount*keyframedistance)/framerate)*60)
make that

minutes = ((keyframecount*keyframedistance)/framerate)/60)


More information about the mythtv-dev mailing list