Coder Social home page Coder Social logo

asahikawalivecam's Introduction

旭川ライブカメラ記録

  • 旭川市のライブカメラ画像を記録して過去分を見られるようにしたい動画にして見たい
    • 過去分参照機能
    • 動画化機能
  • 任意の画像も自動取得できるようにする

できること(詳細機能)

定期実行(cron)

  • 10minごと(cron)にライブカメラの画像をCurlでDL
    • 日付ファイル名で保存
  • 24hごと ffmpegで日付フォルダ内のImgsで動画作成
    • H.264

都度実行(node.js)

  • どっかのURLにリクエスト(StartTime - EndTime 含でPost?) → Start - End 間の動画作成してレスポンス
    • 作った動画は一定期間保存して見られるようにする
    • 一定期間経過後 OR 30個ぐらい溜まったら捨てる 古い順で
  • 動画一覧ページ

ページ構成

ROOT/ALC/   ---   トップページ 以下のポータル
            ---   日付ごとの動画一覧ページ
            ---   日付ごとの生画像フォルダ一覧
            ---   生画像一覧(日付ごと)(上記ページから遷移)
            ---   任意の範囲を動画化するページ

フォルダ構成

どっかのフォルダ/ALCSrc/ライブカメラ名
                 +-- 2019-11-12/
                 |           +-- Imgs/
                 |           |     +-- YYYY-MM-DD-hh-mm.jpg
                 |           |     +-- YYYY-MM-DD-hh-mm.jpg
                 |           |     +-- YYYY-MM-DD-hh-mm.jpg
                 |           +-- Videos/
                 |                 +-- YYYY-MM-DD.mp4
                 +-- 2019-11-13/
                 |           +-- Imgs/ ...
                 |           +-- Videos/ ...
                 +-- YYYY-MM-DD/ ...
                 +-- CreatedVideos/
                           +-- Start-End.mp4

asahikawalivecam's People

Contributors

kabixi000 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.