cut-the-crap-2.3.1: Cuts out uninteresting parts of videos by detecting silences.
Safe HaskellNone
LanguageHaskell2010

Cut.CutVideo

Description

Extract sounded parts, and combine again

Synopsis

Documentation

data Interval e Source #

I think we can only detect silence with ffmpeg, so we flip the silent to sounded intervals, and : if x indicates silence: silence: xxx_xxxxxxx__xxxxxxx sounded: _xxx_xx__xxxx_xx

Instances

Instances details
Show (Interval e) Source # 
Instance details

Defined in Cut.Analyze

Methods

showsPrec :: Int -> Interval e -> ShowS #

show :: Interval e -> String #

showList :: [Interval e] -> ShowS #

Generic (Interval e) Source # 
Instance details

Defined in Cut.Analyze

Associated Types

type Rep (Interval e) :: Type -> Type #

Methods

from :: Interval e -> Rep (Interval e) x #

to :: Rep (Interval e) x -> Interval e #

type Rep (Interval e) Source # 
Instance details

Defined in Cut.Analyze

type Rep (Interval e) = D1 ('MetaData "Interval" "Cut.Analyze" "cut-the-crap-2.3.1-inplace" 'False) (C1 ('MetaCons "Interval" 'PrefixI 'True) ((S1 ('MetaSel ('Just "interval_start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "interval_end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "interval_duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Just "interval_input_start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "interval_input_end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))