User:Angeliki/Prototyping: Difference between revisions
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
{| | {| | ||
|- | |- | ||
| {{#Widget:Video|webm=https://pzwiki.wdka.nl/mw-mediadesign/images/4/4b/Works.webm}} || | | {{#Widget:Video|webm=https://pzwiki.wdka.nl/mw-mediadesign/images/4/4b/Works.webm}} || | ||
<source lang="bash">espeak hello -w hello.wav | |||
youtube-dl https://www.youtube.com/watch?v=M4LDwfKxr-M | |||
ffmpeg -r 10 -i \[1973\]\ \'Not\ I\'\ \(Samuel\ Beckett\)-M4LDwfKxr-M.webm MOUTH%09d.jpg | |||
rm MOUTH0000*.jpg | |||
sox hello.wav -1 -u -c 1 -r 4000 -t raw rawfile | |||
rm frame*.jpg ///after the viseo + rm the wav file | |||
python lipsync.py | |||
///ls -hl | |||
ffmpeg -r 10 -i frame%09d.jpg -i hello.wav -y hello.webm | |||
espeak -f text.txt -w text.wav | |||
//same from sox ....until ...webm for the other video | |||
sudo apt install brew | |||
brew install mlt | |||
ffmpeg -f concat -i <textfile.txt> -c copy -fflags +genpts merged.mp4 | |||
</source>|| Example | |||
|} | |} |
Revision as of 01:10, 5 December 2017
espeak hello -w hello.wav
youtube-dl https://www.youtube.com/watch?v=M4LDwfKxr-M
ffmpeg -r 10 -i \[1973\]\ \'Not\ I\'\ \(Samuel\ Beckett\)-M4LDwfKxr-M.webm MOUTH%09d.jpg
rm MOUTH0000*.jpg
sox hello.wav -1 -u -c 1 -r 4000 -t raw rawfile
rm frame*.jpg ///after the viseo + rm the wav file
python lipsync.py
///ls -hl
ffmpeg -r 10 -i frame%09d.jpg -i hello.wav -y hello.webm
espeak -f text.txt -w text.wav
//same from sox ....until ...webm for the other video
sudo apt install brew
brew install mlt
ffmpeg -f concat -i <textfile.txt> -c copy -fflags +genpts merged.mp4
|