Giter Site home page Giter Site logo

himanshukabra22 / videop Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 35.79 MB

This repository is created to maintain video processing application (videop_app).

Home Page: https://hub.docker.com/repository/docker/himanshukabra/videop_app

JavaScript 100.00%

videop's Introduction

This repository is pushed on docker hub.

For detailed usage instructions, environment variable configurations, and additional information, please refer to the documentation or repository associated with the DockerHub.

Certainly! Here's an example of an overview file for the Docker image himanshukabra/videop_app:v1 that reduces and clears noise from videos:

DockerHub Overview: himanshukabra/videop_app:v1

The himanshukabra/videop_app:v1 Docker image is a backend application specifically designed to reduce and clear noise from videos. It provides an easy-to-use RESTful API, allowing users to initiate video processing, check the processing status, and download the processed video files. This overview provides a guide on how to effectively utilize this image.

Key Features

Noise Reduction and Clarity Enhancement

The himanshukabra/videop_app:v1 image includes linux ffmpeg for reducing noise and enhancing quality of videos. By utilizing this Docker image, users can significantly improve the visual quality of videos by removing unwanted noise artifacts.

RESTful API Endpoints

The image provides the following RESTful API endpoints:

  • POST /jobs: Users can initiate video processing by making a POST request to this endpoint with the JSON payload { "videolink": "google drive link" }. Replace "google drive link" with the actual link to the video file that needs to be processed. Upon successful submission, the API will generate a unique JOB_CODE that can be used to track the processing status and download the processed video.

  • GET /jobs/{JOB_CODE}: Users can check the processing status and download the processed video by making a GET request to this endpoint, where {JOB_CODE} represents the code received after initiating the video processing. The response will include the status of the job and provide a link to download the processed video file.

YAML for reference

version: '3'
services:
app:
  image: himanshukabra/videop_app:v1
  ports:
    - "host_port:port_number"
  environment:
    - PORT=port_number
    - MONGO_URI=mongo_atlas_uri

Configuration

To compose the container using himanshukabra/videop_app:v1 image, use the provided container YAML as a reference. Ensure the following configurations are correctly set:

  • host_port: Replace this with the desired port number to access the API.

  • port_number: Replace this with the same port number defined in the PORT environment variable.

  • mongo_atlas_uri: Define the MongoDB Atlas URI to connect to the database. This is a mandatory configuration to ensure the application functions as required.

Container compose command

docker-compose -p my-project-name up

Usage Guide

Follow these steps to utilize the himanshukabra/videop_app:v1 image effectively:

  1. Compose the Docker container using the provided container build YAML.

  2. Make a POST request to the following endpoint to initiate video processing:

    POST http://localhost:{portnumber}/jobs
    Content-Type: application/json
    
    {
      "videolink": "google drive link"
    }

    Replace {portnumber} with the appropriate port number configured in the container build YAML. Provide the actual "google drive link" to the video file that needs to be processed.

  3. Retrieve the job status and download the processed video by making a GET request to the following endpoint:

    GET http://localhost:{portnumber}/jobs/{JOB_CODE}

    Replace {portnumber} with the correct port number configured in the container build YAML, and {JOB_CODE} with the code received after initiating the video processing.

  4. The response will include the processing status and provide a link to download the processed video file.

Conclusion

The himanshukabra/videop_app:v1 Docker image is a powerful backend application that significantly improves video quality by reducing noise. With its intuitive RESTful API endpoints, users can easily initiate video processing, track job status, and download the processed video files.

videop's People

Contributors

himanshukabra22 avatar

Stargazers

 avatar

Watchers

 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.