You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: (optionally) return all audio streams in tf.contrib.ffmpeg.decode_audio #16073
I'm trying to read musdb18 with tf.data and it comes in the form of mp4 files with multiple audio streams so ffmpeg -map is needed.
tf.contrib.ffmpeg.decode_audio cannot be configured to choose the audio stream. I wonder if we could have a tf.contrib.ffmpeg.decode_audios that returns every audio stream in the file, or if we could have a new argument in tf.contrib.ffmpeg.decode_audio for choosing streams.
Being able to choose the audio stream is also important for getting the right language in a movie file's audio, and similarly tf.contrib.ffmpeg.decode_video could need the same extension (though multiple video streams is not as common AFAIK).
Activity
carlthome commentedon Jan 12, 2018
Maybe @faroit has thoughts on this?
shivaniag commentedon Jan 13, 2018
@vrv do you have any comments on this too or redirect to who would be the best person?
vrv commentedon Jan 13, 2018
@fredbertsch I think knows most about ffmpeg ops
yongtang commentedon Jan 13, 2018
Added a PR #16101 so that it is possible to provide an optional
stream="0"for ffmpeg to select. Please take a look.faroit commentedon Jan 14, 2018
@carlthome this is great!
tensorflowbutler commentedon Jan 23, 2018
A member of the TensorFlow organization has replied after the stat:awaiting tensorflower label was applied.