Find if video file has audio present in it [duplicate]
问题 This question already has answers here : Using ffprobe to check audio-only files (4 answers) Closed last year . I'm trying to figure out if a video has audio present in it so as to extract the mp3 using ffmpeg. When the video contains no audio channels, ffmpeg creates an empty mp3 file which I'm using to figure out if audio was present in the video in the first place. I'm sure there is a better way to identify if audio is present in a video. Will avprobe help with this? Can anyone point me to