npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

davinci-converter

v1.2.0

Published

A simple node application to converti video and audio files to prores/wav format to import them to Davinci Resolve

Downloads

41

Readme

Davinci converter

This simple node app converts all files inside a folder and subfolder in a format to import into Davinci Resolve. In case of video files it encodes to prores codec, and for audio files the destination codec is wav.

(For docker instructions go to the end of this guide)

Quick reference

Dependencies

  • FFmpeg
  • FFprobe

How to install

npm install -g davinci-converter

How to use

davinci-converter [options] -i <source_folder> -o <destination_folder>

Options:
   --no-progress          Hide the progress bar for each conversion
   --debug                Show ffmpeg debug information (disables the progress bar)
   --overwrite            Overwrite destination files
   -q, --quality          Set the output quality. Values: low,mid,high,extreme
   -i, --input            Input folder to search for files
   -o, --output           Output folder to put the encoded files

Docker

When executes as docker container, source files must be mapped to /source and destination folder to /destination

docker run --rm \
  -v <source_folder>:/source:ro \
  -v <destination_folder>:/destination \
  -e OVERWRITE=1 \
  -e QUALITY=mid \
  danitetus/davinci-converter:latest

Environment variables

(Option parameters overwrite environment variables)

DEBUG

This is mandatory. When setted to 1 the ffmpeg output raw data is showed on stdout and the progress bar is hidden.

PROGRESS

This is mandatory. When setted to 0, the progress bar is not showed. By default progress bar is printed.

OVERWRITE

This is mandatory. If set to 1 and file exists on destination overwrites it.

QUALITY

This is mandatory. Defines the output quality (low, mid, high, extreme). Default is low

SOURCE

This is mandatory. Defines source folder. Default is /source

DESTINATION

This is mandatory. Defines destination folder. Default is /destination

License

View LICENSE file for the software contained in this image.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, ffmpeg, node, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.