mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 10:02:22 +00:00
verify have installed ffmpeg (#1117)
This commit is contained in:
parent
c0de78d3c0
commit
3ae47a4940
@ -63,6 +63,14 @@ log() {
|
||||
|
||||
log "dl_dir: $dl_dir"
|
||||
|
||||
if ! command -v ffmpeg &> /dev/null; then
|
||||
echo "This dataset requires ffmpeg"
|
||||
echo "Please install ffmpeg first"
|
||||
echo ""
|
||||
echo " sudo apt-get install ffmpeg"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $stage -le 0 ] && [ $stop_stage -ge 0 ]; then
|
||||
log "Stage 0: Download data"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user