Skip to content

Commit

Permalink
Sample rate changed to 48000
Browse files Browse the repository at this point in the history
  • Loading branch information
askrejans authored Feb 25, 2018
1 parent b6db325 commit b7651b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions add_missing_audio_tracks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ if [[ -z "${audio_track// }" ]]; then

printf "Found file without an audio: ${file}}\n"
base_filename=$(basename $file)
ffmpeg -y -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -i $file \
ffmpeg -y -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=48000 -i $file \
-shortest -c:v copy -c:a aac "${converted_video_path}with_empty_audio_${base_filename}" -hide_banner

fi
done

0 comments on commit b7651b9

Please sign in to comment.