Code Monkey home page Code Monkey logo

csharp-ffmpeg_tiktok-reddit-text-to-speech's Introduction

TikTok-Reddit-Text-To-Speech

HitCount Downloads Stars Issues Forks

Application and library for generating TikTok videos from Reddit posts and comments. The console application requires FFMPEG to run.

Features

  • Loads reddit information directly from URL.
  • Synthesises speech (using Azure or built-in Windows voices)
  • Builds images to represent parts of Reddit posts/comments.
  • Compiles a video using FFMPEG (and possibly other methods further down the line).

Commands

Command Type Description Required
-url String Reddit URL Yes
-background String Background Video Path Yes
-output String Output Path No
-gender Male/Female Voice Gender No
-start Time Span Start Time (00:00:00) No
-comments Integer No. Comments No
-server String Server Location No
-key String Azure Subscription Key No

Examples

Basic usage

This example generates a post video with a single voice, using the built-in Windows TTS service.

ttsgen -url https://www.reddit.com/r/tifu/comments/v1qkbx/tifu_by_pointing_out_the_groundhog_that_lives_in/ -background input.mp4

Example.1.mp4

Complex usage

This example generates a comments video, using the Azure TTS service, with alternating voices.

Azure key information is saved for future usage, so it does not have to be specified each generation.

ttsgen -url https://www.reddit.com/r/AskReddit/comments/v1luy1/college_graduates_of_reddit_what_happened_to_that/ -background input.mp4 -start 00:00:30 -comments 4 -server westeurope -key YOUR_AZURE_SUBSCRIPTION_KEY -alternate true

Example.2.mp4

Extending

The library itself is completely modular and by implementing the various interfaces at your disposal, the videos generated can be completely changed. Refer to the docs for more detail on how this is currently achieved.

csharp-ffmpeg_tiktok-reddit-text-to-speech's People

Contributors

dmb-dev87 avatar

Stargazers

 avatar

Watchers

 avatar

csharp-ffmpeg_tiktok-reddit-text-to-speech's Issues

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.