Code Monkey home page Code Monkey logo

videoclipper's Introduction

Video Clipper

Landing Screen File Selected Screen New Clip Produced Screen

Instructions:

Before starting the application you need to make sure that ffmpeg is installed on your machine. You can try running ffmpeg in a terminal. If it is not installed, you can run winget install ffmpeg from the same terminal.

  1. Select a video you would like to clip.
  2. Modify the options you would like to apply to the new video:
    • Start and end times are not required and they are going to be defaulted. The default for start is 00:00:00 and the default for end is the duration of the original video.
    • By selecting encoding option, the process time will increasea and there is likely to be quality loss. If you diselect encoding, there might be visual artifacts at the beginning and end of the video.
  3. You can either click on the Clip button and the process will strt. Otherwise, you can always just copy the command that is shown under the options and paste it in a terminal. The file paths are absolute and you can run the command from any location.

videoclipper's People

Contributors

nataliausoltseva avatar andrewtg5 avatar

Watchers

 avatar

videoclipper's Issues

Add validation for the timespan

  1. Should indicate to a user that format was not provided correctly
  2. If no start time provided - assume that it should be from beginning
  3. If no end time provided - assume that is should go to the end of the video

Add estimate file size in the UI.

You need to add an estimate file size of the clipped video before it is clipped.

This can be done by multiplying the number of seconds by video/audio bitrate.

Put it at the bottom of all the video/audio options.

Move away from handling options through FFMPEG package

AS A: User
WANT TO: Be able to see a command before needing to install ffmpeg on my machine
SO THAT: I can run it on another machine that is designed for developing only

Currently, we are using FFMPEG package to handle all the commands for us. Instead, we should manually set them up based on what user provides (we are already doing most of the job for that).

Acceptance criteria:

  • A user can see the command without installing ffmpeg
  • A user still has to install the ffmpeg command in order to cut a video. Hence the button still should have a tooltip and content dialog if they try to upload a video and click on Clip button.

Allow user to select encoding options

  1. VideoCodec (H.264/AVC, H.265/HEVC, AV1, VP9, H.66/VVC)
  2. ConstantRateFactor (0-63)
  3. AudioCodec (MP3, AAC, AC3, DTS, FLAC)
  4. VariableBitrate (0-5)

Default to the original values.

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.