Project

v2av

0.0
No commit activity in last 3 years
No release in over 3 years
Adds subtitles + TTS voiceover to video.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.12.0, ~> 0.12
>= 0.2.0, ~> 0.2
~> 0.7, >= 0.7.2
>= 0.4.0, ~> 0.4
>= 1.1.0, ~> 1.1
 Project Readme

Introducing the V2av gem

Usage

require 'v2av'

s = %q(10 Using the mouse, left click on "Family & other people"
16 Left click on "Add someone else to this PC"
27 Click on "I don't have this person's sign-in information"
36 select "Add a user without a Microsoft account"
44 Type the name, skip the password, and click next.)

pollyspeech = {
  :access_key=>"AMAZON_ACCESSKEY", 
  :secret_key=>"AMAZON_SECRET_KEY", 
  :voice_id=>"Emma", 
  :cache_filepath=>"/home/james/tmp/pollyspeech/cache"
}
v2 = V2av.new('/tmp/docs/adduser14.mp4', s, working_dir: '/tmp/v2av', 
              pollyspeech: pollyspeech, debug: true)
v2.build('video2.mp4')

Resources

v2av gem video audio polyspeech subtitles srt ffmpeg mp4 avi resize