• Stars
    star
    172
  • Rank 219,866 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A web app to convert an audio/video file to another format. Client side conversion means that your file does not get uploaded to a server. You can also download YouTube videos at the /yt endpoint.
Node.js Express React FFmpeg Docker

AV converter

Convert an audio or video file to any of the following formats:

  • AAC
  • AC3 (Dolby Digital)
  • ALAC
  • DTS
  • FLAC
  • MP3
  • Opus
  • Vorbis
  • WAV

You can also convert a video to the MP4 or MKV format. You can simply change the container without transcoding, or change the video codec to H.264 (AVC) using the x264 encoder and the audio codec to AAC using the high quality Fraunhofer FDK AAC encoder.

YouTube Downloader

Visit the /yt endpoint to use the YouTube downloader, which is essentially a frontend for yt-dlp. There are four options:

  • Video (MP4) - downloads the best quality MP4 video stream and merges it with the best quality AAC audio stream. If no MP4 stream is available, this option will behave the same as Video (best quality).
  • Video (best quality) - downloads the best format (determined by yt-dlp) that contains video. If this format doesn't contain an audio stream, it is merged with the best quality audio stream. This option usually results in a video file in the WebM format with Opus audio.
  • Audio (best quality) - downloads the best quality audio stream. Usually an Opus file with bitrate of ~160 kbps.
  • Audio (MP3) - downloads the best quality audio stream and converts it to the MP3 format.

If you are not sure which option to opt for, I recommend Video (MP4) and Audio (MP3) depending on whether you want the video or an audio-only file. This is because MP3 and MP4 files are more widely supported compared to Opus and WebM files.

Usage

Simply visit https://av-converter.com. Alternatively, you can run this web application in a Docker container.

Docker Instructions

  1. Clone this repository.
  2. cd av-converter
  3. docker-compose up --build
  4. Visit http://localhost:3000