Is it possible to lookup the audio metadata for a file stored in Google Cloud without having to download it? When building a Google Speech-to-Text API service you pass it a gs://bucket/file.flac
, and I know the sox
and ffmpeg
bash and Python commands for locally stored files metadata lookup, but I can't seem figure out a way to lookup audio file metadata on Google Cloud Storage file.
Additionally if I have a gs://bucket/audio.wav
, can I re-encode that using sox/py-sox and write the new audio.flac directly to gs://bucket/audio.flac
? Or do I have to download the audio.wav to re-encode it?
Any thoughts or directions appreciated.