Recently I needed to create transcriptions for a number of videos. I decided to use Amazon Transcribe to make it faster for me than typing. I used ffmpeg and S3 to lighten the load. — 1. separate audio from the video file ffmpeg -i input.mp4 -vn -acodec pcm_s16le -ar 44100 -ac 2 output.wav — […]
–Combine video and audio ffmpeg -i ‘video.mp4’ -i ‘audio.m4a’ -c copy -map 0:0 -map 1:0 output.mp4 –Extract audio from video ffmpeg -i input.mp4 -vn -acodec pcm_s16le -ar 44100 -ac 2 output.wav
#!/bin/bash dnf upgrade -y dnf install -y httpd wget php-fpm php-mysqli php-json php php-devel dnf install mariadb105-server systemctl start httpd systemctl enable httpd systemctl is-enabled httpd usermod -a -G apache ec2-user chown -R ec2-user:apache /var/www chmod 2775 /var/www && find /var/www -type d -exec sudo chmod 2775 {} \; find /var/www -type f -exec sudo […]