Quantcast
Channel: Extracting Audio channel from a video file to feed in decode_wav function of TensorFlow - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by DevLoverUmar for Extracting Audio channel from a video file to feed...

For windows 10, I solved my problem this way:I downloaded and installed ffmpeg for windows from hereExtracted wav audio files from videos as: import os,shlex, subprocessfiles = os.listdir('.')#convert...

View Article



Answer by Xarvalus for Extracting Audio channel from a video file to feed in...

You can extract the audio of video by eg.:import subprocesscommand = "ffmpeg -i C:/test.mp4 -ab 160k -ac 2 -ar 44100 -vn audio.wav"subprocess.call(command, shell=True)And pass the *.wav file as tensor...

View Article

Extracting Audio channel from a video file to feed in decode_wav function of...

I want to feed audio channel of a video file to the following TenorFlow function:tf.audio.decode_wav(contents,desired_channels=-1,desired_samples=-1,name=None)Where Args:contents: A Tensor of type...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>