expressions-extractor

    1.0.2 • Public • Published

    expressions-extractor

    Easy way to extract expressions with node.js

    I created this module to extract expressions from videos using subtitles. Usually, you can use this to learn languages.

    Requisites

    -Node.js
    -FFMPEG
    

    How to install?

    apt-get install ffmpeg
    npm install expressions-extractor
    

    Folder organization

    SeriesPath
        ├── Series 1
        │   ├── Season 1
        │   │   ├── Episode 1 S01E01.mp4
        │   │   └── Episode 2 S01E02.mp4
        │   ├── Season 2
        │   │   ├── Episode 1 S02E01.mp4
        │   │   └── Episode 2 S02E02.mp4
        │   └── Subtitles
        │       ├── Episode 1 S01E01.srt
        │       ├── Episode 1 S02E01.srt
        │       ├── Episode 2 S01E02.srt
        │       └── Episode 2 S02E02.srt
        └── Series 2
            ├── Season 1
            │   ├── Episode 1 S01E01.mp4
            │   └── Episode 2 S01E02.mp4
            ├── Season 2
            │   ├── Episode 1 S02E01.mp4
            │   └── Episode 2 S02E02.mp4
            └── Subtitles
                ├── Episode 1 S01E01.srt
                ├── Episode 1 S02E01.srt
                ├── Episode 2 S01E02.srt
                └── Episode 2 S02E02.srt
    

    Usage example

    const expressionsExtractor = require('expressions-extractor')
    
    expressionsExtractor.setOutputPath = '/home/user/videos/expressions'
    expressionsExtractor.setVideosPath = '/home/user/videos'
    expressionsExtractor.setSentence = "what's up"
    expressionsExtractor.addSeries = 'friends'
    
    expressionsExtractor.run()

    Install

    npm i expressions-extractor

    DownloadsWeekly Downloads

    3

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    15.6 kB

    Total Files

    9

    Last publish

    Collaborators

    • gabrieltorreiro