2019-06-14 10:54:35 +02:00
|
|
|
HOW TO DOWNLOAD VIDEO FILE FROM FILMOTEKA:
|
|
|
|
URL_FROM_FINA: //*[@id="player_10988_media"]/video/@src
|
|
|
|
#following command downloads only voice channel
|
|
|
|
ffmpeg -i URL_FROM_FINA -vn -acodec pcm_s16le -ar 44100 -ac 1 output.wav
|
|
|
|
|
|
|
|
CREATE SAMPLES FROM BIG WAV (30 seconds samples):
|
|
|
|
ffmpeg -i output.wav -f segment -segment_time 30 -c copy out%03d.wav
|
|
|
|
|
2019-06-14 10:39:37 +02:00
|
|
|
USAGE:
|
|
|
|
python3 reco.py INPUT_WAV_FILES > OUTPUT_FILE
|
2019-06-14 11:19:24 +02:00
|
|
|
|
|
|
|
HAVE FUN!
|