Coder Social home page Coder Social logo

photoszzt / pipeline Goto Github PK

View Code? Open in Web Editor NEW

This project forked from excamera/pipeline

0.0 2.0 0.0 35.97 MB

Top-Level Project implementing pipelines

Makefile 0.03% Shell 0.06% M4 0.22% Python 95.35% C++ 2.80% C 0.68% CSS 0.67% TeX 0.02% JavaScript 0.17%

pipeline's Introduction

Build Status

Video Processing Pipeline (WIP)

This is a Top-Level Project implementing pipelines. This project internally uses https://github.com/excamera/mu for interacting with mu.

How to build the code

git clone --recursive https://github.com/excamera/pipeline.git
cd pipeline
./autogen.sh
./configure
make -j$(nproc)

cd sprocket/platform/aws_lambda
./autogen.sh
./configure
make -j$(nproc)

steps to run the grayscale example:

# build Sprocket
./autogen.sh
./configure
make

# then build the lambda launcher
cd sprocket/platform/aws_lambda
./autogen.sh
./configure
make
cd -

# cd to sprocket/platform/aws_lambda

# you can run bin/create_function.sh to create lambda functions
# you’ll need to provide the application’s directory as parameter
# e.g., ffmpeg is there in the sample_app directory


# first we need to set the configs
# modify pipeline_conf.json
# most likely you'll only need to change:
# 	daemon_addr to your local ip (you’ll need a public ip)
#	the paths to your aws keys, and server_cert/server_key files
#      your s3 buckets for storage_base and temp_storage_base. you’ll need proper AWS role that has access to your s3
#      default_lambda_function: the name of the lambda function created with create_function.sh

#  then start the daemon
python pipeline_daemon.py &

# and run the demo grayscale pipeline on Sintel trailer (or any youtube video)
python pipeline_runner.py pipespec/parlink_grayscale.pipe "input_0:video_link:https://www.youtube.com/watch?v=ac7KhViaVqc"

# that's it! you are running a serverless video pipeline!
# note we create one worker for every second of video, so try not to input a very long video 
# because that can exceed the concurrency limit of Lambda

pipeline's People

Contributors

lihshyang avatar photoszzt 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.