title: Find if video file has audio present in it
body: <p>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 a resource or probably a solution?</p>
  
  <p>Edit: Surprisingly, the same command on my server running the latest build of ffprobe doesn't run. It throws an error saying </p>
  
  <p>Unrecognized option 'select_stream'</p>
  
  <p>Failed to set value 'a' for option 'select_stream'</p>
  
  <p>Any ideas how to rectify this out?</p>