Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# setup auth for ffmpeg 
APIKEY="your api key here"
AUTH=$(echo "apikey:$APIKEY" | base64)
ffmpeg \
  -ss 00:00:30 -t 00:00:30 \
  -multiple_requests 1 -seekable 1 \
  -headers "Authorization:  Basic $AUTH" \
  -i "https://data-test.tern.org.au:443/ecoacoustics/CapeTribulation/CapeTribulation01/audio_files/2018/01/capetrib-FNQ2-DRO_20180101_034910.flac" \
  -af aresample=resampler=soxr \
  -ar 22000 \
  -o test.wav

5. Using a Python Script

...